diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-03 16:18:37 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-02-03 16:18:37 +0000 |
| commit | faa8d73981eed8172410e7662fbf002d9fa35f04 (patch) | |
| tree | d12a52c62d5d86c5357a6cef0bcc3924064b24ac /source | |
| parent | 4e3c8ca5c82c27cb81d69ac43f06b581eb5afe70 (diff) | |
| download | qxmpp-faa8d73981eed8172410e7662fbf002d9fa35f04.tar.gz | |
integrate XEP-0136 into QXmppClient
Diffstat (limited to 'source')
| -rw-r--r-- | source/QXmppClient.cpp | 9 | ||||
| -rw-r--r-- | source/QXmppClient.h | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/source/QXmppClient.cpp b/source/QXmppClient.cpp index 2666ea27..9794ea24 100644 --- a/source/QXmppClient.cpp +++ b/source/QXmppClient.cpp @@ -482,3 +482,12 @@ QXmppRemoteMethodResult QXmppClient::callRemoteMethod( const QString &jid, return method.call(); } + +/// Returns the reference to QXmppArchiveManager, implementation of XEP-0136. +/// http://xmpp.org/extensions/xep-0136.html +/// + +QXmppArchiveManager& QXmppClient::getArchiveManager() +{ + return m_stream->getArchiveManager(); +} diff --git a/source/QXmppClient.h b/source/QXmppClient.h index 02564250..52139fe9 100644 --- a/source/QXmppClient.h +++ b/source/QXmppClient.h @@ -60,6 +60,7 @@ class QXmppRpcInvokeIq; class QXmppRemoteMethod; class QXmppIbbTransferManager; class QXmppRemoteMethodResult; +class QXmppArchiveManager; class QXmppClient : public QObject { @@ -111,6 +112,7 @@ public: const QXmppPresence& getClientPresence() const; QXmppVCardManager& getVCardManager(); QXmppIbbTransferManager* getIbbTransferManager() const; + QXmppArchiveManager& getArchiveManager(); signals: |
