diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-27 21:22:16 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-29 18:09:04 (GMT) |
commit | bbd3bbf5747c28ec5925a89ea43fd4767d135f6e (patch) | |
tree | 7082ca4c7aa66cf66e3b1ebb24a90a5c1d37a1cd /Swiften/Disco/EntityCapsManager.h | |
parent | 420654a8e323beb7c8877453393568240a3f2a07 (diff) | |
download | swift-contrib-bbd3bbf5747c28ec5925a89ea43fd4767d135f6e.zip swift-contrib-bbd3bbf5747c28ec5925a89ea43fd4767d135f6e.tar.bz2 |
Make ChatStateNotifier use StanzaChannel directly.
Diffstat (limited to 'Swiften/Disco/EntityCapsManager.h')
-rw-r--r-- | Swiften/Disco/EntityCapsManager.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Swiften/Disco/EntityCapsManager.h b/Swiften/Disco/EntityCapsManager.h index ecfcdea..f507a1d 100644 --- a/Swiften/Disco/EntityCapsManager.h +++ b/Swiften/Disco/EntityCapsManager.h @@ -12,6 +12,7 @@ #include "Swiften/Elements/Presence.h" #include "Swiften/Elements/DiscoInfo.h" #include "Swiften/Elements/ErrorPayload.h" +#include "Swiften/Disco/EntityCapsProvider.h" namespace Swift { class StanzaChannel; @@ -23,7 +24,7 @@ namespace Swift { * This information is provided in the form of service discovery * information. */ - class EntityCapsManager : public boost::bsignals::trackable { + class EntityCapsManager : public EntityCapsProvider, public boost::bsignals::trackable { public: EntityCapsManager(CapsProvider*, StanzaChannel*); @@ -32,11 +33,6 @@ namespace Swift { */ DiscoInfo::ref getCaps(const JID&) const; - /** - * Emitted when the capabilities of a JID changes. - */ - boost::signal<void (const JID&)> onCapsChanged; - private: void handlePresenceReceived(boost::shared_ptr<Presence>); void handleStanzaChannelAvailableChanged(bool); |