summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-09-12 21:13:01 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-09-12 21:13:01 (GMT)
commit6bc9ff75b3971cc8d1c610bc348279be89c95d9d (patch)
treecea1010530fb6c0fbc4235f926d5effc8235f023 /Swiften
parent7dafb815ca404f1e15c9cdf6b26817c941dae4ec (diff)
downloadswift-contrib-6bc9ff75b3971cc8d1c610bc348279be89c95d9d.zip
swift-contrib-6bc9ff75b3971cc8d1c610bc348279be89c95d9d.tar.bz2
Allow storing of settings for multiple profiles.
Diffstat (limited to 'Swiften')
-rw-r--r--Swiften/Settings/SettingsProvider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Settings/SettingsProvider.h b/Swiften/Settings/SettingsProvider.h
index e311911..d07e790 100644
--- a/Swiften/Settings/SettingsProvider.h
+++ b/Swiften/Settings/SettingsProvider.h
@@ -3,6 +3,8 @@
#include "Swiften/Base/String.h"
+#include <vector>
+
namespace Swift {
class SettingsProvider {
@@ -12,6 +14,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 std::vector<String> getAvailableProfiles() = 0;
+ virtual void createProfile(const String& profile) = 0;
};
}