diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-12-28 14:44:50 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-12-28 14:44:50 +0100 |
commit | 9b2257d680a5e4fa2fda8cf3302f25054a06710e (patch) | |
tree | 9abaf141018eb83d26ce07f5bd0e9436003ce732 /common/resource.cpp | |
parent | c83c2ef64b5a1e4b1dc0102df36687caebb96ff0 (diff) | |
download | sink-9b2257d680a5e4fa2fda8cf3302f25054a06710e.tar.gz sink-9b2257d680a5e4fa2fda8cf3302f25054a06710e.zip |
Buffers wrapped into entity buffer, async command progress tracking.
Diffstat (limited to 'common/resource.cpp')
-rw-r--r-- | common/resource.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/resource.cpp b/common/resource.cpp index ae28485..bba6609 100644 --- a/common/resource.cpp +++ b/common/resource.cpp | |||
@@ -48,9 +48,11 @@ void Resource::processCommand(int commandId, const QByteArray &data, uint size, | |||
48 | pipeline->null(); | 48 | pipeline->null(); |
49 | } | 49 | } |
50 | 50 | ||
51 | void Resource::synchronizeWithSource(Pipeline *pipeline) | 51 | Async::Job<void> Resource::synchronizeWithSource(Pipeline *pipeline) |
52 | { | 52 | { |
53 | pipeline->null(); | 53 | return Async::start<void>([pipeline](Async::Future<void> &f) { |
54 | pipeline->null(); | ||
55 | }); | ||
54 | } | 56 | } |
55 | 57 | ||
56 | class ResourceFactory::Private | 58 | class ResourceFactory::Private |