X-Git-Url: https://git.stg.codes/ssmd.git/blobdiff_plain/25dd1ac0696ca47e586e58d4309fc4c36e11d1dc..79225247cb3bc469eb797037bb3c0dae6b55b23a:/include/settings.h diff --git a/include/settings.h b/include/settings.h index c88f94a..041453a 100644 --- a/include/settings.h +++ b/include/settings.h @@ -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; };