From 95fab4cac8217446684cfe6bd3f0218b0655530b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 27 Mar 2015 16:47:40 +0100 Subject: Minor cleanup, less warnings. --- dummyresource/domainadaptor.h | 1 + dummyresource/resourcefactory.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'dummyresource') diff --git a/dummyresource/domainadaptor.h b/dummyresource/domainadaptor.h index 239ceca..9474176 100644 --- a/dummyresource/domainadaptor.h +++ b/dummyresource/domainadaptor.h @@ -10,6 +10,7 @@ class DummyEventAdaptorFactory : public DomainTypeAdaptorFactory createAdaptor(const Akonadi2::Entity &entity); virtual void createBuffer(const Akonadi2::Domain::Event &event, flatbuffers::FlatBufferBuilder &fbb); }; diff --git a/dummyresource/resourcefactory.cpp b/dummyresource/resourcefactory.cpp index fab3df9..d1beb1d 100644 --- a/dummyresource/resourcefactory.cpp +++ b/dummyresource/resourcefactory.cpp @@ -248,7 +248,7 @@ void DummyResource::configurePipeline(Akonadi2::Pipeline *pipeline) auto eventFactory = QSharedPointer::create(); //FIXME we should setup for each resource entity type, not for each domain type //i.e. If a resource stores tags as part of each message it needs to update the tag index - //TODO setup preprocessors for each domain type and pipeline type allowing full customization + //TODO setup preprocessors for each resource entity type and pipeline type allowing full customization //Eventually the order should be self configuring, for now it's hardcoded. auto eventIndexer = new SimpleProcessor("summaryprocessor", [eventFactory](const Akonadi2::PipelineState &state, const Akonadi2::Entity &entity) { auto adaptor = eventFactory->createAdaptor(entity); -- cgit v1.2.3