aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client.h')
-rw-r--r--client.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/client.h b/client.h
index 4d8e5ca..3991e90 100644
--- a/client.h
+++ b/client.h
@@ -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