]> git.stg.codes - ssmd.git/blobdiff - include/settings.h
Fix build on osx.
[ssmd.git] / include / settings.h
index c88f94a6c7694f5a29ee19265390926641776d12..6a7dfec8ee85d28df05d47731bd8746f69a51399 100644 (file)
@@ -18,7 +18,7 @@ class Settings {
         Settings(const Settings & rvalue);
         ~Settings();
 
-        const Settings & operator=(const Settings & rvalue);
+        Settings & operator=(const Settings & rvalue);
         
         // Accessors
         bool isHelp() const throw() { return _isHelp; }
@@ -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;
 };