aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppStream.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-02-03 16:16:54 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-02-03 16:16:54 +0000
commit4e3c8ca5c82c27cb81d69ac43f06b581eb5afe70 (patch)
tree395d9a4341da9bd3015b6e878e26d9897806c514 /source/QXmppStream.h
parent468450f99b8549beb9bc1f68e50acbef728e6ad0 (diff)
downloadqxmpp-4e3c8ca5c82c27cb81d69ac43f06b581eb5afe70.tar.gz
integrate XEP-0136 into QXmppStream
Diffstat (limited to 'source/QXmppStream.h')
-rw-r--r--source/QXmppStream.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/QXmppStream.h b/source/QXmppStream.h
index 319abddd..469b51e6 100644
--- a/source/QXmppStream.h
+++ b/source/QXmppStream.h
@@ -31,6 +31,7 @@
#include "QXmppRoster.h"
#include "QXmppStanza.h"
#include "QXmppVCardManager.h"
+#include "QXmppArchiveManager.h"
class QDomElement;
@@ -45,6 +46,9 @@ class QXmppVCard;
class QXmppMessage;
class QXmppRpcResponseIq;
class QXmppRpcErrorIq;
+class QXmppArchiveChatIq;
+class QXmppArchiveListIq;
+class QXmppArchivePrefIq;
class QXmppStream : public QObject
{
@@ -57,6 +61,7 @@ public:
void acceptSubscriptionRequest(const QString& from, bool accept = true);
void sendSubscriptionRequest(const QString& to);
void disconnect();
+ QXmppArchiveManager& getArchiveManager();
QXmppRoster& getRoster();
QXmppVCardManager& getVCardManager();
void sendPacket(const QXmppPacket&);
@@ -89,6 +94,10 @@ signals:
void rpcCallResponse(const QXmppRpcResponseIq& result );
void rpcCallError(const QXmppRpcErrorIq& err );
+ void archiveChatIqReceived(const QXmppArchiveChatIq&);
+ void archiveListIqReceived(const QXmppArchiveListIq&);
+ void archivePrefIqReceived(const QXmppArchivePrefIq&);
+
private slots:
void socketHostFound();
void socketReadReady();
@@ -116,6 +125,7 @@ private:
QXmppVCardManager m_vCardManager;
+ QXmppArchiveManager m_archiveManager;
QXmppConfiguration& getConfiguration();
void parser(const QByteArray&);