diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-16 08:25:14 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-16 08:25:14 +0100 |
commit | ed7fdbcf6beb40960cf91555ae1d506278b852d8 (patch) | |
tree | 466b262e1d9c2efd63acb44170bdd1add1b98469 /dummyresource | |
parent | 52787e9469cc1892e9e221b877d0ffd81d7a817a (diff) | |
download | sink-ed7fdbcf6beb40960cf91555ae1d506278b852d8.tar.gz sink-ed7fdbcf6beb40960cf91555ae1d506278b852d8.zip |
move client classes into akonadi2common and add the base class for resource plugins
we can divide up libakonadi2common later once we have a full collection of classes
this makes writing code a bit simpler now as we don't have to figuer out which
libraries to link against or how class dependencies should look. when we have
more infrastructure in place this will mostly become self-evident
Diffstat (limited to 'dummyresource')
-rw-r--r-- | dummyresource/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dummyresource/facade.cpp | 3 | ||||
-rw-r--r-- | dummyresource/facade.h | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/dummyresource/CMakeLists.txt b/dummyresource/CMakeLists.txt index e4a7ce2..e03fd4c 100644 --- a/dummyresource/CMakeLists.txt +++ b/dummyresource/CMakeLists.txt | |||
@@ -6,7 +6,7 @@ generate_flatbuffers(dummycalendar) | |||
6 | 6 | ||
7 | #Client plugin | 7 | #Client plugin |
8 | add_library(${PROJECT_NAME} SHARED facade.cpp) | 8 | add_library(${PROJECT_NAME} SHARED facade.cpp) |
9 | target_link_libraries(${PROJECT_NAME} akonadi2common akonadi2_client) | 9 | target_link_libraries(${PROJECT_NAME} akonadi2common) |
10 | qt5_use_modules(${PROJECT_NAME} Core) | 10 | qt5_use_modules(${PROJECT_NAME} Core) |
11 | #install(TARGETS ${PROJECT_NAME} DESTINATION lib) | 11 | #install(TARGETS ${PROJECT_NAME} DESTINATION lib) |
12 | 12 | ||
diff --git a/dummyresource/facade.cpp b/dummyresource/facade.cpp index 45e891c..0d47010 100644 --- a/dummyresource/facade.cpp +++ b/dummyresource/facade.cpp | |||
@@ -21,7 +21,8 @@ | |||
21 | 21 | ||
22 | #include <QDebug> | 22 | #include <QDebug> |
23 | #include <functional> | 23 | #include <functional> |
24 | #include "client/resourceaccess.h" | 24 | |
25 | #include "common/resourceaccess.h" | ||
25 | #include "dummycalendar_generated.h" | 26 | #include "dummycalendar_generated.h" |
26 | 27 | ||
27 | using namespace DummyCalendar; | 28 | using namespace DummyCalendar; |
diff --git a/dummyresource/facade.h b/dummyresource/facade.h index 11b1de0..f179c06 100644 --- a/dummyresource/facade.h +++ b/dummyresource/facade.h | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include "client/clientapi.h" | 22 | #include "common/clientapi.h" |
23 | #include "common/storage.h" | 23 | #include "common/storage.h" |
24 | 24 | ||
25 | class ResourceAccess; | 25 | class ResourceAccess; |