diff options
Diffstat (limited to 'common/store.h')
-rw-r--r-- | common/store.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/store.h b/common/store.h index 62858c5..fb9c3fe 100644 --- a/common/store.h +++ b/common/store.h | |||
@@ -120,6 +120,10 @@ KAsync::Job<void> SINK_EXPORT synchronize(const Sink::SyncScope &query); | |||
120 | */ | 120 | */ |
121 | KAsync::Job<void> SINK_EXPORT removeDataFromDisk(const QByteArray &resourceIdentifier); | 121 | KAsync::Job<void> SINK_EXPORT removeDataFromDisk(const QByteArray &resourceIdentifier); |
122 | 122 | ||
123 | struct UpgradeResult { | ||
124 | bool upgradeExecuted; | ||
125 | }; | ||
126 | |||
123 | /** | 127 | /** |
124 | * Run upgrade jobs. | 128 | * Run upgrade jobs. |
125 | * | 129 | * |
@@ -130,7 +134,7 @@ KAsync::Job<void> SINK_EXPORT removeDataFromDisk(const QByteArray &resourceIdent | |||
130 | * | 134 | * |
131 | * Note: The initial implementation simply calls removeDataFromDisk for all resources. | 135 | * Note: The initial implementation simply calls removeDataFromDisk for all resources. |
132 | */ | 136 | */ |
133 | KAsync::Job<void> SINK_EXPORT upgrade(); | 137 | KAsync::Job<UpgradeResult> SINK_EXPORT upgrade(); |
134 | 138 | ||
135 | template <class DomainType> | 139 | template <class DomainType> |
136 | KAsync::Job<DomainType> SINK_EXPORT fetchOne(const Sink::Query &query); | 140 | KAsync::Job<DomainType> SINK_EXPORT fetchOne(const Sink::Query &query); |