summaryrefslogtreecommitdiffstats
path: root/common/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/resource.h')
-rw-r--r--common/resource.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/resource.h b/common/resource.h
index 33805ca..4ed21b5 100644
--- a/common/resource.h
+++ b/common/resource.h
@@ -37,8 +37,20 @@ public:
37 virtual ~Resource(); 37 virtual ~Resource();
38 38
39 virtual void processCommand(int commandId, const QByteArray &data); 39 virtual void processCommand(int commandId, const QByteArray &data);
40
41 /**
42 * Execute synchronization with the source.
43 */
40 virtual KAsync::Job<void> synchronizeWithSource(); 44 virtual KAsync::Job<void> synchronizeWithSource();
45
46 /**
47 * Process all internal messages, thus ensuring the store is up to date and no pending modifications are left.
48 */
41 virtual KAsync::Job<void> processAllMessages(); 49 virtual KAsync::Job<void> processAllMessages();
50
51 /**
52 * Set the lowest revision that is still referenced by external clients.
53 */
42 virtual void setLowerBoundRevision(qint64 revision); 54 virtual void setLowerBoundRevision(qint64 revision);
43 55
44Q_SIGNALS: 56Q_SIGNALS: