diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-19 14:36:17 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-19 14:36:17 +0200 |
commit | d656a83e0241cf5f858441b4074ca172e0405ace (patch) | |
tree | a6a79b10499047ee93cb7d9c44158a20fb2bb5f6 /common/pipeline.h | |
parent | 67bb6035b6333fe0d6d8566b5962f83c5870185f (diff) | |
download | sink-d656a83e0241cf5f858441b4074ca172e0405ace.tar.gz sink-d656a83e0241cf5f858441b4074ca172e0405ace.zip |
Pass revision as part of state
Diffstat (limited to 'common/pipeline.h')
-rw-r--r-- | common/pipeline.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/pipeline.h b/common/pipeline.h index 7307b2e..496e037 100644 --- a/common/pipeline.h +++ b/common/pipeline.h | |||
@@ -85,7 +85,7 @@ class AKONADI2COMMON_EXPORT PipelineState | |||
85 | { | 85 | { |
86 | public: | 86 | public: |
87 | PipelineState(); | 87 | PipelineState(); |
88 | PipelineState(Pipeline *pipeline, Pipeline::Type type, const QByteArray &key, const QVector<Preprocessor *> &filters, const std::function<void()> &callback); | 88 | PipelineState(Pipeline *pipeline, Pipeline::Type type, const QByteArray &key, const QVector<Preprocessor *> &filters, qint64 revision, const std::function<void()> &callback); |
89 | PipelineState(const PipelineState &other); | 89 | PipelineState(const PipelineState &other); |
90 | ~PipelineState(); | 90 | ~PipelineState(); |
91 | 91 | ||
@@ -95,6 +95,7 @@ public: | |||
95 | bool isIdle() const; | 95 | bool isIdle() const; |
96 | QByteArray key() const; | 96 | QByteArray key() const; |
97 | Pipeline::Type type() const; | 97 | Pipeline::Type type() const; |
98 | qint64 revision() const; | ||
98 | //TODO expose command | 99 | //TODO expose command |
99 | 100 | ||
100 | void step(); | 101 | void step(); |