summary refs log tree commit diff
path: root/src/Cache_p.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-06-18 01:35:30 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-06-18 02:31:01 +0200
commit35ff02ce485f42d4ab74298048f50cffb84db472 (patch)
tree245f7efa81f7417872263159358d72ccd6c6871e /src/Cache_p.h
parentSupport the knock_restricted rule (diff)
downloadnheko-35ff02ce485f42d4ab74298048f50cffb84db472.tar.xz
Remove a few more headers
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r--src/Cache_p.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h
index 988dc04f..de123a95 100644
--- a/src/Cache_p.h
+++ b/src/Cache_p.h
@@ -11,8 +11,6 @@
 #include <optional>
 
 #include <QDateTime>
-#include <QDir>
-#include <QImage>
 #include <QString>
 
 #if __has_include(<lmdbxx/lmdb++.h>)
@@ -22,16 +20,19 @@
 #endif
 #include <nlohmann/json.hpp>
 
-#include <mtx/responses/messages.hpp>
 #include <mtx/responses/notifications.hpp>
 #include <mtx/responses/sync.hpp>
-#include <mtxclient/crypto/client.hpp>
+#include <mtxclient/crypto/types.hpp>
 #include <mtxclient/http/client.hpp>
 
 #include "CacheCryptoStructs.h"
 #include "CacheStructs.h"
 #include "Logging.h"
 
+namespace mtx::responses {
+struct Messages;
+}
+
 class Cache : public QObject
 {
     Q_OBJECT