summaryrefslogtreecommitdiffstats
path: root/common/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/resource.cpp')
-rw-r--r--common/resource.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/common/resource.cpp b/common/resource.cpp
index 68a237c..2a86df5 100644
--- a/common/resource.cpp
+++ b/common/resource.cpp
@@ -40,24 +40,15 @@ Resource::~Resource()
40 //delete d; 40 //delete d;
41} 41}
42 42
43void Resource::configurePipeline(Pipeline *pipeline) 43void Resource::processCommand(int commandId, const QByteArray &data)
44{
45
46}
47
48void Resource::processCommand(int commandId, const QByteArray &data, Pipeline *pipeline)
49{ 44{
50 Q_UNUSED(commandId) 45 Q_UNUSED(commandId)
51 Q_UNUSED(data) 46 Q_UNUSED(data)
52 Q_UNUSED(pipeline)
53 pipeline->null();
54} 47}
55 48
56KAsync::Job<void> Resource::synchronizeWithSource(Pipeline *pipeline) 49KAsync::Job<void> Resource::synchronizeWithSource()
57{ 50{
58 return KAsync::start<void>([pipeline](KAsync::Future<void> &f) { 51 return KAsync::null<void>();
59 pipeline->null();
60 });
61} 52}
62 53
63KAsync::Job<void> Resource::processAllMessages() 54KAsync::Job<void> Resource::processAllMessages()