From ef8fcadb0c0ad4af055262a4dd9c37d4905cc0fa Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 2 Jul 2015 12:08:48 +0200 Subject: Generalized facade code. A default implementation is now nothing but an empty shell. --- examples/dummyresource/facade.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'examples/dummyresource/facade.h') diff --git a/examples/dummyresource/facade.h b/examples/dummyresource/facade.h index 7c894f1..441dc38 100644 --- a/examples/dummyresource/facade.h +++ b/examples/dummyresource/facade.h @@ -20,22 +20,11 @@ #pragma once #include "common/facade.h" - -#include "common/clientapi.h" -#include "common/storage.h" -#include "resourcefactory.h" -#include "entity_generated.h" -#include "event_generated.h" -#include "dummycalendar_generated.h" -#include "common/domainadaptor.h" +#include "common/domain/event.h" class DummyResourceFacade : public Akonadi2::GenericFacade { public: DummyResourceFacade(); virtual ~DummyResourceFacade(); - KAsync::Job load(const Akonadi2::Query &query, const QSharedPointer > &resultProvider, qint64 oldRevision, qint64 newRevision) Q_DECL_OVERRIDE; - -private: - void readValue(const QSharedPointer &storage, const QByteArray &key, const std::function &resultCallback); }; -- cgit v1.2.3