X-Git-Url: https://git.stg.codes/ssmd.git/blobdiff_plain/ae26516a8828d54ab7c0e0bca92031a54a15ed62..2a674c7df33c986aba055f09a0377e073edccedf:/include/settings.h diff --git a/include/settings.h b/include/settings.h index e061b96..041453a 100644 --- a/include/settings.h +++ b/include/settings.h @@ -1,5 +1,5 @@ -#ifndef __GTS_SETTINGS_H__ -#define __GTS_SETTINGS_H__ +#ifndef __SSMD_SETTINGS_H__ +#define __SSMD_SETTINGS_H__ #include @@ -8,7 +8,7 @@ namespace po = boost::program_options; -namespace GTS { +namespace SSMD { class SettingsParser; class Settings { @@ -36,8 +36,13 @@ class Settings { unsigned upProfileId() const throw() { return _upProfileId; } unsigned downProfileId() const throw() { return _downProfileId; } + size_t maxACLPerPDU() const throw() { return _maxACLPerPDU; } + const std::string & dataURL() const throw() { return _dataURL; } + const std::string & scriptBase() const throw() { return _scriptBase; } + bool dumpScripts() const throw() { return _dumpScripts; } + // Setters void setIsHelp(bool value) throw() { _isHelp = value; } void setIsVersion(bool value) throw() { _isVersion = value; } @@ -54,6 +59,8 @@ class Settings { void setUpProfileId(unsigned value) throw() { _upProfileId = value; } void setDownProfileId(unsigned value) throw() { _downProfileId = value; } + void setMaxACLPerPDU(size_t value) throw() { _maxACLPerPDU = value; } + void setDataURL(const std::string & value) throw() { _dataURL = value; } private: @@ -72,8 +79,13 @@ class Settings { unsigned _upProfileId; unsigned _downProfileId; + size_t _maxACLPerPDU; + std::string _dataURL; + std::string _scriptBase; + bool _dumpScripts; + friend class SettingsParser; };