diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-02-11 11:25:42 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-02-11 11:25:42 (GMT) |
commit | b8a73b1d16afd4f3aa0e8e39447024ec541df4c8 (patch) | |
tree | 503acb56c355ac0cca5dc13d89a9e4a3804ab813 /Swift/Controllers/Settings | |
parent | 4dde3a55c46c95d89a7564738e132ad23bc946ee (diff) | |
download | swift-contrib-b8a73b1d16afd4f3aa0e8e39447024ec541df4c8.zip swift-contrib-b8a73b1d16afd4f3aa0e8e39447024ec541df4c8.tar.bz2 |
Allow deletion of items from login list.
Resolves: #711
Release-Notes: Highlighting an item in the login account list and pressing detele will now prompt you to remove the cached credentials for that account.
Diffstat (limited to 'Swift/Controllers/Settings')
-rw-r--r-- | Swift/Controllers/Settings/DummySettingsProvider.h | 1 | ||||
-rw-r--r-- | Swift/Controllers/Settings/SettingsProvider.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/Settings/DummySettingsProvider.h b/Swift/Controllers/Settings/DummySettingsProvider.h index 6c3dd52..631b68d 100644 --- a/Swift/Controllers/Settings/DummySettingsProvider.h +++ b/Swift/Controllers/Settings/DummySettingsProvider.h @@ -21,6 +21,7 @@ class DummySettingsProvider : public SettingsProvider { virtual void storeInt(const String &, int ) {} virtual std::vector<String> getAvailableProfiles() {return std::vector<String>();} virtual void createProfile(const String& ) {} + virtual void removeProfile(const String& ) {} }; } diff --git a/Swift/Controllers/Settings/SettingsProvider.h b/Swift/Controllers/Settings/SettingsProvider.h index 7ddf789..a2cdad4 100644 --- a/Swift/Controllers/Settings/SettingsProvider.h +++ b/Swift/Controllers/Settings/SettingsProvider.h @@ -24,6 +24,7 @@ class SettingsProvider { virtual void storeInt(const String &settingPath, int settingValue) = 0; virtual std::vector<String> getAvailableProfiles() = 0; virtual void createProfile(const String& profile) = 0; + virtual void removeProfile(const String& profile) = 0; }; } |