aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-25 17:05:59 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-09-04 18:42:11 +0200
commit3fa9afc796788e0c7f44db15c21a5ba1294d3b2d (patch)
treed45f495489b9c42ef0b2255afc14f472d04e97a8
parentd5eef705b2b5d9dec17d72ab27cbdd48a1391485 (diff)
downloadlibquotient-3fa9afc796788e0c7f44db15c21a5ba1294d3b2d.tar.gz
libquotient-3fa9afc796788e0c7f44db15c21a5ba1294d3b2d.zip
Remove #include "logging.h" from event.h
We don't expose logging internals to the outside world.
-rw-r--r--lib/events/encryptedevent.cpp1
-rw-r--r--lib/events/encryptionevent.cpp1
-rw-r--r--lib/events/event.h1
-rw-r--r--lib/events/roommemberevent.cpp3
-rw-r--r--lib/events/stateevent.cpp1
-rw-r--r--lib/syncdata.cpp2
6 files changed, 6 insertions, 3 deletions
diff --git a/lib/events/encryptedevent.cpp b/lib/events/encryptedevent.cpp
index c539d5b2..e9b4a585 100644
--- a/lib/events/encryptedevent.cpp
+++ b/lib/events/encryptedevent.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "encryptedevent.h"
+#include "logging.h"
using namespace Quotient;
diff --git a/lib/events/encryptionevent.cpp b/lib/events/encryptionevent.cpp
index 8872447b..b1b04984 100644
--- a/lib/events/encryptionevent.cpp
+++ b/lib/events/encryptionevent.cpp
@@ -3,6 +3,7 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "encryptionevent.h"
+#include "logging.h"
#include "e2ee/e2ee.h"
diff --git a/lib/events/event.h b/lib/events/event.h
index 8a8d64b0..4b715813 100644
--- a/lib/events/event.h
+++ b/lib/events/event.h
@@ -4,7 +4,6 @@
#pragma once
#include "converters.h"
-#include "logging.h"
#include "function_traits.h"
#include "single_key_value.h"
diff --git a/lib/events/roommemberevent.cpp b/lib/events/roommemberevent.cpp
index 953ff8ae..4e7eae1b 100644
--- a/lib/events/roommemberevent.cpp
+++ b/lib/events/roommemberevent.cpp
@@ -3,8 +3,7 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "roommemberevent.h"
-
-#include <QtCore/QtAlgorithms>
+#include "logging.h"
namespace Quotient {
template <>
diff --git a/lib/events/stateevent.cpp b/lib/events/stateevent.cpp
index e117f8a0..204044bb 100644
--- a/lib/events/stateevent.cpp
+++ b/lib/events/stateevent.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: LGPL-2.1-or-later
#include "stateevent.h"
+#include "logging.h"
using namespace Quotient;
diff --git a/lib/syncdata.cpp b/lib/syncdata.cpp
index eb6c932b..ec7203af 100644
--- a/lib/syncdata.cpp
+++ b/lib/syncdata.cpp
@@ -3,6 +3,8 @@
#include "syncdata.h"
+#include "logging.h"
+
#include <QtCore/QFile>
#include <QtCore/QFileInfo>