summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/CMakeLists.txt2
-rw-r--r--common/clientapi.h4
-rw-r--r--common/facade.h3
-rw-r--r--common/pipeline.cpp1
-rw-r--r--common/pipeline.h3
-rw-r--r--common/resource.h3
-rw-r--r--common/resourceaccess.h3
7 files changed, 12 insertions, 7 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt
index 4fb8a67..2ece210 100644
--- a/common/CMakeLists.txt
+++ b/common/CMakeLists.txt
@@ -50,5 +50,5 @@ generate_flatbuffers(
50generate_export_header(${PROJECT_NAME} BASE_NAME Akonadi2Common EXPORT_FILE_NAME akonadi2common_export.h) 50generate_export_header(${PROJECT_NAME} BASE_NAME Akonadi2Common EXPORT_FILE_NAME akonadi2common_export.h)
51SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX) 51SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX)
52qt5_use_modules(${PROJECT_NAME} Network) 52qt5_use_modules(${PROJECT_NAME} Network)
53target_link_libraries(${PROJECT_NAME} ${storage_LIBS} KF5Async) 53target_link_libraries(${PROJECT_NAME} ${storage_LIBS} KF5::Async)
54install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 54install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/common/clientapi.h b/common/clientapi.h
index 0ce1691..c098bb5 100644
--- a/common/clientapi.h
+++ b/common/clientapi.h
@@ -28,8 +28,10 @@
28#include <QEventLoop> 28#include <QEventLoop>
29#include <functional> 29#include <functional>
30#include <memory> 30#include <memory>
31
32#include <Async/Async>
33
31#include "threadboundary.h" 34#include "threadboundary.h"
32#include "async/src/async.h"
33#include "resultprovider.h" 35#include "resultprovider.h"
34 36
35namespace async { 37namespace async {
diff --git a/common/facade.h b/common/facade.h
index dcb30b6..5743aa2 100644
--- a/common/facade.h
+++ b/common/facade.h
@@ -23,7 +23,8 @@
23 23
24#include <QByteArray> 24#include <QByteArray>
25 25
26#include "async/src/async.h" 26#include <Async/Async>
27
27#include "resourceaccess.h" 28#include "resourceaccess.h"
28#include "commands.h" 29#include "commands.h"
29#include "createentity_generated.h" 30#include "createentity_generated.h"
diff --git a/common/pipeline.cpp b/common/pipeline.cpp
index ea82720..21cf1c5 100644
--- a/common/pipeline.cpp
+++ b/common/pipeline.cpp
@@ -29,7 +29,6 @@
29#include "metadata_generated.h" 29#include "metadata_generated.h"
30#include "createentity_generated.h" 30#include "createentity_generated.h"
31#include "entitybuffer.h" 31#include "entitybuffer.h"
32#include "async/src/async.h"
33#include "log.h" 32#include "log.h"
34 33
35namespace Akonadi2 34namespace Akonadi2
diff --git a/common/pipeline.h b/common/pipeline.h
index d25fc56..b695bde 100644
--- a/common/pipeline.h
+++ b/common/pipeline.h
@@ -27,7 +27,8 @@
27 27
28#include <akonadi2common_export.h> 28#include <akonadi2common_export.h>
29#include <storage.h> 29#include <storage.h>
30#include "async/src/async.h" 30
31#include <Async/Async>
31 32
32#include "entity_generated.h" 33#include "entity_generated.h"
33 34
diff --git a/common/resource.h b/common/resource.h
index 170e080..ea1e9d8 100644
--- a/common/resource.h
+++ b/common/resource.h
@@ -21,7 +21,8 @@
21#include <akonadi2common_export.h> 21#include <akonadi2common_export.h>
22#include <clientapi.h> 22#include <clientapi.h>
23#include <pipeline.h> 23#include <pipeline.h>
24#include <async/src/async.h> 24
25#include <Async/Async>
25 26
26namespace Akonadi2 27namespace Akonadi2
27{ 28{
diff --git a/common/resourceaccess.h b/common/resourceaccess.h
index 648b12e..b779db9 100644
--- a/common/resourceaccess.h
+++ b/common/resourceaccess.h
@@ -24,8 +24,9 @@
24#include <QObject> 24#include <QObject>
25#include <QTimer> 25#include <QTimer>
26 26
27#include <Async/Async>
28
27#include <flatbuffers/flatbuffers.h> 29#include <flatbuffers/flatbuffers.h>
28#include <async/src/async.h>
29 30
30namespace Akonadi2 31namespace Akonadi2
31{ 32{