]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.h
code correction: removal spaces
[stg.git] / projects / stargazer / settings_impl.h
index 739bbcc946cc273c9d85c9f54fcb0a4f7d77e0a6..7dc742f52f42e0243bcd11e65bc800663e574b42 100644 (file)
@@ -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<MODULE_SETTINGS> & GetModulesSettings() const
-        { return modulesSettings; }
+        { return modulesSettings; }                
+    const std::vector<std::string> & 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<std::string> scriptParams;
     bool        monitoring;
     unsigned    detailStatWritePeriod;
     unsigned    statWritePeriod;
@@ -135,8 +137,7 @@ private:
     bool        reconnectOnTariffChange;
 
     std::vector<MODULE_SETTINGS> modulesSettings;
-    MODULE_SETTINGS storeModuleSettings;
-
+    MODULE_SETTINGS storeModuleSettings;    
     STG_LOGGER & logger;
 };
 //-----------------------------------------------------------------------------