diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-20 16:46:59 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-20 16:55:20 +0200 |
commit | d6c3e998dbb61eedf37773082bf58ffbd11663b0 (patch) | |
tree | ded84435440d80257d0d79d17ad9647bd07f2151 /common/genericresource.h | |
parent | dfb0495ead6cf25f1e9e1ed03a78d249ae2f4498 (diff) | |
download | sink-d6c3e998dbb61eedf37773082bf58ffbd11663b0.tar.gz sink-d6c3e998dbb61eedf37773082bf58ffbd11663b0.zip |
Draft of ChangeReplay
Diffstat (limited to 'common/genericresource.h')
-rw-r--r-- | common/genericresource.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/genericresource.h b/common/genericresource.h index 052a9f5..cfc6653 100644 --- a/common/genericresource.h +++ b/common/genericresource.h | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <QTimer> | 26 | #include <QTimer> |
27 | 27 | ||
28 | class Processor; | 28 | class Processor; |
29 | class ChangeReplay; | ||
29 | 30 | ||
30 | namespace Akonadi2 | 31 | namespace Akonadi2 |
31 | { | 32 | { |
@@ -47,6 +48,9 @@ public: | |||
47 | 48 | ||
48 | int error() const; | 49 | int error() const; |
49 | 50 | ||
51 | private Q_SLOTS: | ||
52 | void updateLowerBoundRevision(); | ||
53 | |||
50 | protected: | 54 | protected: |
51 | void onProcessorError(int errorCode, const QString &errorMessage); | 55 | void onProcessorError(int errorCode, const QString &errorMessage); |
52 | void enqueueCommand(MessageQueue &mq, int commandId, const QByteArray &data); | 56 | void enqueueCommand(MessageQueue &mq, int commandId, const QByteArray &data); |
@@ -58,8 +62,10 @@ protected: | |||
58 | 62 | ||
59 | private: | 63 | private: |
60 | Processor *mProcessor; | 64 | Processor *mProcessor; |
65 | ChangeReplay *mSourceChangeReplay; | ||
61 | int mError; | 66 | int mError; |
62 | QTimer mCommitQueueTimer; | 67 | QTimer mCommitQueueTimer; |
68 | qint64 mClientLowerBoundRevision; | ||
63 | }; | 69 | }; |
64 | 70 | ||
65 | } | 71 | } |