summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Disco/EntityCapsManager.h')
-rw-r--r--Swiften/Disco/EntityCapsManager.h12
1 files changed, 12 insertions, 0 deletions
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<void (const JID&)> onCapsChanged;
private: