summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-25 12:03:48 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-25 12:03:48 +0100
commitdf99cc0a8fc96e6584d71a6fe03cad2b321118cb (patch)
tree1dabc4bc96194e36b001eb57bfddc38d7d8887ac
parent22af1ed535b4afc8db3804e72bc5adb1a1b28d60 (diff)
downloadsink-df99cc0a8fc96e6584d71a6fe03cad2b321118cb.tar.gz
sink-df99cc0a8fc96e6584d71a6fe03cad2b321118cb.zip
Removed unused command.
-rw-r--r--common/commands.cpp2
-rw-r--r--common/commands.h1
-rw-r--r--common/commands/fetchentity.fbs9
-rw-r--r--common/listener.cpp1
4 files changed, 0 insertions, 13 deletions
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)
39 return "RevisionUpdate"; 39 return "RevisionUpdate";
40 case SynchronizeCommand: 40 case SynchronizeCommand:
41 return "Synchronize"; 41 return "Synchronize";
42 case FetchEntityCommand:
43 return "FetchEntity";
44 case DeleteEntityCommand: 42 case DeleteEntityCommand:
45 return "DeleteEntity"; 43 return "DeleteEntity";
46 case ModifyEntityCommand: 44 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
37 HandshakeCommand, 37 HandshakeCommand,
38 RevisionUpdateCommand, 38 RevisionUpdateCommand,
39 SynchronizeCommand, 39 SynchronizeCommand,
40 FetchEntityCommand,
41 DeleteEntityCommand, 40 DeleteEntityCommand,
42 ModifyEntityCommand, 41 ModifyEntityCommand,
43 CreateEntityCommand, 42 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 @@
1namespace Sink.Commands;
2
3table FetchEntity {
4 revision: ulong;
5 entityId: string;
6 properties: [string];
7}
8
9root_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
269 break; 269 break;
270 } 270 }
271 case Sink::Commands::InspectionCommand: 271 case Sink::Commands::InspectionCommand:
272 case Sink::Commands::FetchEntityCommand:
273 case Sink::Commands::DeleteEntityCommand: 272 case Sink::Commands::DeleteEntityCommand:
274 case Sink::Commands::ModifyEntityCommand: 273 case Sink::Commands::ModifyEntityCommand:
275 case Sink::Commands::CreateEntityCommand: 274 case Sink::Commands::CreateEntityCommand: