ref(omemo): add qomemo/variant
This commit is contained in:
parent
006752b31c
commit
12ffe8e8e6
18 changed files with 366 additions and 222 deletions
23
qomemo/variant/conversations.h
Normal file
23
qomemo/variant/conversations.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue