diff options
author | Rémi Nicole <nicole@kolabsystems.com> | 2018-05-03 09:45:45 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-03 09:47:35 +0200 |
commit | 41ba42150d4232807299214a6fcfa44c669489b0 (patch) | |
tree | 117ff2c2afbc5fa2170c7d56a55f80b7811be235 /common/synchronizer.h | |
parent | 7a166895a54c4037749229b9ec9d0c90d60987b5 (diff) | |
download | sink-41ba42150d4232807299214a6fcfa44c669489b0.tar.gz sink-41ba42150d4232807299214a6fcfa44c669489b0.zip |
Implement replaying CalDAV events and calendars
Summary:
Notes:
- For calendars, only removal is implemented because:
- There is no DavCollectionCreateJob, possibly because there can't be an empty DAV collection
- DavCollectionModifyJob only allows modifying "properties", which we don't use (except for the name, if the name is considered a property)
- Currently, modifying an item with Sink overrides the one on the server, even if the store is not up-to-date
Reviewers: cmollekopf
Tags: #sink
Differential Revision: https://phabricator.kde.org/D12611
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r-- | common/synchronizer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h index 16905d7..2a3c3d8 100644 --- a/common/synchronizer.h +++ b/common/synchronizer.h | |||
@@ -79,6 +79,8 @@ protected: | |||
79 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Addressbook &, Sink::Operation, const QByteArray &oldRemoteId, const QList<QByteArray> &); | 79 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Addressbook &, Sink::Operation, const QByteArray &oldRemoteId, const QList<QByteArray> &); |
80 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Mail &, Sink::Operation, const QByteArray &oldRemoteId, const QList<QByteArray> &); | 80 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Mail &, Sink::Operation, const QByteArray &oldRemoteId, const QList<QByteArray> &); |
81 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Folder &, Sink::Operation, const QByteArray &oldRemoteId, const QList<QByteArray> &); | 81 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Folder &, Sink::Operation, const QByteArray &oldRemoteId, const QList<QByteArray> &); |
82 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Event &, Sink::Operation, const QByteArray &oldRemoteId, const QList<QByteArray> &); | ||
83 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Calendar &, Sink::Operation, const QByteArray &oldRemoteId, const QList<QByteArray> &); | ||
82 | protected: | 84 | protected: |
83 | QString secret() const; | 85 | QString secret() const; |
84 | 86 | ||