diff options
Diffstat (limited to 'common/clientapi.h')
-rw-r--r-- | common/clientapi.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/common/clientapi.h b/common/clientapi.h index 4e6db09..9a32188 100644 --- a/common/clientapi.h +++ b/common/clientapi.h | |||
@@ -153,10 +153,15 @@ public: | |||
153 | }); | 153 | }); |
154 | } | 154 | } |
155 | 155 | ||
156 | static void shutdown(const QByteArray &resourceIdentifier); | 156 | /** |
157 | * Shutdown resource. | ||
158 | */ | ||
159 | static KAsync::Job<void> shutdown(const QByteArray &resourceIdentifier); | ||
157 | 160 | ||
158 | //TODO do we really want this command? And if yes, shouldn't it take a query to specify what to sync exactly? | 161 | /** |
159 | static void synchronize(const QByteArray &resourceIdentifier); | 162 | * Synchronize data to local cache. |
163 | */ | ||
164 | static KAsync::Job<void> synchronize(const Akonadi2::Query &query); | ||
160 | }; | 165 | }; |
161 | 166 | ||
162 | 167 | ||