aboutsummaryrefslogtreecommitdiff
path: root/lib/e2ee/qolmsession.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-14 20:51:05 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-05-16 06:41:25 +0200
commit3fcc0c5acb160364e819688cc67a8aaf814fafef (patch)
tree0c3dae76fe36491cf30192fcd9f11e6afff2ba13 /lib/e2ee/qolmsession.h
parent0599ef6e603dce219b2ba000d7322e8d937753b9 (diff)
downloadlibquotient-3fcc0c5acb160364e819688cc67a8aaf814fafef.tar.gz
libquotient-3fcc0c5acb160364e819688cc67a8aaf814fafef.zip
Optimise #includes for QOlm* classes
Diffstat (limited to 'lib/e2ee/qolmsession.h')
-rw-r--r--lib/e2ee/qolmsession.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/e2ee/qolmsession.h b/lib/e2ee/qolmsession.h
index f20c9837..4eb151b6 100644
--- a/lib/e2ee/qolmsession.h
+++ b/lib/e2ee/qolmsession.h
@@ -4,17 +4,14 @@
#pragma once
-#include <QDebug>
-#include <olm/olm.h> // FIXME: OlmSession
#include "e2ee/e2ee.h"
#include "e2ee/qolmmessage.h"
#include "e2ee/qolmerrors.h"
#include "e2ee/qolmaccount.h"
-namespace Quotient {
+struct OlmSession;
-class QOlmAccount;
-class QOlmSession;
+namespace Quotient {
//! Either an outbound or inbound session for secure communication.
class QUOTIENT_API QOlmSession