QXmpp Version: 1.5.6
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;
12
13// Documented in QXmppPubSubManager.cpp.
14class 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
Definition QXmppPubSubEventHandler.h:15
virtual bool handlePubSubEvent(const QDomElement &element, const QString &pubSubService, const QString &nodeName)=0
The QXmppPubSubManager aims to provide publish-subscribe functionality as specified in XEP-0060: Publ...
Definition QXmppPubSubManager.h:21