QXmpp Version: 1.5.6
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
15class QXMPP_EXPORT QXmppMessageHandler : public QXmppExtension
16{
17public:
18 virtual bool handleMessage(const QXmppMessage &) = 0;
19};
20
21#endif // QXMPPMESSAGEHANDLER_H
Definition QXmppMessageHandler.h:16
virtual bool handleMessage(const QXmppMessage &)=0
The QXmppMessage class represents an XMPP message.
Definition QXmppMessage.h:35