diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-06-29 14:10:06 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-08-30 02:46:41 +0200 |
| commit | 6ecc6b6f0272a47d41ce5d619eaa779a29fcf9df (patch) | |
| tree | b304ad33ecadcd1209347b67d525506356d149f0 /client.h | |
| parent | 48cfe26383feb2fcf6638905060c605af8eb2c69 (diff) | |
| download | xxcc-6ecc6b6f0272a47d41ce5d619eaa779a29fcf9df.tar.gz | |
WIP OMEMO
Diffstat (limited to 'client.h')
| -rw-r--r-- | client.h | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,15 +1,30 @@ #ifndef CLIENT_H #define CLIENT_H +#include "omemo_db.h" +#include "trust_db.h" #include <QObject> #include <QString> #include <QXmppClient.h> +#include <QXmppOmemoManager.h> +#include <QXmppOmemoStorage.h> +#include <QXmppPubSubManager.h> +#include <QXmppTrustManager.h> +#include <QXmppTrustStorage.h> class Client : public QXmppClient { public: - Client(QObject *parent = nullptr); + Client(const QString &jid, QObject *parent = nullptr); QString jidBare(); + +private: + const QString jid; + TrustDb trust_db; + QXmppTrustManager trust; + QXmppPubSubManager pubsub; + OmemoDb omemo_db; + QXmppOmemoManager omemo; }; #endif |
