diff options
Diffstat (limited to 'common/changereplay.h')
-rw-r--r-- | common/changereplay.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/changereplay.h b/common/changereplay.h index edc4462..22e26a5 100644 --- a/common/changereplay.h +++ b/common/changereplay.h | |||
@@ -54,6 +54,7 @@ public slots: | |||
54 | protected: | 54 | protected: |
55 | virtual KAsync::Job<void> replay(const QByteArray &type, const QByteArray &key, const QByteArray &value) = 0; | 55 | virtual KAsync::Job<void> replay(const QByteArray &type, const QByteArray &key, const QByteArray &value) = 0; |
56 | virtual bool canReplay(const QByteArray &type, const QByteArray &key, const QByteArray &value) = 0; | 56 | virtual bool canReplay(const QByteArray &type, const QByteArray &key, const QByteArray &value) = 0; |
57 | virtual void reportProgress(int progress, int total, const QByteArrayList &applicableEntities = {}){}; | ||
57 | Sink::Storage::DataStore mStorage; | 58 | Sink::Storage::DataStore mStorage; |
58 | KAsync::Job<void> replayNextRevision(); | 59 | KAsync::Job<void> replayNextRevision(); |
59 | 60 | ||
@@ -63,7 +64,7 @@ private: | |||
63 | bool mReplayInProgress; | 64 | bool mReplayInProgress; |
64 | Sink::Storage::DataStore::Transaction mMainStoreTransaction; | 65 | Sink::Storage::DataStore::Transaction mMainStoreTransaction; |
65 | Sink::Log::Context mLogCtx; | 66 | Sink::Log::Context mLogCtx; |
66 | QSharedPointer<QObject> mGuard; | 67 | QObject mGuard; |
67 | }; | 68 | }; |
68 | 69 | ||
69 | class NullChangeReplay : public ChangeReplay | 70 | class NullChangeReplay : public ChangeReplay |