summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/clientapi.h')
-rw-r--r--common/clientapi.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/common/clientapi.h b/common/clientapi.h
index f1c3bc6..eff8e8d 100644
--- a/common/clientapi.h
+++ b/common/clientapi.h
@@ -73,6 +73,11 @@ public:
73 static KAsync::Job<void> remove(const DomainType &domainObject); 73 static KAsync::Job<void> remove(const DomainType &domainObject);
74 74
75 /** 75 /**
76 * Synchronize data to local cache.
77 */
78 static KAsync::Job<void> synchronize(const Akonadi2::Query &query);
79
80 /**
76 * Shutdown resource. 81 * Shutdown resource.
77 */ 82 */
78 static KAsync::Job<void> shutdown(const QByteArray &resourceIdentifier); 83 static KAsync::Job<void> shutdown(const QByteArray &resourceIdentifier);
@@ -87,9 +92,9 @@ public:
87 static KAsync::Job<void> start(const QByteArray &resourceIdentifier); 92 static KAsync::Job<void> start(const QByteArray &resourceIdentifier);
88 93
89 /** 94 /**
90 * Synchronize data to local cache. 95 * Flushes any pending messages to disk
91 */ 96 */
92 static KAsync::Job<void> synchronize(const Akonadi2::Query &query); 97 static KAsync::Job<void> flushMessageQueue(const QByteArrayList &resourceIdentifier);
93 98
94 /** 99 /**
95 * Removes a resource from disk. 100 * Removes a resource from disk.