diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-17 17:34:34 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-17 17:34:34 +0200 |
commit | 207effdd7112141ad4fc5cdd46f332870a0c065c (patch) | |
tree | b750cbecda149b4a4ae86eb156e59f4a070bbb5c /common/synchronizer.h | |
parent | b2f52e3ffc5b2305f5275f18376daac7612f2e7b (diff) | |
download | sink-207effdd7112141ad4fc5cdd46f332870a0c065c.tar.gz sink-207effdd7112141ad4fc5cdd46f332870a0c065c.zip |
A working mailtransport resource
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: |