summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-31 21:08:39 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-31 23:26:26 +0100
commit25d08af0851b56db664cee7f6463532d7c103d33 (patch)
tree7ff24ea3c435d656df9de059e6ff438103c387a6 /common/clientapi.h
parent8d59bbdebcca2293d5b3b1da903c39845f7ba1a9 (diff)
downloadsink-25d08af0851b56db664cee7f6463532d7c103d33.tar.gz
sink-25d08af0851b56db664cee7f6463532d7c103d33.zip
Fixed shutdown and synchronize commands
Diffstat (limited to 'common/clientapi.h')
-rw-r--r--common/clientapi.h11
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