From: Timo Lotterbach Date: Tue, 6 Dec 2011 07:52:06 +0000 (+0100) Subject: enabled ExitCommand implementation X-Git-Tag: ivi-layer-management_version_0_9_5_rc~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2149690316935edabb7faa5d3532121608f61638;p=profile%2Fivi%2Flayer-management.git enabled ExitCommand implementation --- diff --git a/LayerManagerCommands/src/ExitCommand.cpp b/LayerManagerCommands/src/ExitCommand.cpp index 230e790..4925121 100644 --- a/LayerManagerCommands/src/ExitCommand.cpp +++ b/LayerManagerCommands/src/ExitCommand.cpp @@ -23,9 +23,8 @@ ExecutionResult ExitCommand::execute(ICommandExecutor* executor) { - (void)executor; // TODO: remove, only prevents warning - ExecutionResult result = ExecutionFailed; //executor->stopManagement(); //TODO - return result; + bool result = executor->stopManagement(); + return result ? ExecutionSuccess : ExecutionFailed; } const std::string ExitCommand::getString()