summaryrefslogtreecommitdiffstats
path: root/common/store.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-03 14:02:27 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-03 14:02:27 +0200
commit55fe06979ceebe67553135b43aa47e70d931304b (patch)
tree16b10a744879cc1872d6c07624b59ae64469ddbf /common/store.h
parent56fae95f49a1ca8ca614bd9f89b0ea5f872765e9 (diff)
parent288946f1694c2abe1d2c5800c87339d1e8780e4b (diff)
downloadsink-55fe06979ceebe67553135b43aa47e70d931304b.tar.gz
sink-55fe06979ceebe67553135b43aa47e70d931304b.zip
Merge branch 'develop'
Diffstat (limited to 'common/store.h')
-rw-r--r--common/store.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/store.h b/common/store.h
index fae76e5..34e14df 100644
--- a/common/store.h
+++ b/common/store.h
@@ -122,6 +122,18 @@ KAsync::Job<void> SINK_EXPORT synchronize(const Sink::SyncScope &query);
122 */ 122 */
123KAsync::Job<void> SINK_EXPORT removeDataFromDisk(const QByteArray &resourceIdentifier); 123KAsync::Job<void> SINK_EXPORT removeDataFromDisk(const QByteArray &resourceIdentifier);
124 124
125/**
126 * Run upgrade jobs.
127 *
128 * Run this to upgrade your local database to a new version.
129 * Note that this may:
130 * * take a while
131 * * remove some/all of your local caches
132 *
133 * Note: The initial implementation simply calls removeDataFromDisk for all resources.
134 */
135KAsync::Job<void> SINK_EXPORT upgrade();
136
125template <class DomainType> 137template <class DomainType>
126KAsync::Job<DomainType> SINK_EXPORT fetchOne(const Sink::Query &query); 138KAsync::Job<DomainType> SINK_EXPORT fetchOne(const Sink::Query &query);
127 139