diff options
Diffstat (limited to 'Swift/Controllers/ProfileSettingsProvider.h')
-rw-r--r-- | Swift/Controllers/ProfileSettingsProvider.h | 2 |
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;}; |