diff options
| author | Melvin Keskin <melvo@olomono.de> | 2022-03-25 20:01:34 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-04-07 19:33:45 +0200 |
| commit | adc51b73256e92cf59ac7645c4a6f8343f134288 (patch) | |
| tree | 9a8241cf8d35d85da1b07d08bbc19a73b3fec8d2 /src/base/QXmppOmemoDeviceElement.h | |
| parent | 71f46efa773bbbc02e9c75dee8365499bdd887f0 (diff) | |
| download | qxmpp-adc51b73256e92cf59ac7645c4a6f8343f134288.tar.gz | |
Make OMEMO data classes private
Diffstat (limited to 'src/base/QXmppOmemoDeviceElement.h')
| -rw-r--r-- | src/base/QXmppOmemoDeviceElement.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/base/QXmppOmemoDeviceElement.h b/src/base/QXmppOmemoDeviceElement.h deleted file mode 100644 index 4788ca69..00000000 --- a/src/base/QXmppOmemoDeviceElement.h +++ /dev/null @@ -1,46 +0,0 @@ -// SPDX-FileCopyrightText: 2021 Germán Márquez Mejía <mancho@olomono.de> -// SPDX-FileCopyrightText: 2021 Melvin Keskin <melvo@olomono.de> -// -// SPDX-License-Identifier: LGPL-2.1-or-later - -#ifndef QXMPPOMEMODEVICEELEMENT_H -#define QXMPPOMEMODEVICEELEMENT_H - -#include "QXmppGlobal.h" - -#include <QSharedDataPointer> - -class QDomElement; -class QXmppOmemoDeviceElementPrivate; -class QXmlStreamWriter; - -class QXMPP_EXPORT QXmppOmemoDeviceElement -{ -public: - QXmppOmemoDeviceElement(); - QXmppOmemoDeviceElement(const QXmppOmemoDeviceElement &other); - ~QXmppOmemoDeviceElement(); - - QXmppOmemoDeviceElement &operator=(const QXmppOmemoDeviceElement &other); - bool operator==(const QXmppOmemoDeviceElement &other) const; - - uint32_t id() const; - void setId(uint32_t id); - - QString label() const; - void setLabel(const QString &label); - - /// \cond - void parse(const QDomElement &element); - void toXml(QXmlStreamWriter *writer) const; - /// \endcond - - static bool isOmemoDeviceElement(const QDomElement &element); - -private: - QSharedDataPointer<QXmppOmemoDeviceElementPrivate> d; -}; - -Q_DECLARE_TYPEINFO(QXmppOmemoDeviceElement, Q_MOVABLE_TYPE); - -#endif // QXMPPOMEMODEVICEELEMENT_H |
