]> git.stg.codes - ssmd.git/blobdiff - include/settings.inl.h
Fix build on osx.
[ssmd.git] / include / settings.inl.h
index e67aab790e79269742fe622379c5a08194701080..c93e40b78dda4db08961814c7eb7ca7dd0f04179 100644 (file)
@@ -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 <iostream>
 #include <sstream>
 
-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;
 }