summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-08-20 13:42:05 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-08-20 13:55:42 (GMT)
commitc5b8d80800af29bcab6ba2263033fa0d7dc797ef (patch)
treec4078ef1e7b8828f35a529ccf566db1af242bf7d /Swiften/Settings
parentecd62de51a5dbca99481720e274737241236e170 (diff)
downloadswift-c5b8d80800af29bcab6ba2263033fa0d7dc797ef.zip
swift-c5b8d80800af29bcab6ba2263033fa0d7dc797ef.tar.bz2
Restart with previous (per-accoun) status.
Resolves: #390
Diffstat (limited to 'Swiften/Settings')
-rw-r--r--Swiften/Settings/SettingsProvider.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Settings/SettingsProvider.h b/Swiften/Settings/SettingsProvider.h
index 0a604ec..7ddf789 100644
--- a/Swiften/Settings/SettingsProvider.h
+++ b/Swiften/Settings/SettingsProvider.h
@@ -20,6 +20,8 @@ class SettingsProvider {
virtual void storeString(const String &settingPath, const String &settingValue) = 0;
virtual bool getBoolSetting(const String &settingPath, bool defaultValue) = 0;
virtual void storeBool(const String &settingPath, bool settingValue) = 0;
+ virtual int getIntSetting(const String &settingPath, int defaultValue) = 0;
+ virtual void storeInt(const String &settingPath, int settingValue) = 0;
virtual std::vector<String> getAvailableProfiles() = 0;
virtual void createProfile(const String& profile) = 0;
};