From 9b2257d680a5e4fa2fda8cf3302f25054a06710e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sun, 28 Dec 2014 14:44:50 +0100 Subject: Buffers wrapped into entity buffer, async command progress tracking. --- dummyresource/resourcefactory.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dummyresource/resourcefactory.h') 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 @@ #pragma once #include "common/resource.h" +#include "async/src/async.h" #include @@ -30,7 +31,7 @@ class DummyResource : public Akonadi2::Resource { public: DummyResource(); - void synchronizeWithSource(Akonadi2::Pipeline *pipeline); + Async::Job synchronizeWithSource(Akonadi2::Pipeline *pipeline); void processCommand(int commandId, const QByteArray &data, uint size, Akonadi2::Pipeline *pipeline); private: -- cgit v1.2.3