X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a65f0d5b294d9a5d90e4767ef50857c4cf3589b2..16060474339321263c1d5fa80368e858757caa5e:/projects/stargazer/settings_impl.cpp?ds=inline diff --git a/projects/stargazer/settings_impl.cpp b/projects/stargazer/settings_impl.cpp index d115919d..a50a0a65 100644 --- a/projects/stargazer/settings_impl.cpp +++ b/projects/stargazer/settings_impl.cpp @@ -99,6 +99,39 @@ SETTINGS_IMPL::SETTINGS_IMPL(const SETTINGS_IMPL & rval) { } //----------------------------------------------------------------------------- +SETTINGS_IMPL & SETTINGS_IMPL::operator=(const SETTINGS_IMPL & set) +{ + modulesPath = set.modulesPath; + dirName = set.dirName; + confDir = set.confDir; + scriptsDir = set.scriptsDir; + rules = set.rules; + logFile = set.logFile; + pidFile = set.pidFile; + monitorDir = set.monitorDir; + scriptParams = set.scriptParams; + monitoring = set.monitoring; + detailStatWritePeriod = set.detailStatWritePeriod; + statWritePeriod = set.statWritePeriod; + stgExecMsgKey = set.stgExecMsgKey; + executersNum = set.executersNum; + fullFee = set.fullFee; + dayFee = set.dayFee; + dayResetTraff = set.dayResetTraff; + spreadFee = set.spreadFee; + freeMbAllowInet = set.freeMbAllowInet; + dayFeeIsLastDay = set.dayFeeIsLastDay; + writeFreeMbTraffCost = set.writeFreeMbTraffCost; + showFeeInCash = set.showFeeInCash; + messageTimeout = set.messageTimeout; + feeChargeType = set.feeChargeType; + reconnectOnTariffChange = set.reconnectOnTariffChange; + + modulesSettings = set.modulesSettings; + storeModuleSettings = set.storeModuleSettings; + return *this; +} +//----------------------------------------------------------------------------- int SETTINGS_IMPL::ParseModuleSettings(const DOTCONFDocumentNode * node, std::vector * params) { const DOTCONFDocumentNode * childNode;