diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-03 00:08:44 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-03 00:08:44 +0100 |
commit | 4067462b0a27984df84b0379c19122d574253dfb (patch) | |
tree | e6a413a575b7fd4062da6474907bffd68155706f /common/pipeline.cpp | |
parent | 91d915a09b7d52c10edb1d4c1298fc2885b8a257 (diff) | |
download | sink-4067462b0a27984df84b0379c19122d574253dfb.tar.gz sink-4067462b0a27984df84b0379c19122d574253dfb.zip |
Shared domain adaptors between resource and facade.
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r-- | common/pipeline.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/pipeline.cpp b/common/pipeline.cpp index 8d00480..18b6d51 100644 --- a/common/pipeline.cpp +++ b/common/pipeline.cpp | |||
@@ -189,6 +189,7 @@ public: | |||
189 | Pipeline *pipeline; | 189 | Pipeline *pipeline; |
190 | Pipeline::Type type; | 190 | Pipeline::Type type; |
191 | QByteArray key; | 191 | QByteArray key; |
192 | Akonadi2::Entity *entity; | ||
192 | QVectorIterator<Preprocessor *> filterIt; | 193 | QVectorIterator<Preprocessor *> filterIt; |
193 | bool idle; | 194 | bool idle; |
194 | }; | 195 | }; |
@@ -239,6 +240,11 @@ Pipeline::Type PipelineState::type() const | |||
239 | return d->type; | 240 | return d->type; |
240 | } | 241 | } |
241 | 242 | ||
243 | const Akonadi2::Entity &PipelineState::entity() const | ||
244 | { | ||
245 | return *d->entity; | ||
246 | } | ||
247 | |||
242 | void PipelineState::step() | 248 | void PipelineState::step() |
243 | { | 249 | { |
244 | if (!d->pipeline) { | 250 | if (!d->pipeline) { |