QXmpp: QXmppPubSubEventHandler.h Source File

QXmpp Version: 1.14.2

Loading...
Searching...
No Matches
QXmppPubSubEventHandler.h
1// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPPUBSUBEVENTHANDLER_H
6#define QXMPPPUBSUBEVENTHANDLER_H
7
8#include "QXmppExtension.h"
9
10class QDomElement;
11class QXmppPubSubManager;
12
13// Documented in QXmppPubSubManager.cpp.
14 class QXMPP_EXPORT QXmppPubSubEventHandler : public QXmppExtension
15{
16public:
17 virtual bool handlePubSubEvent(const QDomElement &element, const QString &pubSubService, const QString &nodeName) = 0;
18};
19
20#endif // QXMPPPUBSUBEVENTHANDLER_H
QXmppPubSubEventHandler
Definition QXmppPubSubEventHandler.h:15
QXmppPubSubEventHandler::handlePubSubEvent
virtual bool handlePubSubEvent(const QDomElement &element, const QString &pubSubService, const QString &nodeName)=0
QXmppPubSubManager
The QXmppPubSubManager aims to provide publish-subscribe functionality as specified in XEP-0060: Publ...
Definition QXmppPubSubManager.h:21