summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-12-13 15:49:19 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-12-13 18:48:24 (GMT)
commitc8603ee2ea4dfe9b881367198dbd259986345412 (patch)
tree66002456149a599038aebf2a8dfda8bc747e6e1d /Swift/Controllers/UIInterfaces/LoginWindow.h
parentec277d0650b5a9b167d629a372562dda3b76be2e (diff)
downloadswift-c8603ee2ea4dfe9b881367198dbd259986345412.zip
swift-c8603ee2ea4dfe9b881367198dbd259986345412.tar.bz2
Initial cert confirmation
Diffstat (limited to 'Swift/Controllers/UIInterfaces/LoginWindow.h')
-rw-r--r--Swift/Controllers/UIInterfaces/LoginWindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swift/Controllers/UIInterfaces/LoginWindow.h b/Swift/Controllers/UIInterfaces/LoginWindow.h
index 54d8099..e9ea92f 100644
--- a/Swift/Controllers/UIInterfaces/LoginWindow.h
+++ b/Swift/Controllers/UIInterfaces/LoginWindow.h
@@ -26,6 +26,8 @@ namespace Swift {
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;
+ /** Blocking request whether a cert should be permanently trusted.*/
+ virtual bool askUserToTrustCertificatePermanently(const String& message) = 0;
boost::signal<void ()> onCancelLoginRequest;
boost::signal<void ()> onQuitRequest;