summaryrefslogtreecommitdiffstats
path: root/common/genericresource.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-14 01:54:17 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-14 01:54:17 +0200
commit64f4244f5b5a2e830a240b6962c6708bd12a6d35 (patch)
treedf02e39d5438d5ef54dae05a89564dbdbd5a31d5 /common/genericresource.cpp
parentcd2bc8a5d124faf46a9944e6d04feb140b66e54e (diff)
downloadsink-64f4244f5b5a2e830a240b6962c6708bd12a6d35.tar.gz
sink-64f4244f5b5a2e830a240b6962c6708bd12a6d35.zip
Modify/Delete commands
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r--common/genericresource.cpp7
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
14using namespace Akonadi2; 13using 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: