QXmpp: QXmppMessageHandler.h Source File

QXmpp Version: 1.14.4

Loading...
Searching...
No Matches
QXmppMessageHandler.h
1// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPMESSAGEHANDLER_H
6#define QXMPPMESSAGEHANDLER_H
7
8#include "QXmppExtension.h"
9#include "QXmppMessage.h"
10
11#include <variant>
12
13#include <QFuture>
14
15 class QXMPP_EXPORT QXmppMessageHandler : public QXmppExtension
16{
17public:
18 virtual bool handleMessage(const QXmppMessage &) = 0;
19};
20
21#endif // QXMPPMESSAGEHANDLER_H
QXmppMessageHandler
Definition QXmppMessageHandler.h:16
QXmppMessageHandler::handleMessage
virtual bool handleMessage(const QXmppMessage &)=0
QXmppMessage
The QXmppMessage class represents an XMPP message.
Definition QXmppMessage.h:64