From 1c7e8fd482bb67a5487449948488bd286a3504c1 Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Wed, 17 Dec 2014 08:27:31 +0100 Subject: a basically-working Pipeline implementation still a skeleton rather than a full body with flesh and blood, but it is getting there! --- dummyresource/resourcefactory.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dummyresource/resourcefactory.h') 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 @@ #include "common/resource.h" +#include + //TODO: a little ugly to have this in two places, once here and once in Q_PLUGIN_METADATA #define PLUGIN_NAME "org.kde.dummy" @@ -28,7 +30,11 @@ class DummyResource : public Akonadi2::Resource { public: DummyResource(); - void synchronizeWithSource(); + void synchronizeWithSource(Akonadi2::Pipeline *pipeline); + void processCommand(int commandId, const QByteArray &data, uint size, Akonadi2::Pipeline *pipeline); + +private: + flatbuffers::FlatBufferBuilder m_fbb; }; class DummyResourceFactory : public Akonadi2::ResourceFactory -- cgit v1.2.3