QXmpp  Version:0.9.1
QXmppMessageReceiptManager.h
1 /*
2  * Copyright (C) 2008-2014 The QXmpp developers
3  *
4  * Authors:
5  * Georg Rudoy
6  * Jeremy LainĂ©
7  *
8  * Source:
9  * https://github.com/qxmpp-project/qxmpp
10  *
11  * This file is a part of QXmpp library.
12  *
13  * This library is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU Lesser General Public
15  * License as published by the Free Software Foundation; either
16  * version 2.1 of the License, or (at your option) any later version.
17  *
18  * This library is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21  * Lesser General Public License for more details.
22  *
23  */
24 
25 #ifndef QXMPPMESSAGERECEIPTMANAGER_H
26 #define QXMPPMESSAGERECEIPTMANAGER_H
27 
28 #include "QXmppClientExtension.h"
29 
35 
37 {
38  Q_OBJECT
39 public:
41 
43  virtual QStringList discoveryFeatures() const;
44  virtual bool handleStanza(const QDomElement &stanza);
46 
47 signals:
51  void messageDelivered(const QString &jid, const QString &id);
52 };
53 
54 #endif // QXMPPMESSAGERECEIPTMANAGER_H
virtual QStringList discoveryFeatures() const
Definition: QXmppClientExtension.cpp:54
virtual bool handleStanza(const QDomElement &stanza)=0
You need to implement this method to process incoming XMPP stanzas.
The QXmppMessageReceiptManager class makes it possible to send and receive message delivery receipts ...
Definition: QXmppMessageReceiptManager.h:36
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition: QXmppClientExtension.h:47