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;
161 #endif // PRESENCE_H__
void addStatus(const std::string &status, const std::string &lang=EmptyString)
This is the base class for XMPP stanza abstractions.
An abstraction of a presence stanza.
const std::string status(const std::string &lang="default") const
The namespace for the gloox library.
void setPresence(PresenceType type)
std::map< std::string, std::string > StringMap
PresenceType subtype() const
This is an implementation of XEP-0115 (Entity Capabilities).
PresenceType presence() const
const std::string EmptyString
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
This is an abstraction of an XML element.