ref(omemo): add qomemo/variant

This commit is contained in:
vae 2021-05-13 00:32:13 +03:00
parent 006752b31c
commit 12ffe8e8e6
Signed by untrusted user: vae
GPG key ID: A9A33351400E00E5
18 changed files with 366 additions and 222 deletions

View file

@ -0,0 +1,23 @@
/*
* Created by victoria on 2021-05-13.
*/
#pragma once
#include "omemo_base.h"
namespace QXmpp::Omemo::Variant {
class Conversations : public Base {
public:
~Conversations() override = default;
QXmppElement deviceToXml(const Device &device) override;
Device deviceFromXml(const QXmppElement &xml) override;
QXmppElement deviceListToXml(const DeviceList &deviceList) override;
DeviceList deviceListFromXml(const QXmppElement &xml) override;
QXmppIq deviceListSetIq(const DeviceList &deviceList) override;
};
} // namespace QXmpp::Omemo::Variant