diff options
Diffstat (limited to 'examples/dummyresource/resourcefacade.h')
-rw-r--r-- | examples/dummyresource/resourcefacade.h | 11 |
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 | |||
27 | namespace Akonadi2 { | ||
28 | class Query; | ||
29 | } | ||
25 | 30 | ||
26 | class QSettings; | 31 | class 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 | ||
42 | private: | 47 | private: |
43 | QSharedPointer<QSettings> getSettings(); | 48 | QSharedPointer<QSettings> getSettings(); |