X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/3a45cd9275dc9279e133deb0932402ae5f4d0b5f..f3555eaeee988c834b068f96bcc1ef7130b886de:/projects/stargazer/settings_impl.h diff --git a/projects/stargazer/settings_impl.h b/projects/stargazer/settings_impl.h index 4ab5f31e..7dc742f5 100644 --- a/projects/stargazer/settings_impl.h +++ b/projects/stargazer/settings_impl.h @@ -50,7 +50,7 @@ enum DETAIL_STAT_PERIOD { dsPeriod_1, dsPeriod_1_2, dsPeriod_1_4, -dsPeriod_1_6, +dsPeriod_1_6 }; //----------------------------------------------------------------------------- class STG_LOGGER; @@ -85,7 +85,7 @@ public: 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; } @@ -97,7 +97,8 @@ public: const MODULE_SETTINGS & GetStoreModuleSettings() const { return storeModuleSettings; } const std::vector & GetModulesSettings() const - { return modulesSettings; } + { return modulesSettings; } + const std::vector & GetScriptParams() const { return scriptParams; } private: @@ -116,7 +117,8 @@ private: std::string rules; std::string logFile; std::string pidFile; - std::string monitorDir; + std::string monitorDir; + std::vector scriptParams; bool monitoring; unsigned detailStatWritePeriod; unsigned statWritePeriod; @@ -135,8 +137,7 @@ private: bool reconnectOnTariffChange; std::vector modulesSettings; - MODULE_SETTINGS storeModuleSettings; - + MODULE_SETTINGS storeModuleSettings; STG_LOGGER & logger; }; //-----------------------------------------------------------------------------