Replaced StopTargetExecution event with TC command

This commit is contained in:
Nav
2022-04-18 18:50:23 +01:00
parent 5efffc6605
commit fa4f5e3427
8 changed files with 43 additions and 45 deletions

View File

@@ -17,6 +17,7 @@
// Commands
#include "Commands/Command.hpp"
#include "Commands/StopTargetExecution.hpp"
// Responses
#include "Responses/Response.hpp"
@@ -287,12 +288,7 @@ namespace Bloom::TargetController
*/
void onDebugSessionFinishedEvent(const Events::DebugSessionFinished& event);
/**
* Will attempt to stop execution on the target and emit a TargetExecutionStopped event.
*
* @param event
*/
void onStopTargetExecutionEvent(const Events::StopTargetExecution& event);
std::unique_ptr<Responses::Response> handleStopTargetExecution(Commands::StopTargetExecution& command);
/**
* Will attempt to step execution on the target and emit a TargetExecutionResumed event.