squawk/qomemo/bundle.h

35 lines
470 B
C
Raw Normal View History

2021-05-12 21:32:13 +00:00
/*
* Created by victoria on 2021-05-12.
*/
#pragma once
#include <QList>
#include <QString>
2021-07-22 17:45:39 +00:00
#include <QBuffer>
2021-05-12 21:32:13 +00:00
class QXmppPubSubIq;
2021-05-13 14:54:37 +00:00
2021-05-12 21:32:13 +00:00
class QXmppElement;
2021-05-13 14:54:37 +00:00
2021-05-12 21:32:13 +00:00
class QXmppIq;
namespace QXmpp::Omemo {
2021-05-13 14:54:37 +00:00
class PreKey {
public:
int id;
2021-07-22 17:45:39 +00:00
QByteArray data;
2021-05-13 14:54:37 +00:00
};
class Bundle {
public:
2021-07-22 17:45:39 +00:00
QByteArray spk;
2021-05-13 14:54:37 +00:00
int spkId;
2021-07-22 17:45:39 +00:00
QByteArray spks;
QByteArray ik;
2021-05-13 14:54:37 +00:00
QList<PreKey> prekeys;
};
2021-05-12 21:32:13 +00:00
2021-05-13 14:50:59 +00:00
} // namespace QXmpp::Omemo