QXmpp Version: 1.5.6
Loading...
Searching...
No Matches
QXmppNonza.h
1// SPDX-FileCopyrightText: 2021 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPNONZA_H
6#define QXMPPNONZA_H
7
8#include "QXmppGlobal.h"
9
10class QXmlStreamWriter;
11class QDomElement;
12
14{
15public:
16 QXmppNonza() = default;
17 virtual ~QXmppNonza() = default;
18
19 virtual inline bool isXmppStanza() const { return false; }
20 virtual void parse(const QDomElement &) = 0;
21 virtual void toXml(QXmlStreamWriter *writer) const = 0;
22};
23
24#endif // QXMPPNONZA_H
Definition QXmppNonza.h:14
virtual void parse(const QDomElement &)=0
virtual bool isXmppStanza() const
Definition QXmppNonza.h:19
virtual void toXml(QXmlStreamWriter *writer) const =0