Mercurial > hg > orthanc-stone
diff Applications/Commands/BaseCommandBuilder.cpp @ 458:e74f9271d653 am-touch-events
removed/updated logs
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 29 Jan 2019 14:48:59 +0100 |
parents | b70e9be013e4 |
children |
line wrap: on
line diff
--- a/Applications/Commands/BaseCommandBuilder.cpp Thu Jan 24 16:42:27 2019 +0100 +++ b/Applications/Commands/BaseCommandBuilder.cpp Tue Jan 29 14:48:59 2019 +0100 @@ -34,13 +34,12 @@ if (commandJson["commandType"].isString() && commandJson["commandType"].asString() == "generic-no-arg-command") { - printf("creating a simple command\n"); - return new GenericNoArgCommand(commandJson["command"].asString().c_str()); + return new GenericNoArgCommand(commandJson["command"].asString().c_str()); } else if (commandJson["commandType"].isString() && commandJson["commandType"].asString() == "generic-one-string-arg-command") { - printf("creating a simple command\n"); - return new GenericNoArgCommand(commandJson["command"].asString().c_str()); + // TODO: we should create a command with a string arg ! + return new GenericNoArgCommand(commandJson["command"].asString().c_str()); } return NULL;