aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/e2ee.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/e2ee.h')
-rw-r--r--lib/crypto/e2ee.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/crypto/e2ee.h b/lib/crypto/e2ee.h
index 2d280185..41cd2878 100644
--- a/lib/crypto/e2ee.h
+++ b/lib/crypto/e2ee.h
@@ -49,6 +49,12 @@ struct Encrypted {
using PicklingMode = std::variant<Unencrypted, Encrypted>;
+class QOlmSession;
+using QOlmSessionPtr = std::unique_ptr<QOlmSession>;
+
+class QOlmInboundGroupSession;
+using QOlmInboundGroupSessionPtr = std::unique_ptr<QOlmInboundGroupSession>;
+
template<class... Ts> struct overloaded : Ts... { using Ts::operator()...; };
template<class... Ts> overloaded(Ts...) -> overloaded<Ts...>;