X-Git-Url: https://git.stg.codes/ssmd.git/blobdiff_plain/ae26516a8828d54ab7c0e0bca92031a54a15ed62..HEAD:/include/settings.inl.h diff --git a/include/settings.inl.h b/include/settings.inl.h index e67aab7..c93e40b 100644 --- a/include/settings.inl.h +++ b/include/settings.inl.h @@ -1,10 +1,10 @@ -#ifndef __GTS_SETTINGS_INL_H__ -#define __GTS_SETTINGS_INL_H__ +#ifndef __SSMD_SETTINGS_INL_H__ +#define __SSMD_SETTINGS_INL_H__ #include #include -namespace GTS { +namespace SSMD { inline Settings::Settings() @@ -18,7 +18,9 @@ Settings::Settings() _switchSyncInterval(180), _infoSyncInterval(60), _upProfileId(1), - _downProfileId(2) + _downProfileId(2), + _maxACLPerPDU(50), + _dumpScripts(false) { } @@ -35,7 +37,10 @@ Settings::Settings(const Settings & rvalue) _infoSyncInterval(rvalue._infoSyncInterval), _upProfileId(rvalue._upProfileId), _downProfileId(rvalue._downProfileId), - _dataURL(rvalue._dataURL) + _maxACLPerPDU(rvalue._maxACLPerPDU), + _dataURL(rvalue._dataURL), + _scriptBase(rvalue._scriptBase), + _dumpScripts(rvalue._dumpScripts) { } @@ -45,7 +50,7 @@ Settings::~Settings() } inline -const Settings & Settings::operator=(const Settings & rvalue) +Settings & Settings::operator=(const Settings & rvalue) { _isHelp = rvalue._isHelp; _isVersion = rvalue._isVersion; @@ -58,7 +63,10 @@ const Settings & Settings::operator=(const Settings & rvalue) _infoSyncInterval = rvalue._infoSyncInterval; _upProfileId = rvalue._upProfileId; _downProfileId = rvalue._downProfileId; + _maxACLPerPDU = rvalue._maxACLPerPDU; _dataURL = rvalue._dataURL; + _scriptBase = rvalue._scriptBase; + _dumpScripts = rvalue._dumpScripts; return *this; }