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 /Swift/Controllers/ProfileSettingsProvider.h
parentecd62de51a5dbca99481720e274737241236e170 (diff)
downloadswift-c5b8d80800af29bcab6ba2263033fa0d7dc797ef.zip
swift-c5b8d80800af29bcab6ba2263033fa0d7dc797ef.tar.bz2
Restart with previous (per-accoun) status.
Resolves: #390
Diffstat (limited to 'Swift/Controllers/ProfileSettingsProvider.h')
-rw-r--r--Swift/Controllers/ProfileSettingsProvider.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/ProfileSettingsProvider.h b/Swift/Controllers/ProfileSettingsProvider.h
index 62878df..76d20e6 100644
--- a/Swift/Controllers/ProfileSettingsProvider.h
+++ b/Swift/Controllers/ProfileSettingsProvider.h
@@ -27,6 +27,8 @@ class ProfileSettingsProvider {
virtual ~ProfileSettingsProvider() {};
virtual String getStringSetting(const String &settingPath) {return provider_->getStringSetting(profileSettingPath(settingPath));};
virtual void storeString(const String &settingPath, const String &settingValue) {provider_->storeString(profileSettingPath(settingPath), settingValue);};
+ virtual int getIntSetting(const String& settingPath, int defaultValue) {return provider_->getIntSetting(settingPath, defaultValue);}
+ virtual void storeInt(const String& settingPath, int settingValue) {provider_->storeInt(settingPath, settingValue);}
private:
String profileSettingPath(const String &settingPath) {return profile_ + ":" + settingPath;};