65 int priority = 0,
const std::string& xmllang =
EmptyString );
106 const std::string
status(
const std::string& lang =
"default" )
const
108 return findLang( m_stati, m_status, lang );
119 setLang( &m_stati, m_status, status, lang );
137 void setPriority(
int priority );
140 virtual Tag* tag()
const;
152 PresenceType m_subtype;
154 std::string m_status;
This is an implementation of XEP-0115 (Entity Capabilities).
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
An abstraction of a presence stanza.
void setPresence(PresenceType type)
PresenceType presence() const
PresenceType subtype() const
const std::string status(const std::string &lang="default") const
void addStatus(const std::string &status, const std::string &lang=EmptyString)
This is the base class for XMPP stanza abstractions.
This is an abstraction of an XML element.
The namespace for the gloox library.
const std::string EmptyString
std::map< std::string, std::string > StringMap