From fdcbeaf726457823892d86dd4b95db6f50ea3f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sun, 24 Oct 2010 19:37:19 +0200 Subject: Added some doxygen docs. diff --git a/Swiften/Client/Client.h b/Swiften/Client/Client.h index 342fe76..c2c9c60 100644 --- a/Swiften/Client/Client.h +++ b/Swiften/Client/Client.h @@ -97,6 +97,7 @@ namespace Swift { AvatarManager* getAvatarManager() const { return avatarManager; } + EntityCapsManager* getEntityCapsManager() const { return entityCapsManager; } diff --git a/Swiften/Disco/EntityCapsManager.h b/Swiften/Disco/EntityCapsManager.h index 810e260..01f8793 100644 --- a/Swiften/Disco/EntityCapsManager.h +++ b/Swiften/Disco/EntityCapsManager.h @@ -15,12 +15,24 @@ namespace Swift { class StanzaChannel; class CapsProvider; + /** + * This class is responsible for gathering and providing + * information about capabilities of entities on the network. + * This information is provided in the form of service discovery + * information. + */ class EntityCapsManager : public boost::bsignals::trackable { public: EntityCapsManager(CapsProvider*, StanzaChannel*); + /** + * Returns the service discovery information of the given JID. + */ DiscoInfo::ref getCaps(const JID&) const; + /** + * Emitted when the capabilities of a JID changes. + */ boost::signal onCapsChanged; private: -- cgit v0.10.2-6-g49f6