14 #ifndef DELAYEDDELIVERY_H__
15 #define DELAYEDDELIVERY_H__
19 #include "stanzaextension.h"
49 const std::string& reason =
"" );
68 const std::string&
stamp()
const {
return m_stamp; }
74 void setStamp(
const std::string& stamp ) { m_stamp = stamp; }
83 const JID&
from()
const {
return m_from; }
95 const std::string&
reason()
const {
return m_reason; }
101 void setReason(
const std::string& reason ) { m_reason = reason; }
104 virtual const std::string& filterString()
const;
113 virtual Tag* tag()
const;
124 std::string m_reason;
This is an implementation of XEP-0203 (Delayed Delivery).
void setFrom(const JID &from)
virtual StanzaExtension * newInstance(const Tag *tag) const
void setStamp(const std::string &stamp)
const std::string & reason() const
const std::string & stamp() const
virtual StanzaExtension * clone() const
void setReason(const std::string &reason)
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
This is an abstraction of an XML element.
The namespace for the gloox library.