X-Git-Url: https://git.stg.codes/ssmd.git/blobdiff_plain/bdbd190aca2ca879b723d0557eca771529363e2f..6c4b6a06234acd26e1d9bbb51668157263165fe1:/include/settings.h?ds=inline diff --git a/include/settings.h b/include/settings.h index e384a42..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 { @@ -40,6 +40,9 @@ class Settings { 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; } @@ -80,6 +83,9 @@ class Settings { std::string _dataURL; + std::string _scriptBase; + bool _dumpScripts; + friend class SettingsParser; };