summaryrefslogtreecommitdiff
path: root/src/client/Client.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-24 12:03:28 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-24 12:03:28 (GMT)
commite65e222f2ccbf60a4c224bbe29884ebb1001cfd7 (patch)
treef987b4cf48934bb8c4c2049324df34ba5d934c06 /src/client/Client.h
parent64ebd1117b2adfb117c3974ee73ddbe3df0b6c02 (diff)
downloadpowder-e65e222f2ccbf60a4c224bbe29884ebb1001cfd7.zip
powder-e65e222f2ccbf60a4c224bbe29884ebb1001cfd7.tar.gz
Integer values for prefs, Default decoration colour, clear decoration
Diffstat (limited to 'src/client/Client.h')
-rw-r--r--src/client/Client.h4
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);