diff options
Diffstat (limited to 'Swiften/Elements/DiscoItems.h')
-rw-r--r-- | Swiften/Elements/DiscoItems.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Swiften/Elements/DiscoItems.h b/Swiften/Elements/DiscoItems.h index 149e41c..cbca399 100644 --- a/Swiften/Elements/DiscoItems.h +++ b/Swiften/Elements/DiscoItems.h @@ -13,8 +13,14 @@ #include <Swiften/JID/JID.h> namespace Swift { + /** + * Service discovery disco#items from XEP-0030. + */ class DiscoItems : public Payload { public: + /** + * A single result item. + */ class Item { public: Item(const std::string& name, const JID& jid, const std::string& node="") : name_(name), jid_(jid), node_(node) { |