From df99cc0a8fc96e6584d71a6fe03cad2b321118cb Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 25 Nov 2016 12:03:48 +0100 Subject: Removed unused command. --- common/commands.cpp | 2 -- common/commands.h | 1 - common/commands/fetchentity.fbs | 9 --------- common/listener.cpp | 1 - 4 files changed, 13 deletions(-) delete mode 100644 common/commands/fetchentity.fbs (limited to 'common') diff --git a/common/commands.cpp b/common/commands.cpp index c0781f6..ce83d03 100644 --- a/common/commands.cpp +++ b/common/commands.cpp @@ -39,8 +39,6 @@ QByteArray name(int commandId) return "RevisionUpdate"; case SynchronizeCommand: return "Synchronize"; - case FetchEntityCommand: - return "FetchEntity"; case DeleteEntityCommand: return "DeleteEntity"; case ModifyEntityCommand: diff --git a/common/commands.h b/common/commands.h index 0da1b3c..6d5d39b 100644 --- a/common/commands.h +++ b/common/commands.h @@ -37,7 +37,6 @@ enum CommandIds HandshakeCommand, RevisionUpdateCommand, SynchronizeCommand, - FetchEntityCommand, DeleteEntityCommand, ModifyEntityCommand, CreateEntityCommand, diff --git a/common/commands/fetchentity.fbs b/common/commands/fetchentity.fbs deleted file mode 100644 index bceafbd..0000000 --- a/common/commands/fetchentity.fbs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Sink.Commands; - -table FetchEntity { - revision: ulong; - entityId: string; - properties: [string]; -} - -root_type FetchEntity; diff --git a/common/listener.cpp b/common/listener.cpp index 2ab0333..9e80c45 100644 --- a/common/listener.cpp +++ b/common/listener.cpp @@ -269,7 +269,6 @@ void Listener::processCommand(int commandId, uint messageId, const QByteArray &c break; } case Sink::Commands::InspectionCommand: - case Sink::Commands::FetchEntityCommand: case Sink::Commands::DeleteEntityCommand: case Sink::Commands::ModifyEntityCommand: case Sink::Commands::CreateEntityCommand: -- cgit v1.2.3