summaryrefslogtreecommitdiffstats
path: root/common/pipeline.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-09-29 00:52:07 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-09-29 00:52:07 +0200
commitc3f6e72c2d46906a4699127b558ca248729ce577 (patch)
treea2066e43b45a01226e19bbb309fabf7064018a06 /common/pipeline.h
parentb43c422a2b1b899ce5ac27a0bc381e8a49f05d86 (diff)
downloadsink-c3f6e72c2d46906a4699127b558ca248729ce577.tar.gz
sink-c3f6e72c2d46906a4699127b558ca248729ce577.zip
Revision cleanup
Diffstat (limited to 'common/pipeline.h')
-rw-r--r--common/pipeline.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/common/pipeline.h b/common/pipeline.h
index 573af73..89232d0 100644
--- a/common/pipeline.h
+++ b/common/pipeline.h
@@ -58,9 +58,15 @@ public:
58 void null(); 58 void null();
59 void setAdaptorFactory(const QString &entityType, DomainTypeAdaptorFactoryInterface::Ptr factory); 59 void setAdaptorFactory(const QString &entityType, DomainTypeAdaptorFactoryInterface::Ptr factory);
60 60
61 KAsync::Job<void> newEntity(void const *command, size_t size); 61 KAsync::Job<qint64> newEntity(void const *command, size_t size);
62 KAsync::Job<void> modifiedEntity(void const *command, size_t size); 62 KAsync::Job<qint64> modifiedEntity(void const *command, size_t size);
63 KAsync::Job<void> deletedEntity(void const *command, size_t size); 63 KAsync::Job<qint64> deletedEntity(void const *command, size_t size);
64 /*
65 * Cleans up a single revision.
66 *
67 * This has to be called for every revision in consecutive order.
68 */
69 void cleanupRevision(qint64 revision);
64 70
65Q_SIGNALS: 71Q_SIGNALS:
66 void revisionUpdated(qint64); 72 void revisionUpdated(qint64);