summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-27 13:18:05 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-02-27 13:18:05 +0100
commit0bcde6de2ecce96a31c0b409481f660bb9e91582 (patch)
tree7b9b84f329a960772718756ebd9600a711919620
parentebc4205d78a367f834e61cae2df4cb9c65541013 (diff)
downloadsink-0bcde6de2ecce96a31c0b409481f660bb9e91582.tar.gz
sink-0bcde6de2ecce96a31c0b409481f660bb9e91582.zip
Made the sync request struct public.
Differential Revision: https://phabricator.kde.org/D6961
-rw-r--r--common/synchronizer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h
index bd03ba3..590b939 100644
--- a/common/synchronizer.h
+++ b/common/synchronizer.h
@@ -123,6 +123,7 @@ protected:
123 123
124 virtual KAsync::Job<void> synchronizeWithSource(const Sink::QueryBase &query) = 0; 124 virtual KAsync::Job<void> synchronizeWithSource(const Sink::QueryBase &query) = 0;
125 125
126public:
126 struct SyncRequest { 127 struct SyncRequest {
127 enum RequestType { 128 enum RequestType {
128 Synchronization, 129 Synchronization,
@@ -172,6 +173,7 @@ protected:
172 QByteArrayList applicableEntities; 173 QByteArrayList applicableEntities;
173 }; 174 };
174 175
176protected:
175 /** 177 /**
176 * This allows the synchronizer to turn a single query into multiple synchronization requests. 178 * This allows the synchronizer to turn a single query into multiple synchronization requests.
177 * 179 *
@@ -203,7 +205,6 @@ protected:
203 */ 205 */
204 virtual void reportProgress(int progress, int total, const QByteArrayList &entities = {}) Q_DECL_OVERRIDE; 206 virtual void reportProgress(int progress, int total, const QByteArrayList &entities = {}) Q_DECL_OVERRIDE;
205 207
206protected:
207 Sink::Log::Context mLogCtx; 208 Sink::Log::Context mLogCtx;
208 209
209private: 210private: