16 #include "delayeddelivery.h"
87 const std::string
body(
const std::string& lang =
"default" )
const
89 return findLang( m_bodies, m_body, lang );
101 const std::string
subject(
const std::string& lang =
"default" )
const
103 return findLang( m_subjects, m_subject, lang );
110 const std::string&
thread()
const {
return m_thread; }
116 void setThread(
const std::string& thread ) { m_thread = thread; }
122 void setID(
const std::string&
id ) { m_id = id; }
137 virtual Tag* tag()
const;
149 MessageType m_subtype;
151 std::string m_subject;
154 std::string m_thread;
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
This is an implementation of XEP-0203 (Delayed Delivery).
A stanza error abstraction implemented as a StanzaExtension.
This is an implementation of Stanza Forwarding (XEP-0297) as a StanzaExtension.
An abstraction of a message stanza.
const std::string subject(const std::string &lang="default") const
const std::string body(const std::string &lang="default") const
void setID(const std::string &id)
const std::string & thread() const
void setThread(const std::string &thread)
MessageType subtype() const
const DelayedDelivery * when() const
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