]> git.stg.codes - stg.git/blobdiff - projects/sgauth/settings_impl.h
Code deduplication
[stg.git] / projects / sgauth / settings_impl.h
index 74b70d39e2f38582b2dce78785857f4b380a9e68..2de52577709728c08e15d5106e59871a6ddc988f 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <string>
 
-#include "os_int.h"
+#include "stg/os_int.h"
 
 class SETTINGS_IMPL {
 public:
@@ -67,12 +67,6 @@ private:
 
     std::string confFile;
     std::string strError;
-
-    int ParseInt(const std::string & value, int * val);
-    int ParseUnsigned(const std::string & value, unsigned * val);
-    int ParseIntInRange(const std::string & value, int min, int max, int * val);
-    int ParseUnsignedInRange(const std::string & value, unsigned min, unsigned max, unsigned * val);
-    int ParseYesNo(const std::string & value, bool * val);
 };
 
 #endif