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 3ca896e..edc4462 100644 --- a/common/changereplay.h +++ b/common/changereplay.h | |||
@@ -39,7 +39,7 @@ class SINK_EXPORT ChangeReplay : public QObject | |||
39 | { | 39 | { |
40 | Q_OBJECT | 40 | Q_OBJECT |
41 | public: | 41 | public: |
42 | ChangeReplay(const ResourceContext &resourceContext); | 42 | ChangeReplay(const ResourceContext &resourceContext, const Sink::Log::Context &ctx= {}); |
43 | 43 | ||
44 | qint64 getLastReplayedRevision(); | 44 | qint64 getLastReplayedRevision(); |
45 | virtual bool allChangesReplayed(); | 45 | virtual bool allChangesReplayed(); |
@@ -63,6 +63,7 @@ private: | |||
63 | bool mReplayInProgress; | 63 | bool mReplayInProgress; |
64 | Sink::Storage::DataStore::Transaction mMainStoreTransaction; | 64 | Sink::Storage::DataStore::Transaction mMainStoreTransaction; |
65 | Sink::Log::Context mLogCtx; | 65 | Sink::Log::Context mLogCtx; |
66 | QSharedPointer<QObject> mGuard; | ||
66 | }; | 67 | }; |
67 | 68 | ||
68 | class NullChangeReplay : public ChangeReplay | 69 | class NullChangeReplay : public ChangeReplay |