summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-03-15 19:17:09 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-09-08 11:16:21 (GMT)
commit0174723efbc1f612433d45c6916a2ad4596b96ba (patch)
treeb063d775f480bec74ab1631a3e48a2c55bd0fed4 /Swift/Controllers/UIInterfaces
parentda72fe77cc7dd183ae18e23903de67de886b3acb (diff)
downloadswift-0174723efbc1f612433d45c6916a2ad4596b96ba.zip
swift-0174723efbc1f612433d45c6916a2ad4596b96ba.tar.bz2
Connection settings support
Diffstat (limited to 'Swift/Controllers/UIInterfaces')
-rw-r--r--Swift/Controllers/UIInterfaces/LoginWindow.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Swift/Controllers/UIInterfaces/LoginWindow.h b/Swift/Controllers/UIInterfaces/LoginWindow.h
index f1c2ce1..dbc77c4 100644
--- a/Swift/Controllers/UIInterfaces/LoginWindow.h
+++ b/Swift/Controllers/UIInterfaces/LoginWindow.h
@@ -12,6 +12,7 @@
#include <string>
#include <Swiften/TLS/Certificate.h>
#include <Swiften/TLS/CertificateWithKey.h>
+#include <Swiften/Client/ClientOptions.h>
namespace Swift {
class MainWindow;
@@ -24,10 +25,10 @@ namespace Swift {
virtual void setShowNotificationToggle(bool) = 0;
virtual void setMessage(const std::string&) = 0;
virtual void setIsLoggingIn(bool loggingIn) = 0;
- virtual void addAvailableAccount(const std::string& defaultJID, const std::string& defaultPassword, const std::string& defaultCertificate) = 0;
+ virtual void addAvailableAccount(const std::string& defaultJID, const std::string& defaultPassword, const std::string& defaultCertificate, const ClientOptions& options) = 0;
virtual void removeAvailableAccount(const std::string& jid) = 0;
/** The certificate is what is used for login, the certificatePath is used for remembering paths to populate the loginwindow with*/
- boost::signal<void (const std::string&, const std::string&, const std::string& /*CertificatePath*/, CertificateWithKey::ref /* clientCertificate */, bool /* remember password*/, bool /* login automatically */)> onLoginRequest;
+ boost::signal<void (const std::string&, const std::string&, const std::string& /*CertificatePath*/, CertificateWithKey::ref /* clientCertificate */, const ClientOptions& /*options*/, 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.*/