diff options
Diffstat (limited to 'Swiften/Client/CoreClient.h')
-rw-r--r-- | Swiften/Client/CoreClient.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Swiften/Client/CoreClient.h b/Swiften/Client/CoreClient.h index 060c699..ceb0b0a 100644 --- a/Swiften/Client/CoreClient.h +++ b/Swiften/Client/CoreClient.h @@ -196,6 +196,11 @@ namespace Swift { */ boost::signal<void (boost::shared_ptr<Stanza>)> onStanzaAcked; + protected: + boost::shared_ptr<ClientSession> getSession() const { + return session_; + } + private: void handleConnectorFinished(boost::shared_ptr<Connection>); void handleStanzaChannelAvailableChanged(bool available); |