From aef9617d1ec7f73a394ed4bb43b4436e27225176 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 16 Mar 2024 03:55:57 +0100 Subject: Make a few headers forward declarations --- src/encryption/DeviceVerificationFlow.cpp | 1 + src/encryption/DeviceVerificationFlow.h | 6 +----- src/encryption/VerificationManager.cpp | 3 +++ 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/encryption') 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 +#include -#include #include #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) -- cgit 1.5.1