diff options
Diffstat (limited to 'src/client/Client.h')
| -rw-r--r-- | src/client/Client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/Client.h b/src/client/Client.h index cb39f2e..7b94393 100644 --- a/src/client/Client.h +++ b/src/client/Client.h @@ -120,15 +120,19 @@ public: std::string GetPrefString(std::string property, std::string defaultValue); double GetPrefNumber(std::string property, double defaultValue); + int GetPrefInteger(std::string property, int defaultValue); vector<string> GetPrefStringArray(std::string property); vector<double> GetPrefNumberArray(std::string property); + vector<int> GetPrefIntegerArray(std::string property); vector<bool> GetPrefBoolArray(std::string property); bool GetPrefBool(std::string property, bool defaultValue); void SetPref(std::string property, std::string value); void SetPref(std::string property, double value); + void SetPref(std::string property, int value); void SetPref(std::string property, vector<string> value); void SetPref(std::string property, vector<double> value); + void SetPref(std::string property, vector<int> value); void SetPref(std::string property, vector<bool> value); void SetPref(std::string property, bool value); |
