summaryrefslogtreecommitdiffstats
path: root/common/pipeline.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/pipeline.h')
-rw-r--r--common/pipeline.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/pipeline.h b/common/pipeline.h
index d7048ff..159cc1c 100644
--- a/common/pipeline.h
+++ b/common/pipeline.h
@@ -46,10 +46,11 @@ public:
46 46
47 Storage &storage() const; 47 Storage &storage() const;
48 48
49 // domain objects needed here
50 void null(); 49 void null();
51 void newEntity(const QByteArray &key, flatbuffers::FlatBufferBuilder &entity); 50 //FIXME We should probably directly provide a DomainTypeAdapter here. The data has already been written and we only need to read it for processing. And we need to read all buffers.
52 void modifiedEntity(const QByteArray &key, flatbuffers::FlatBufferBuilder &entityDelta); 51 void newEntity(const QByteArray &key, void *resourceBufferData, size_t size);
52 //TODO Send local buffer data as well?
53 void modifiedEntity(const QByteArray &key, void *data, size_t size);
53 void deletedEntity(const QByteArray &key); 54 void deletedEntity(const QByteArray &key);
54 55
55Q_SIGNALS: 56Q_SIGNALS:
@@ -72,7 +73,6 @@ private:
72class AKONADI2COMMON_EXPORT PipelineState 73class AKONADI2COMMON_EXPORT PipelineState
73{ 74{
74public: 75public:
75 // domain objects?
76 PipelineState(); 76 PipelineState();
77 PipelineState(Pipeline *pipeline, Pipeline::Type type, const QByteArray &key, const QVector<Preprocessor *> &filters); 77 PipelineState(Pipeline *pipeline, Pipeline::Type type, const QByteArray &key, const QVector<Preprocessor *> &filters);
78 PipelineState(const PipelineState &other); 78 PipelineState(const PipelineState &other);