diff options
Diffstat (limited to 'examples/client')
-rw-r--r-- | examples/client/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/client/main.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/examples/client/CMakeLists.txt b/examples/client/CMakeLists.txt index 85840c4..ef00368 100644 --- a/examples/client/CMakeLists.txt +++ b/examples/client/CMakeLists.txt | |||
@@ -3,6 +3,6 @@ project(sink_client) | |||
3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | 3 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) |
4 | 4 | ||
5 | add_executable(${PROJECT_NAME} main.cpp console.cpp) | 5 | add_executable(${PROJECT_NAME} main.cpp console.cpp) |
6 | target_link_libraries(${PROJECT_NAME} sinkcommon) | 6 | target_link_libraries(${PROJECT_NAME} sink) |
7 | qt5_use_modules(${PROJECT_NAME} Widgets Network) | 7 | qt5_use_modules(${PROJECT_NAME} Widgets Network) |
8 | install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 8 | install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) |
diff --git a/examples/client/main.cpp b/examples/client/main.cpp index f437c19..07e780e 100644 --- a/examples/client/main.cpp +++ b/examples/client/main.cpp | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <QCommandLineOption> | 22 | #include <QCommandLineOption> |
23 | #include <QTime> | 23 | #include <QTime> |
24 | 24 | ||
25 | #include "common/clientapi.h" | 25 | #include "common/store.h" |
26 | #include "common/log.h" | 26 | #include "common/log.h" |
27 | 27 | ||
28 | #include <QWidget> | 28 | #include <QWidget> |
@@ -38,6 +38,7 @@ | |||
38 | */ | 38 | */ |
39 | class StoreBase { | 39 | class StoreBase { |
40 | public: | 40 | public: |
41 | virtual ~StoreBase(){}; | ||
41 | virtual Sink::ApplicationDomain::ApplicationDomainType::Ptr getObject() = 0; | 42 | virtual Sink::ApplicationDomain::ApplicationDomainType::Ptr getObject() = 0; |
42 | virtual Sink::ApplicationDomain::ApplicationDomainType::Ptr getObject(const QByteArray &resourceInstanceIdentifier, const QByteArray &identifier = QByteArray()) = 0; | 43 | virtual Sink::ApplicationDomain::ApplicationDomainType::Ptr getObject(const QByteArray &resourceInstanceIdentifier, const QByteArray &identifier = QByteArray()) = 0; |
43 | virtual KAsync::Job<void> create(const Sink::ApplicationDomain::ApplicationDomainType &type) = 0; | 44 | virtual KAsync::Job<void> create(const Sink::ApplicationDomain::ApplicationDomainType &type) = 0; |