diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-09 15:47:09 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-09 15:47:09 +0100 |
commit | 573051b8df4a2961b4ba8a1b7e31f1437517f9c8 (patch) | |
tree | bac9c2680b6ceec49df48082335046338c940144 /common/clientapi.cpp | |
parent | 4d662fec99071ec8160c33b2fa17794e898bd3be (diff) | |
download | sink-573051b8df4a2961b4ba8a1b7e31f1437517f9c8.tar.gz sink-573051b8df4a2961b4ba8a1b7e31f1437517f9c8.zip |
Moved some API
Diffstat (limited to 'common/clientapi.cpp')
-rw-r--r-- | common/clientapi.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/clientapi.cpp b/common/clientapi.cpp index 73bc194..e6878a6 100644 --- a/common/clientapi.cpp +++ b/common/clientapi.cpp | |||
@@ -160,7 +160,7 @@ KAsync::Job<void> Store::remove(const DomainType &domainObject) | |||
160 | }); | 160 | }); |
161 | } | 161 | } |
162 | 162 | ||
163 | KAsync::Job<void> Store::shutdown(const QByteArray &identifier) | 163 | KAsync::Job<void> Resources::shutdown(const QByteArray &identifier) |
164 | { | 164 | { |
165 | Trace() << "shutdown " << identifier; | 165 | Trace() << "shutdown " << identifier; |
166 | auto time = QSharedPointer<QTime>::create(); | 166 | auto time = QSharedPointer<QTime>::create(); |
@@ -183,7 +183,7 @@ KAsync::Job<void> Store::shutdown(const QByteArray &identifier) | |||
183 | .template then<void>([](){}); | 183 | .template then<void>([](){}); |
184 | } | 184 | } |
185 | 185 | ||
186 | KAsync::Job<void> Store::start(const QByteArray &identifier) | 186 | KAsync::Job<void> Resources::start(const QByteArray &identifier) |
187 | { | 187 | { |
188 | Trace() << "start " << identifier; | 188 | Trace() << "start " << identifier; |
189 | auto time = QSharedPointer<QTime>::create(); | 189 | auto time = QSharedPointer<QTime>::create(); |
@@ -231,7 +231,7 @@ KAsync::Job<void> Store::synchronize(const Sink::Query &query) | |||
231 | .template then<void>([](){}); | 231 | .template then<void>([](){}); |
232 | } | 232 | } |
233 | 233 | ||
234 | KAsync::Job<void> Store::flushMessageQueue(const QByteArrayList &resourceIdentifier) | 234 | KAsync::Job<void> Resources::flushMessageQueue(const QByteArrayList &resourceIdentifier) |
235 | { | 235 | { |
236 | Trace() << "flushMessageQueue" << resourceIdentifier; | 236 | Trace() << "flushMessageQueue" << resourceIdentifier; |
237 | return KAsync::iterate(resourceIdentifier) | 237 | return KAsync::iterate(resourceIdentifier) |
@@ -247,7 +247,7 @@ KAsync::Job<void> Store::flushMessageQueue(const QByteArrayList &resourceIdentif | |||
247 | .template then<void>([](){}); | 247 | .template then<void>([](){}); |
248 | } | 248 | } |
249 | 249 | ||
250 | KAsync::Job<void> Store::flushReplayQueue(const QByteArrayList &resourceIdentifier) | 250 | KAsync::Job<void> Resources::flushReplayQueue(const QByteArrayList &resourceIdentifier) |
251 | { | 251 | { |
252 | return flushMessageQueue(resourceIdentifier); | 252 | return flushMessageQueue(resourceIdentifier); |
253 | } | 253 | } |