summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Client/Client.h')
-rw-r--r--Swiften/Client/Client.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Swiften/Client/Client.h b/Swiften/Client/Client.h
index e046b3c..7e55289 100644
--- a/Swiften/Client/Client.h
+++ b/Swiften/Client/Client.h
@@ -70,7 +70,7 @@ namespace Swift {
boost::signal<void (const String&)> onDataWritten;
private:
- void handleConnectorFinished(boost::shared_ptr<Connection>, Connector::ref);
+ void handleConnectorFinished(boost::shared_ptr<Connection>);
void handleSessionInitialized();
void send(boost::shared_ptr<Stanza>);
virtual String getNewIQID();
@@ -81,8 +81,6 @@ namespace Swift {
void handleDataWritten(const String&);
void handleStanzaAcked(boost::shared_ptr<Stanza>);
- void closeConnection();
-
private:
PlatformDomainNameResolver resolver_;
JID jid_;
@@ -99,5 +97,6 @@ namespace Swift {
boost::shared_ptr<BasicSessionStream> sessionStream_;
boost::shared_ptr<ClientSession> session_;
String certificate_;
+ bool disconnectRequested_;
};
}