X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7a86e28eea13406bbe23e5a3da29aa763cdab67a..8edf5615209b806b4e1aff6bae0db06efc23644b:/projects/sgauthstress/settings_impl.h diff --git a/projects/sgauthstress/settings_impl.h b/projects/sgauthstress/settings_impl.h index 8035aba4..b933fa74 100644 --- a/projects/sgauthstress/settings_impl.h +++ b/projects/sgauthstress/settings_impl.h @@ -18,21 +18,20 @@ * Author : Maxim Mamontov */ -#ifndef SETTINGS_IMPL_H -#define SETTINGS_IMPL_H +#ifndef SETTINGS_H +#define SETTINGS_H #include -#include #include "stg/os_int.h" struct MODULE_SETTINGS; class DOTCONFDocumentNode; -class SETTINGS_IMPL { +class SETTINGS { public: - SETTINGS_IMPL(); - ~SETTINGS_IMPL() {} + SETTINGS(); + ~SETTINGS() {} int Reload() { return 0; } void SetConfFile(const std::string cf) { confFile = cf; } int ReadSettings(); @@ -51,13 +50,6 @@ public: const MODULE_SETTINGS & GetStoreModuleSettings() const { return storeModuleSettings; } private: - 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); - int ParseModuleSettings(const DOTCONFDocumentNode * dirNameNode, std::vector * params); - std::string login; std::string password; std::string serverName;