Loading...
Searching...
No Matches
QXmppNonza.h
// SPDX-FileCopyrightText: 2021 Linus Jahn <lnj@kaidan.im>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef QXMPPNONZA_H
#define QXMPPNONZA_H
#include "QXmppGlobal.h"
class QXmlStreamWriter;
class QDomElement;
class QXmppNonza
{
public:
QXmppNonza() = default;
virtual ~QXmppNonza() = default;
virtual inline bool isXmppStanza() const { return false; }
virtual void parse(const QDomElement &) = 0;
virtual void toXml(QXmlStreamWriter *writer) const = 0;
};
#endif // QXMPPNONZA_H
QXmppNonza
Definition QXmppNonza.h:14
QXmppNonza::parse
virtual void parse(const QDomElement &)=0
QXmppNonza::isXmppStanza
virtual bool isXmppStanza() const
Definition QXmppNonza.h:19
QXmppNonza::toXml
virtual void toXml(QXmlStreamWriter *writer) const =0