Make a few headers forward declarations
3 files changed, 5 insertions, 5 deletions
diff --git a/src/encryption/DeviceVerificationFlow.cpp b/src/encryption/DeviceVerificationFlow.cpp
index ac228669..cb595df0 100644
--- a/src/encryption/DeviceVerificationFlow.cpp
+++ b/src/encryption/DeviceVerificationFlow.cpp
@@ -15,6 +15,7 @@
#include "Cache_p.h"
#include "ChatPage.h"
#include "Logging.h"
+#include "MatrixClient.h"
#include "Utils.h"
#include "timeline/TimelineModel.h"
diff --git a/src/encryption/DeviceVerificationFlow.h b/src/encryption/DeviceVerificationFlow.h
index 6f8f413e..f78f0dbd 100644
--- a/src/encryption/DeviceVerificationFlow.h
+++ b/src/encryption/DeviceVerificationFlow.h
@@ -5,13 +5,11 @@
#pragma once
#include <QObject>
+#include <QQmlEngine>
-#include <mtx/responses/crypto.hpp>
#include <mtxclient/crypto/client.hpp>
#include "CacheCryptoStructs.h"
-#include "Logging.h"
-#include "MatrixClient.h"
class QTimer;
class TimelineModel;
@@ -152,8 +150,6 @@ public:
bool isSelfVerification() const;
bool isMultiDeviceVerification() const { return deviceIds.size() > 1; }
- void callback_fn(const UserKeyCache &res, mtx::http::RequestErr err, std::string user_id);
-
public slots:
//! unverifies a device
void unverify();
diff --git a/src/encryption/VerificationManager.cpp b/src/encryption/VerificationManager.cpp
index 985bd619..2b5b7f20 100644
--- a/src/encryption/VerificationManager.cpp
+++ b/src/encryption/VerificationManager.cpp
@@ -9,6 +9,9 @@
#include "Cache.h"
#include "ChatPage.h"
#include "DeviceVerificationFlow.h"
+#include "Logging.h"
+#include "timeline/RoomlistModel.h"
+#include "timeline/TimelineModel.h"
#include "timeline/TimelineViewManager.h"
VerificationManager::VerificationManager(TimelineViewManager *o)
|