Project

General

Profile

Bug #3929 ยป WServer.patch

Stefan Ruppert, 04/21/2015 10:24 AM

View differences:

wt-3.3.4/src/Wt/WServer 2015-04-21 09:50:17.009326107 +0200
*
* \sa setLocalizedStrings()
*/
WT_API WLocalizedStrings *localizedStrings() { return localizedStrings_; }
WT_API WLocalizedStrings *localizedStrings();
#ifndef WT_TARGET_JAVA
......
* This is the logger class used in WApplication::log() and
* Wt::log() functions.
*/
WT_API WLogger& logger() { return logger_; }
WT_API WLogger& logger();
/*! \brief Adds an entry to the log.
*
......
WT_API Configuration& configuration();
WT_API WebController *controller() { return webController_; }
WT_API WebController *controller();
#ifndef WT_TARGET_JAVA
WT_API void scheduleStop();
wt-3.3.4/src/Wt/WServer.C 2015-04-21 09:50:10.089326396 +0200
localizedStrings_ = stringResolver;
}
WLocalizedStrings *WServer::localizedStrings()
{
return localizedStrings_;
}
void WServer::setIOService(WIOService& ioService)
{
if (ioService_) {
......
application_ = application;
}
WLogger& WServer::logger()
{
return logger_;
}
WLogEntry WServer::log(const std::string& type) const
{
WLogEntry e = logger_.entry(type);
......
return *configuration_;
}
WebController *WServer::controller()
{
return webController_;
}
bool WServer::readConfigurationProperty(const std::string& name,
std::string& value) const
{
    (1-1/1)