summaryrefslogtreecommitdiffstats
path: root/examples/client
diff options
context:
space:
mode:
Diffstat (limited to 'examples/client')
-rw-r--r--examples/client/CMakeLists.txt2
-rw-r--r--examples/client/main.cpp3
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)
3include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) 3include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
4 4
5add_executable(${PROJECT_NAME} main.cpp console.cpp) 5add_executable(${PROJECT_NAME} main.cpp console.cpp)
6target_link_libraries(${PROJECT_NAME} sinkcommon) 6target_link_libraries(${PROJECT_NAME} sink)
7qt5_use_modules(${PROJECT_NAME} Widgets Network) 7qt5_use_modules(${PROJECT_NAME} Widgets Network)
8install(TARGETS ${PROJECT_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 8install(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 */
39class StoreBase { 39class StoreBase {
40public: 40public:
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;