*/
/*
- * Author : Maxim Mamontov <faust@stargazer.dp.ua>
+ * Author : Maksym Mamontov <stg@madf.info>
*/
#ifndef SETTINGS_IMPL_H
SETTINGS_IMPL();
~SETTINGS_IMPL() {}
int Reload() { return 0; }
- void SetConfFile(const std::string cf) { confFile = cf; }
+ void SetConfFile(const std::string & cf) { confFile = cf; }
int ReadSettings();
const std::string & GetStrError() const { return strError; }
const std::string & GetServerName() const { return serverName; }
uint16_t GetServerPort() const { return port; }
+ const std::string & GetLocalName() const { return localName; }
uint16_t GetLocalPort() const { return localPort; }
const std::string & GetLogin() const { return login; }
std::string password;
std::string serverName;
int port;
+ std::string localName;
int localPort;
uint32_t listenWebIP;
int refreshPeriod;