]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.h
ReconnectOnTariffChange added to the settings
[stg.git] / projects / stargazer / settings_impl.h
index 97990d3243170d38cc974e7ade52ee3632e6a3bd..43dcab0ccccdb535fd2bd20ae2480d02122aeb1c 100644 (file)
@@ -91,6 +91,7 @@ public:
     bool                GetMonitoring() const { return monitoring; }
     unsigned            GetMessageTimeout() const { return messageTimeout * 3600 * 24; }
     unsigned            GetFeeChargeType() const { return feeChargeType; }
+    bool                GetReconnectOnTariffChange() const { return reconnectOnTariffChange; }
 
     const std::string & GetModulesPath() const { return modulesPath; }
     const MODULE_SETTINGS & GetStoreModuleSettings() const
@@ -137,6 +138,7 @@ private:
     bool        showFeeInCash;
     unsigned    messageTimeout;
     unsigned    feeChargeType;
+    bool        reconnectOnTariffChange;
 
     std::vector<MODULE_SETTINGS> modulesSettings;
     MODULE_SETTINGS storeModuleSettings;