diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-16 20:06:28 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-16 20:06:28 (GMT) |
commit | 2c954f7e9464b8fdd970eed829e2ba632e8979d8 (patch) | |
tree | 2e15a454cb395e77bd4af858311fdc046d0cc2bd /Swiften/Server | |
parent | a5afa80ca54da1b72078b3e508de1d80cceb0c90 (diff) | |
download | swift-2c954f7e9464b8fdd970eed829e2ba632e8979d8.zip swift-2c954f7e9464b8fdd970eed829e2ba632e8979d8.tar.bz2 |
Implemented AppleDNSSDService registration & browsing.
Diffstat (limited to 'Swiften/Server')
-rw-r--r-- | Swiften/Server/ServerFromClientSession.cpp | 1 | ||||
-rw-r--r-- | Swiften/Server/ServerFromClientSession.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Server/ServerFromClientSession.cpp b/Swiften/Server/ServerFromClientSession.cpp index 67067c5..fe4388e 100644 --- a/Swiften/Server/ServerFromClientSession.cpp +++ b/Swiften/Server/ServerFromClientSession.cpp @@ -89,6 +89,7 @@ void ServerFromClientSession::handleElement(boost::shared_ptr<Element> element) else if (iq->getPayload<StartSession>()) { initialized_ = true; xmppLayer_->writeElement(IQ::createResult(jid_, iq->getID())); + onSessionStarted(); } } } diff --git a/Swiften/Server/ServerFromClientSession.h b/Swiften/Server/ServerFromClientSession.h index 62e89ef..0110d5d 100644 --- a/Swiften/Server/ServerFromClientSession.h +++ b/Swiften/Server/ServerFromClientSession.h @@ -40,6 +40,7 @@ namespace Swift { boost::signal<void (boost::shared_ptr<Stanza>)> onStanzaReceived; boost::signal<void ()> onSessionFinished; + boost::signal<void ()> onSessionStarted; boost::signal<void (const ByteArray&)> onDataWritten; boost::signal<void (const ByteArray&)> onDataRead; |