QXmpp  Version: 1.5.5
QXmppMessageReceiptManager.h
1 // SPDX-FileCopyrightText: 2019 Georg Rudoy <0xd34df00d@gmail.com>
2 // SPDX-FileCopyrightText: 2012 Jeremy LainĂ© <jeremy.laine@m4x.org>
3 //
4 // SPDX-License-Identifier: LGPL-2.1-or-later
5 
6 #ifndef QXMPPMESSAGERECEIPTMANAGER_H
7 #define QXMPPMESSAGERECEIPTMANAGER_H
8 
9 #include "QXmppClientExtension.h"
10 #include "QXmppMessageHandler.h"
11 
20 {
21  Q_OBJECT
22 public:
24 
26  QStringList discoveryFeatures() const override;
27  bool handleMessage(const QXmppMessage &) override;
29 
30 Q_SIGNALS:
34  void messageDelivered(const QString &jid, const QString &id);
35 };
36 
37 #endif // QXMPPMESSAGERECEIPTMANAGER_H
The QXmppClientExtension class is the base class for QXmppClient extensions.
Definition: QXmppClientExtension.h:33
virtual QStringList discoveryFeatures() const
Definition: QXmppClientExtension.cpp:22
Definition: QXmppMessageHandler.h:16
virtual bool handleMessage(const QXmppMessage &)=0
The QXmppMessageReceiptManager class makes it possible to send and receive message delivery receipts ...
Definition: QXmppMessageReceiptManager.h:20
void messageDelivered(const QString &jid, const QString &id)
The QXmppMessage class represents an XMPP message.
Definition: QXmppMessage.h:35