summaryrefslogtreecommitdiffstats
path: root/common/resource.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-21 14:21:16 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-21 14:21:16 +0200
commit12cc3f612c3ebe9522f98c808f9d7115d8e222ce (patch)
tree8dd53dd441d8577b9d72289748a72cf76acd4cca /common/resource.h
parent264fb692ccd122e53c7592a26447ed8281179c8b (diff)
downloadsink-12cc3f612c3ebe9522f98c808f9d7115d8e222ce.tar.gz
sink-12cc3f612c3ebe9522f98c808f9d7115d8e222ce.zip
Cleanup
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: