summaryrefslogtreecommitdiffstats
path: root/common/changereplay.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-03 14:02:27 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-03 14:02:27 +0200
commit55fe06979ceebe67553135b43aa47e70d931304b (patch)
tree16b10a744879cc1872d6c07624b59ae64469ddbf /common/changereplay.h
parent56fae95f49a1ca8ca614bd9f89b0ea5f872765e9 (diff)
parent288946f1694c2abe1d2c5800c87339d1e8780e4b (diff)
downloadsink-55fe06979ceebe67553135b43aa47e70d931304b.tar.gz
sink-55fe06979ceebe67553135b43aa47e70d931304b.zip
Merge branch 'develop'
Diffstat (limited to 'common/changereplay.h')
-rw-r--r--common/changereplay.h3
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:
54protected: 54protected:
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
69class NullChangeReplay : public ChangeReplay 70class NullChangeReplay : public ChangeReplay