summaryrefslogtreecommitdiffstats
path: root/examples/dummyresource/resourcefacade.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-13 01:27:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-13 01:27:21 +0200
commitb6d5d206de4d02149c6530236154283bf834087a (patch)
tree0d57764b674df3ffee1df3f3e9fb1690ae06bbdc /examples/dummyresource/resourcefacade.h
parent7c9ae062101b5dc8f963c70fb753f8346a9b5c48 (diff)
downloadsink-b6d5d206de4d02149c6530236154283bf834087a.tar.gz
sink-b6d5d206de4d02149c6530236154283bf834087a.zip
Untangled the include dependencies a bit.
We no longer depend on clientapi.h from everywhere.
Diffstat (limited to 'examples/dummyresource/resourcefacade.h')
-rw-r--r--examples/dummyresource/resourcefacade.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/examples/dummyresource/resourcefacade.h b/examples/dummyresource/resourcefacade.h
index 5d0291c..5a5f46b 100644
--- a/examples/dummyresource/resourcefacade.h
+++ b/examples/dummyresource/resourcefacade.h
@@ -19,9 +19,14 @@
19 19
20#pragma once 20#pragma once
21 21
22#include "common/clientapi.h"
23
24#include <Async/Async> 22#include <Async/Async>
23#include <common/domain/applicationdomaintype.h>
24#include <common/resultprovider.h>
25#include <common/facadeinterface.h>
26
27namespace Akonadi2 {
28 class Query;
29}
25 30
26class QSettings; 31class QSettings;
27 32
@@ -37,7 +42,7 @@ public:
37 //Remove instance 42 //Remove instance
38 KAsync::Job<void> remove(const Akonadi2::ApplicationDomain::AkonadiResource &domainObject) Q_DECL_OVERRIDE; 43 KAsync::Job<void> remove(const Akonadi2::ApplicationDomain::AkonadiResource &domainObject) Q_DECL_OVERRIDE;
39 //Read configuration and available instances 44 //Read configuration and available instances
40 KAsync::Job<void> load(const Akonadi2::Query &query, const QSharedPointer<async::ResultProvider<typename Akonadi2::ApplicationDomain::AkonadiResource::Ptr> > &resultProvider) Q_DECL_OVERRIDE; 45 KAsync::Job<void> load(const Akonadi2::Query &query, const QSharedPointer<Akonadi2::ResultProvider<typename Akonadi2::ApplicationDomain::AkonadiResource::Ptr> > &resultProvider) Q_DECL_OVERRIDE;
41 46
42private: 47private:
43 QSharedPointer<QSettings> getSettings(); 48 QSharedPointer<QSettings> getSettings();