summaryrefslogtreecommitdiffstats
path: root/common/store.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-04 10:36:58 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-04 10:36:58 +0100
commit59aa460cf704d5f1a1fb1fe6b8ede4457da083ff (patch)
treed1cf394099e4897d2b8abf6817191c488c754667 /common/store.h
parent41006b5cab7b0260f8abc42aa2d2e959a013764e (diff)
downloadsink-59aa460cf704d5f1a1fb1fe6b8ede4457da083ff.tar.gz
sink-59aa460cf704d5f1a1fb1fe6b8ede4457da083ff.zip
Copy command and proper move
Diffstat (limited to 'common/store.h')
-rw-r--r--common/store.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/store.h b/common/store.h
index 7c7d2fe..b261f47 100644
--- a/common/store.h
+++ b/common/store.h
@@ -88,6 +88,12 @@ template <class DomainType>
88KAsync::Job<void> SINK_EXPORT move(const DomainType &domainObject, const QByteArray &newResource); 88KAsync::Job<void> SINK_EXPORT move(const DomainType &domainObject, const QByteArray &newResource);
89 89
90/** 90/**
91 * Copy an entity to a new resource.
92 */
93template <class DomainType>
94KAsync::Job<void> SINK_EXPORT copy(const DomainType &domainObject, const QByteArray &newResource);
95
96/**
91 * Synchronize data to local cache. 97 * Synchronize data to local cache.
92 */ 98 */
93KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); 99KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query);