diff options
Diffstat (limited to 'dummyresource/resourcefactory.h')
-rw-r--r-- | dummyresource/resourcefactory.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dummyresource/resourcefactory.h b/dummyresource/resourcefactory.h index 7c40084..807a654 100644 --- a/dummyresource/resourcefactory.h +++ b/dummyresource/resourcefactory.h | |||
@@ -21,6 +21,8 @@ | |||
21 | 21 | ||
22 | #include "common/resource.h" | 22 | #include "common/resource.h" |
23 | 23 | ||
24 | #include <flatbuffers/flatbuffers.h> | ||
25 | |||
24 | //TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA | 26 | //TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA |
25 | #define PLUGIN_NAME "org.kde.dummy" | 27 | #define PLUGIN_NAME "org.kde.dummy" |
26 | 28 | ||
@@ -28,7 +30,11 @@ class DummyResource : public Akonadi2::Resource | |||
28 | { | 30 | { |
29 | public: | 31 | public: |
30 | DummyResource(); | 32 | DummyResource(); |
31 | void synchronizeWithSource(); | 33 | void synchronizeWithSource(Akonadi2::Pipeline *pipeline); |
34 | void processCommand(int commandId, const QByteArray &data, uint size, Akonadi2::Pipeline *pipeline); | ||
35 | |||
36 | private: | ||
37 | flatbuffers::FlatBufferBuilder m_fbb; | ||
32 | }; | 38 | }; |
33 | 39 | ||
34 | class DummyResourceFactory : public Akonadi2::ResourceFactory | 40 | class DummyResourceFactory : public Akonadi2::ResourceFactory |