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;
159 #endif // MESSAGE_H__
const std::string subject(const std::string &lang="default") const
This is an implementation of Stanza Forwarding (XEP-0297) as a StanzaExtension.
This is the base class for XMPP stanza abstractions.
This is an implementation of XEP-0203 (Delayed Delivery).
void setID(const std::string &id)
MessageType subtype() const
A stanza error abstraction implemented as a StanzaExtension.
An abstraction of a message stanza.
The namespace for the gloox library.
std::map< std::string, std::string > StringMap
const std::string & thread() const
void setThread(const std::string &thread)
const DelayedDelivery * when() const
const std::string EmptyString
const std::string body(const std::string &lang="default") const
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
This is an abstraction of an XML element.