diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-06-29 10:14:10 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-06-29 10:14:10 +0000 |
| commit | 91ab7f10a2b8139926c09c25921511f93e2af51d (patch) | |
| tree | f340cd1eccea4dab5291db22a3eaa47311c024d4 /source/QXmppMessage.h | |
| parent | 1e18c93ea2571a05380e6458204bbef10f2a5a5c (diff) | |
| download | qxmpp-91ab7f10a2b8139926c09c25921511f93e2af51d.tar.gz | |
add support for XEP-0203: Delayed Delivery
Diffstat (limited to 'source/QXmppMessage.h')
| -rw-r--r-- | source/QXmppMessage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/QXmppMessage.h b/source/QXmppMessage.h index 15ea3c02..08751821 100644 --- a/source/QXmppMessage.h +++ b/source/QXmppMessage.h @@ -52,6 +52,13 @@ public: Paused, }; + /// Type of the message timestamp. + enum StampType + { + LegacyDelayedDelivery, ///< XEP-0091: Legacy Delayed Delivery + DelayedDelivery, ///< XEP-0203: Delayed Delivery + }; + QXmppMessage(const QString& from = "", const QString& to = "", const QString& body = "", const QString& thread = ""); ~QXmppMessage(); @@ -90,6 +97,7 @@ private: Type m_type; QDateTime m_stamp; + StampType m_stampType; State m_state; QString m_body; |
