Make a few headers forward declarations

This commit is contained in:
Nicolas Werner 2024-03-16 03:55:57 +01:00
parent 06927cd3c2
commit aef9617d1e
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9
39 changed files with 198 additions and 118 deletions

View file

@ -15,6 +15,7 @@
#include "Cache_p.h"
#include "ChatPage.h"
#include "Logging.h"
#include "MatrixClient.h"
#include "Utils.h"
#include "timeline/TimelineModel.h"

View file

@ -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();

View file

@ -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)