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; }
std::string confFile;
std::string strError;
-
- int ParseInt(const std::string & value, int * val);
- int ParseUnsigned(const std::string & value, unsigned * val);
- int ParseIntInRange(const std::string & value, int min, int max, int * val);
- int ParseUnsignedInRange(const std::string & value, unsigned min, unsigned max, unsigned * val);
- int ParseYesNo(const std::string & value, bool * val);
};
#endif