diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-20 16:15:49 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-23 17:37:53 +0200 |
commit | b187b95672fe0d8b16ba80bedd9022f1cda3a051 (patch) | |
tree | c86bf63c73eb91aca83a3d0c22be95b7a7515f0b /common/resource.h | |
parent | 4a71e5b06506af6e3ab7a7715705e76b6d6e9bb7 (diff) | |
download | sink-b187b95672fe0d8b16ba80bedd9022f1cda3a051.tar.gz sink-b187b95672fe0d8b16ba80bedd9022f1cda3a051.zip |
Pass command around as QByteArray
Simpler api, GenericResource didn't honor size anyways,
and we copy the command for now to avoid sideeffects of data coming in
in the meantime (although that should generally work since data is
always appended).
Diffstat (limited to 'common/resource.h')
-rw-r--r-- | common/resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/resource.h b/common/resource.h index ebbc2e1..009050e 100644 --- a/common/resource.h +++ b/common/resource.h | |||
@@ -36,7 +36,7 @@ public: | |||
36 | Resource(); | 36 | Resource(); |
37 | virtual ~Resource(); | 37 | virtual ~Resource(); |
38 | 38 | ||
39 | virtual void processCommand(int commandId, const QByteArray &data, uint size, Pipeline *pipeline); | 39 | virtual void processCommand(int commandId, const QByteArray &data, Pipeline *pipeline); |
40 | virtual KAsync::Job<void> synchronizeWithSource(Pipeline *pipeline); | 40 | virtual KAsync::Job<void> synchronizeWithSource(Pipeline *pipeline); |
41 | virtual KAsync::Job<void> processAllMessages(); | 41 | virtual KAsync::Job<void> processAllMessages(); |
42 | 42 | ||