]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.h
Correcting code
[stg.git] / projects / stargazer / settings_impl.h
index 739bbcc946cc273c9d85c9f54fcb0a4f7d77e0a6..42f3541d1b90b7e68cfcf831af415d6732d84ef2 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; }
@@ -98,6 +98,8 @@ public:
         { return storeModuleSettings; }
     const std::vector<MODULE_SETTINGS> & GetModulesSettings() const
         { return modulesSettings; }
+                
+    const std::vector<std::string> & GetScriptParams() const { return scriptParams; }
 
 private:
 
@@ -117,6 +119,9 @@ private:
     std::string logFile;
     std::string pidFile;
     std::string monitorDir;
+        
+    std::vector<std::string> scriptParams;
+    
     bool        monitoring;
     unsigned    detailStatWritePeriod;
     unsigned    statWritePeriod;
@@ -136,7 +141,7 @@ private:
 
     std::vector<MODULE_SETTINGS> modulesSettings;
     MODULE_SETTINGS storeModuleSettings;
-
+    
     STG_LOGGER & logger;
 };
 //-----------------------------------------------------------------------------