summaryrefslogtreecommitdiffstats
path: root/common/genericresource.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/genericresource.h')
-rw-r--r--common/genericresource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/genericresource.h b/common/genericresource.h
index f756273..82c8a49 100644
--- a/common/genericresource.h
+++ b/common/genericresource.h
@@ -23,6 +23,7 @@
23#include <resource.h> 23#include <resource.h>
24#include <messagequeue.h> 24#include <messagequeue.h>
25#include <flatbuffers/flatbuffers.h> 25#include <flatbuffers/flatbuffers.h>
26#include <domainadaptor.h>
26#include <QTimer> 27#include <QTimer>
27 28
28class Processor; 29class Processor;
@@ -31,6 +32,7 @@ class ChangeReplay;
31namespace Akonadi2 32namespace Akonadi2
32{ 33{
33class Pipeline; 34class Pipeline;
35class Preprocessor;
34 36
35/** 37/**
36 * Generic Resource implementation. 38 * Generic Resource implementation.
@@ -54,6 +56,7 @@ private Q_SLOTS:
54 void updateLowerBoundRevision(); 56 void updateLowerBoundRevision();
55 57
56protected: 58protected:
59 void addType(const QByteArray &type, DomainTypeAdaptorFactoryInterface::Ptr factory, const QVector<Akonadi2::Preprocessor*> &preprocessors);
57 virtual KAsync::Job<void> replay(const QByteArray &type, const QByteArray &key, const QByteArray &value); 60 virtual KAsync::Job<void> replay(const QByteArray &type, const QByteArray &key, const QByteArray &value);
58 void onProcessorError(int errorCode, const QString &errorMessage); 61 void onProcessorError(int errorCode, const QString &errorMessage);
59 void enqueueCommand(MessageQueue &mq, int commandId, const QByteArray &data); 62 void enqueueCommand(MessageQueue &mq, int commandId, const QByteArray &data);