diff options
Diffstat (limited to 'src/shared/Config/Config.h')
| -rw-r--r-- | src/shared/Config/Config.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/src/shared/Config/Config.h b/src/shared/Config/Config.h index 2c709f02ae5..cb7a45027df 100644 --- a/src/shared/Config/Config.h +++ b/src/shared/Config/Config.h @@ -34,19 +34,11 @@ class TRINITY_DLL_SPEC Config bool SetSource(const char *file, bool ignorecase = true); bool Reload(); - - bool GetString(const char* name, std::string *value); - bool GetString(const char* name, char const **value); - std::string GetStringDefault(const char* name, const char* def); - - bool GetBool(const char* name, bool *value); - bool GetBoolDefault(const char* name, const bool def = false); - - bool GetInt(const char* name, int *value); - int GetIntDefault(const char* name, const int def); - - bool GetFloat(const char* name, float *value); - float GetFloatDefault(const char* name, const float def); +
+ std::string GetStringDefault(const char * name, std::string def);
+ bool GetBoolDefault(const char * name, const bool def);
+ int32 GetIntDefault(const char * name, const int32 def);
+ float GetFloatDefault(const char * name, const float def); std::string GetFilename() const { return mFilename; } private: |
