From 0bcde6de2ecce96a31c0b409481f660bb9e91582 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 27 Feb 2018 13:18:05 +0100 Subject: Made the sync request struct public. Differential Revision: https://phabricator.kde.org/D6961 --- common/synchronizer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common') 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: virtual KAsync::Job synchronizeWithSource(const Sink::QueryBase &query) = 0; +public: struct SyncRequest { enum RequestType { Synchronization, @@ -172,6 +173,7 @@ protected: QByteArrayList applicableEntities; }; +protected: /** * This allows the synchronizer to turn a single query into multiple synchronization requests. * @@ -203,7 +205,6 @@ protected: */ virtual void reportProgress(int progress, int total, const QByteArrayList &entities = {}) Q_DECL_OVERRIDE; -protected: Sink::Log::Context mLogCtx; private: -- cgit v1.2.3