diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-13 20:08:40 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-13 20:08:40 (GMT) |
commit | 0863ece69f6490602e90b22c0dd17189bd8bf5a7 (patch) | |
tree | 640ea400d7b2e8786c6551795e070e0727f3b75e /Swift/Controllers/UIInterfaces | |
parent | c8603ee2ea4dfe9b881367198dbd259986345412 (diff) | |
download | swift-contrib-0863ece69f6490602e90b22c0dd17189bd8bf5a7.zip swift-contrib-0863ece69f6490602e90b22c0dd17189bd8bf5a7.tar.bz2 |
Extend the certificate accept dialog & login after accept.
Diffstat (limited to 'Swift/Controllers/UIInterfaces')
-rw-r--r-- | Swift/Controllers/UIInterfaces/LoginWindow.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Swift/Controllers/UIInterfaces/LoginWindow.h b/Swift/Controllers/UIInterfaces/LoginWindow.h index e9ea92f..a25cdb9 100644 --- a/Swift/Controllers/UIInterfaces/LoginWindow.h +++ b/Swift/Controllers/UIInterfaces/LoginWindow.h @@ -4,14 +4,14 @@ * See Documentation/Licenses/GPLv3.txt for more information. */ -#ifndef SWIFTEN_LoginWindow_H -#define SWIFTEN_LoginWindow_H - -#include "Swiften/Base/String.h" +#pragma once #include "Swiften/Base/boost_bsignals.h" #include <boost/shared_ptr.hpp> +#include <Swiften/Base/String.h> +#include <Swiften/TLS/Certificate.h> + namespace Swift { class MainWindow; class LoginWindow { @@ -27,11 +27,9 @@ namespace Swift { 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; + virtual bool askUserToTrustCertificatePermanently(const String& message, Certificate::ref) = 0; boost::signal<void ()> onCancelLoginRequest; boost::signal<void ()> onQuitRequest; }; } -#endif - |