diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-30 17:46:24 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-30 17:51:32 (GMT) |
commit | ba333999576d89f3340c271b2a3331d6a3e64ac7 (patch) | |
tree | 7f2d0dd20d6d6a302a26c904468a90c22150b481 /Swift/Controllers/UIInterfaces | |
parent | 59be74ec6fc7bc495f2a261b8f274b8555aee306 (diff) | |
download | swift-ba333999576d89f3340c271b2a3331d6a3e64ac7.zip swift-ba333999576d89f3340c271b2a3331d6a3e64ac7.tar.bz2 |
Disconnect client cleanly before quitting.
Resolves: #671, #420
Diffstat (limited to 'Swift/Controllers/UIInterfaces')
-rw-r--r-- | Swift/Controllers/UIInterfaces/LoginWindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/Controllers/UIInterfaces/LoginWindow.h b/Swift/Controllers/UIInterfaces/LoginWindow.h index c752d0a..54d8099 100644 --- a/Swift/Controllers/UIInterfaces/LoginWindow.h +++ b/Swift/Controllers/UIInterfaces/LoginWindow.h @@ -25,7 +25,10 @@ namespace Swift { virtual void addAvailableAccount(const String& defaultJID, const String& defaultPassword, const String& defaultCertificate) = 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; + boost::signal<void ()> onCancelLoginRequest; + boost::signal<void ()> onQuitRequest; }; } #endif |