summaryrefslogtreecommitdiffstats
path: root/common/synchronizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r--common/synchronizer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h
index 17e7003..8442aa2 100644
--- a/common/synchronizer.h
+++ b/common/synchronizer.h
@@ -23,6 +23,7 @@
23#include <QObject> 23#include <QObject>
24#include <Async/Async> 24#include <Async/Async>
25#include <domainadaptor.h> 25#include <domainadaptor.h>
26#include <query.h>
26 27
27#include "storage.h" 28#include "storage.h"
28 29
@@ -81,6 +82,8 @@ protected:
81 * Depending on whether the entity is locally available, or has changed. 82 * Depending on whether the entity is locally available, or has changed.
82 */ 83 */
83 void createOrModify(const QByteArray &bufferType, const QByteArray &remoteId, const Sink::ApplicationDomain::ApplicationDomainType &entity); 84 void createOrModify(const QByteArray &bufferType, const QByteArray &remoteId, const Sink::ApplicationDomain::ApplicationDomainType &entity);
85 template <typename DomainType>
86 void createOrModify(const QByteArray &bufferType, const QByteArray &remoteId, const DomainType &entity, const QHash<QByteArray, Sink::Query::Comparator> &mergeCriteria);
84 87
85 virtual KAsync::Job<void> synchronizeWithSource() = 0; 88 virtual KAsync::Job<void> synchronizeWithSource() = 0;
86 89