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/Cache_p.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/Cache_p.h') diff --git a/src/Cache_p.h b/src/Cache_p.h index 24ea2939..ad03bb0e 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h @@ -19,13 +19,14 @@ #include #include #include -#include +#include #include "CacheCryptoStructs.h" #include "CacheStructs.h" namespace mtx::responses { struct Messages; +struct StateEvents; } class Cache final : public QObject @@ -51,8 +52,9 @@ public: lmdb::dbi &db, const std::vector &user_ids, const std::string &sync_token); - void query_keys(const std::string &user_id, - std::function cb); + void query_keys( + const std::string &user_id, + std::function &)> cb); // device & user verification cache std::optional userKeys(const std::string &user_id); -- cgit 1.5.1