diff options
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r-- | common/synchronizer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h index 6521876..6f98f35 100644 --- a/common/synchronizer.h +++ b/common/synchronizer.h | |||
@@ -86,6 +86,13 @@ protected: | |||
86 | template <typename DomainType> | 86 | template <typename DomainType> |
87 | void createOrModify(const QByteArray &bufferType, const QByteArray &remoteId, const DomainType &entity, const QHash<QByteArray, Sink::Query::Comparator> &mergeCriteria); | 87 | void createOrModify(const QByteArray &bufferType, const QByteArray &remoteId, const DomainType &entity, const QHash<QByteArray, Sink::Query::Comparator> &mergeCriteria); |
88 | 88 | ||
89 | // template <typename DomainType> | ||
90 | // void create(const DomainType &entity); | ||
91 | template <typename DomainType> | ||
92 | void modify(const DomainType &entity); | ||
93 | // template <typename DomainType> | ||
94 | // void remove(const DomainType &entity); | ||
95 | |||
89 | virtual KAsync::Job<void> synchronizeWithSource() = 0; | 96 | virtual KAsync::Job<void> synchronizeWithSource() = 0; |
90 | 97 | ||
91 | private: | 98 | private: |