14 #ifndef CAPABILITIES_H__
15 #define CAPABILITIES_H__
17 #include "disconodehandler.h"
18 #include "stanzaextension.h"
61 const std::string&
node()
const {
return m_node; }
67 void setNode(
const std::string& node ) { m_node = node; }
73 const std::string ver()
const;
76 virtual const std::string& filterString()
const;
85 virtual Tag* tag()
const;
94 virtual StringList handleDiscoNodeFeatures(
const JID& from,
const std::string& node );
98 const std::string& node );
109 const std::string& hash()
const {
return m_hash; }
116 void setHash(
const std::string& hash ) { m_hash = hash; }
119 const StringList& features,
const DataForm* form = 0 );
120 static std::string generate(
const Disco::Info* info );
121 static std::string generate(
const Disco* disco );
132 #endif // CAPABILITIES_H__