Log unused config options (#999)

Now fixed
This commit is contained in:
Stoabrogga
2018-09-08 20:26:28 +02:00
committed by Barbz
parent fa65a8070a
commit 205e8eb14e
3 changed files with 59 additions and 30 deletions

View File

@@ -39,10 +39,10 @@ public:
bool Reload();
std::string GetStringDefault(const char* name, const std::string& def);
bool GetBoolDefault(const char* name, bool def);
int GetIntDefault(const char* name, int def);
float GetFloatDefault(const char* name, float def);
std::string GetStringDefault(const char* name, const std::string& def, bool logUnused = true);
bool GetBoolDefault(const char* name, bool def, bool logUnused = true);
int GetIntDefault(const char* name, int def, bool logUnused = true);
float GetFloatDefault(const char* name, float def, bool logUnused = true);
std::list<std::string> GetKeysByString(std::string const& name);