diff options
Diffstat (limited to 'common/pipeline.h')
-rw-r--r-- | common/pipeline.h | 12 |
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 | ||
65 | Q_SIGNALS: | 71 | Q_SIGNALS: |
66 | void revisionUpdated(qint64); | 72 | void revisionUpdated(qint64); |