From 01adeefb24bf72f1015e93aa5f075f93f56d94da Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 30 Jul 2015 13:43:31 +0200 Subject: Made the pipeline an implementation detail of the resource. This removes one dependency from the Listener and will allow us to test the Listener better. --- examples/dummyresource/resourcefactory.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'examples/dummyresource/resourcefactory.h') diff --git a/examples/dummyresource/resourcefactory.h b/examples/dummyresource/resourcefactory.h index f2362bc..4baafa7 100644 --- a/examples/dummyresource/resourcefactory.h +++ b/examples/dummyresource/resourcefactory.h @@ -32,9 +32,8 @@ class DummyResource : public Akonadi2::GenericResource { public: - DummyResource(const QByteArray &instanceIdentifier); - KAsync::Job synchronizeWithSource(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; - void configurePipeline(Akonadi2::Pipeline *pipeline) Q_DECL_OVERRIDE; + DummyResource(const QByteArray &instanceIdentifier, const QSharedPointer &pipeline = QSharedPointer()); + KAsync::Job synchronizeWithSource() Q_DECL_OVERRIDE; }; class DummyResourceFactory : public Akonadi2::ResourceFactory -- cgit v1.2.3