diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-02 21:32:56 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-02 21:32:56 +0100 |
commit | 41006b5cab7b0260f8abc42aa2d2e959a013764e (patch) | |
tree | fe8be353228233f45119964cbab4b578b496ac85 /common/facadeinterface.h | |
parent | 222cd83d659c3ff12380ecc5afd3cb29283e9ccd (diff) | |
download | sink-41006b5cab7b0260f8abc42aa2d2e959a013764e.tar.gz sink-41006b5cab7b0260f8abc42aa2d2e959a013764e.zip |
interresource move
Diffstat (limited to 'common/facadeinterface.h')
-rw-r--r-- | common/facadeinterface.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/common/facadeinterface.h b/common/facadeinterface.h index 7d5dd7d..136791e 100644 --- a/common/facadeinterface.h +++ b/common/facadeinterface.h | |||
@@ -63,6 +63,13 @@ public: | |||
63 | virtual KAsync::Job<void> modify(const DomainType &domainObject) = 0; | 63 | virtual KAsync::Job<void> modify(const DomainType &domainObject) = 0; |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * Move an entity to a new resource. | ||
67 | * | ||
68 | * The job returns succefully once the task has been successfully placed in the queue | ||
69 | */ | ||
70 | virtual KAsync::Job<void> move(const DomainType &domainObject, const QByteArray &newResource) = 0; | ||
71 | |||
72 | /** | ||
66 | * Remove an entity from the store. | 73 | * Remove an entity from the store. |
67 | * | 74 | * |
68 | * The job returns succefully once the task has been successfully placed in the queue | 75 | * The job returns succefully once the task has been successfully placed in the queue |
@@ -90,6 +97,11 @@ public: | |||
90 | return KAsync::error<void>(-1, "Failed to create a facade"); | 97 | return KAsync::error<void>(-1, "Failed to create a facade"); |
91 | } | 98 | } |
92 | 99 | ||
100 | KAsync::Job<void> move(const DomainType &domainObject, const QByteArray &newResource) | ||
101 | { | ||
102 | return KAsync::error<void>(-1, "Failed to create a facade"); | ||
103 | } | ||
104 | |||
93 | KAsync::Job<void> remove(const DomainType &domainObject) | 105 | KAsync::Job<void> remove(const DomainType &domainObject) |
94 | { | 106 | { |
95 | return KAsync::error<void>(-1, "Failed to create a facade"); | 107 | return KAsync::error<void>(-1, "Failed to create a facade"); |