#include <ServerParams.h>

Public Member Functions | |
| const char * | getServerFile () |
| bool | getHideWindow () |
| bool | getServerCustom () |
| void | setServerFile (const std::string &file) |
Static Public Member Functions | |
| static ServerParams * | instance () |
Protected Attributes | |
| OptionEntryString | server_ |
| OptionEntryBool | hideWindow_ |
| OptionEntryBool | startCustom_ |
Static Protected Attributes | |
| static ServerParams * | instance_ = 0 |
Private Member Functions | |
| ServerParams () | |
| virtual | ~ServerParams () |
Definition at line 26 of file ServerParams.h.
| ServerParams::ServerParams | ( | ) | [private] |
Definition at line 35 of file ServerParams.cpp.
| ServerParams::~ServerParams | ( | ) | [private, virtual] |
Definition at line 46 of file ServerParams.cpp.
| ServerParams * ServerParams::instance | ( | ) | [static] |
Definition at line 25 of file ServerParams.cpp.
References instance_.
Referenced by main(), ServerWebSettingsHandler::SettingsModHandler::processRequest(), ServerWebSettingsHandler::SettingsMainHandler::processRequest(), ServerWebSettingsHandler::SettingsAllHandler::processRequest(), ServerWebSettingsHandler::SettingsLandscapeHandler::processRequest(), and ServerWebSettingsHandler::SettingsPlayersHandler::processRequest().
| const char* ServerParams::getServerFile | ( | ) | [inline] |
Definition at line 31 of file ServerParams.h.
References OptionEntryString::getValue(), and server_.
| bool ServerParams::getHideWindow | ( | ) | [inline] |
Definition at line 32 of file ServerParams.h.
References OptionEntryBool::getValue(), and hideWindow_.
| bool ServerParams::getServerCustom | ( | ) | [inline] |
Definition at line 33 of file ServerParams.h.
References OptionEntryBool::getValue(), and startCustom_.
| void ServerParams::setServerFile | ( | const std::string & | file | ) | [inline] |
Definition at line 35 of file ServerParams.h.
References server_, and OptionEntryString::setValue().
Referenced by main().
ServerParams * ServerParams::instance_ = 0 [static, protected] |
OptionEntryString ServerParams::server_ [protected] |
OptionEntryBool ServerParams::hideWindow_ [protected] |
OptionEntryBool ServerParams::startCustom_ [protected] |
1.5.3