dsPeriod_1,
dsPeriod_1_2,
dsPeriod_1_4,
-dsPeriod_1_6,
+dsPeriod_1_6
};
//-----------------------------------------------------------------------------
class STG_LOGGER;
//-----------------------------------------------------------------------------
class SETTINGS_IMPL : public SETTINGS {
public:
- SETTINGS_IMPL();
SETTINGS_IMPL(const std::string &);
SETTINGS_IMPL(const SETTINGS_IMPL &);
virtual ~SETTINGS_IMPL() {}
bool GetFreeMbAllowInet() const { return freeMbAllowInet; }
bool GetDayFeeIsLastDay() const { return dayFeeIsLastDay; }
bool GetWriteFreeMbTraffCost() const
- { return writeFreeMbTraffCost; };
+ { return writeFreeMbTraffCost; }
bool GetShowFeeInCash() const { return showFeeInCash; }
const std::string & GetMonitorDir() const { return monitorDir; }
bool GetMonitoring() const { return monitoring; }
{ return storeModuleSettings; }
const std::vector<MODULE_SETTINGS> & GetModulesSettings() const
{ return modulesSettings; }
+ const std::vector<std::string> & GetScriptParams() const { return scriptParams; }
private:
std::string logFile;
std::string pidFile;
std::string monitorDir;
+ std::vector<std::string> scriptParams;
bool monitoring;
unsigned detailStatWritePeriod;
unsigned statWritePeriod;
std::vector<MODULE_SETTINGS> modulesSettings;
MODULE_SETTINGS storeModuleSettings;
-
STG_LOGGER & logger;
};
//-----------------------------------------------------------------------------