diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-14 01:54:17 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-07-14 01:54:17 +0200 |
commit | 64f4244f5b5a2e830a240b6962c6708bd12a6d35 (patch) | |
tree | df02e39d5438d5ef54dae05a89564dbdbd5a31d5 /common/genericresource.cpp | |
parent | cd2bc8a5d124faf46a9944e6d04feb140b66e54e (diff) | |
download | sink-64f4244f5b5a2e830a240b6962c6708bd12a6d35.tar.gz sink-64f4244f5b5a2e830a240b6962c6708bd12a6d35.zip |
Modify/Delete commands
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r-- | common/genericresource.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp index 139ae98..a500aed 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp | |||
@@ -9,7 +9,6 @@ | |||
9 | #include "clientapi.h" | 9 | #include "clientapi.h" |
10 | #include "index.h" | 10 | #include "index.h" |
11 | #include "log.h" | 11 | #include "log.h" |
12 | #include <assert.h> | ||
13 | 12 | ||
14 | using namespace Akonadi2; | 13 | using namespace Akonadi2; |
15 | 14 | ||
@@ -67,11 +66,9 @@ private slots: | |||
67 | //Throw command into appropriate pipeline | 66 | //Throw command into appropriate pipeline |
68 | switch (queuedCommand->commandId()) { | 67 | switch (queuedCommand->commandId()) { |
69 | case Akonadi2::Commands::DeleteEntityCommand: | 68 | case Akonadi2::Commands::DeleteEntityCommand: |
70 | //mPipeline->removedEntity | 69 | return mPipeline->deletedEntity(queuedCommand->command()->Data(), queuedCommand->command()->size()); |
71 | return KAsync::null<void>(); | ||
72 | case Akonadi2::Commands::ModifyEntityCommand: | 70 | case Akonadi2::Commands::ModifyEntityCommand: |
73 | //mPipeline->modifiedEntity | 71 | return mPipeline->modifiedEntity(queuedCommand->command()->Data(), queuedCommand->command()->size()); |
74 | return KAsync::null<void>(); | ||
75 | case Akonadi2::Commands::CreateEntityCommand: | 72 | case Akonadi2::Commands::CreateEntityCommand: |
76 | return mPipeline->newEntity(queuedCommand->command()->Data(), queuedCommand->command()->size()); | 73 | return mPipeline->newEntity(queuedCommand->command()->Data(), queuedCommand->command()->size()); |
77 | default: | 74 | default: |