aboutsummaryrefslogtreecommitdiff
path: root/client.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-08-28 00:20:54 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-09-18 10:35:30 +0200
commit5bbe04c9ca091a0626f34afe5e3ba2141e2963de (patch)
tree35e76183618fe557b4ded5735fb846e3c6cf3995 /client.h
parentd32b9e93572c5e6999a7323139de38cc1a7197cf (diff)
downloadxxcc-5bbe04c9ca091a0626f34afe5e3ba2141e2963de.tar.gz
WIP OMEMO TrustDb/JidDb
Diffstat (limited to 'client.h')
-rw-r--r--client.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/client.h b/client.h
index 0a54d68..3da53e8 100644
--- a/client.h
+++ b/client.h
@@ -1,12 +1,16 @@
#ifndef CLIENT_H
#define CLIENT_H
-#include "omemo_db.h"
+#include "atm_db.h"
#include "jiddb.h"
+#include "omemo_db.h"
#include "trust_db.h"
#include <QObject>
#include <QString>
+#include <QXmppAtmManager.h>
+#include <QXmppCarbonManagerV2.h>
#include <QXmppClient.h>
+#include <QXmppMamManager.h>
#include <QXmppOmemoManager.h>
#include <QXmppOmemoStorage.h>
#include <QXmppPubSubManager.h>
@@ -22,10 +26,12 @@ public:
JidDb &database();
private:
+ QXmppCarbonManagerV2 carbon;
+ QXmppMamManager mam;
const QString jid;
JidDb db;
- TrustDb trust_db;
- QXmppTrustManager trust;
+ AtmDb atm_db;
+ QXmppAtmManager atm;
QXmppPubSubManager pubsub;
OmemoDb omemo_db;
QXmppOmemoManager omemo;