diff options
Diffstat (limited to 'dummyresource/resourcefactory.h')
-rw-r--r-- | dummyresource/resourcefactory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dummyresource/resourcefactory.h b/dummyresource/resourcefactory.h index 807a654..dba674f 100644 --- a/dummyresource/resourcefactory.h +++ b/dummyresource/resourcefactory.h | |||
@@ -20,6 +20,7 @@ | |||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include "common/resource.h" | 22 | #include "common/resource.h" |
23 | #include "async/src/async.h" | ||
23 | 24 | ||
24 | #include <flatbuffers/flatbuffers.h> | 25 | #include <flatbuffers/flatbuffers.h> |
25 | 26 | ||
@@ -30,7 +31,7 @@ class DummyResource : public Akonadi2::Resource | |||
30 | { | 31 | { |
31 | public: | 32 | public: |
32 | DummyResource(); | 33 | DummyResource(); |
33 | void synchronizeWithSource(Akonadi2::Pipeline *pipeline); | 34 | Async::Job<void> synchronizeWithSource(Akonadi2::Pipeline *pipeline); |
34 | void processCommand(int commandId, const QByteArray &data, uint size, Akonadi2::Pipeline *pipeline); | 35 | void processCommand(int commandId, const QByteArray &data, uint size, Akonadi2::Pipeline *pipeline); |
35 | 36 | ||
36 | private: | 37 | private: |