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/UIInterfaces | |
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/UIInterfaces')
-rw-r--r-- | Swift/Controllers/UIInterfaces/LoginWindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/UIInterfaces/LoginWindow.h b/Swift/Controllers/UIInterfaces/LoginWindow.h index a25cdb9..fc28424 100644 --- a/Swift/Controllers/UIInterfaces/LoginWindow.h +++ b/Swift/Controllers/UIInterfaces/LoginWindow.h @@ -23,6 +23,7 @@ namespace Swift { virtual void setMessage(const String&) = 0; virtual void setIsLoggingIn(bool loggingIn) = 0; virtual void addAvailableAccount(const String& defaultJID, const String& defaultPassword, const String& defaultCertificate) = 0; + virtual void removeAvailableAccount(const String& jid) = 0; boost::signal<void (const String&, const String&, const String& /* certificateFile */, bool /* remember password*/, bool /* login automatically */)> onLoginRequest; virtual void setLoginAutomatically(bool loginAutomatically) = 0; virtual void quit() = 0; @@ -31,5 +32,6 @@ namespace Swift { boost::signal<void ()> onCancelLoginRequest; boost::signal<void ()> onQuitRequest; + boost::signal<void (const String&)> onPurgeSavedLoginRequest; }; } |