Replaced StopTargetExecution event with TC command
This commit is contained in:
@@ -15,7 +15,6 @@ namespace Bloom::Events
|
||||
enum class EventType: std::uint8_t
|
||||
{
|
||||
GENERIC,
|
||||
STOP_TARGET_EXECUTION,
|
||||
RESUME_TARGET_EXECUTION,
|
||||
RESET_TARGET,
|
||||
DEBUG_SESSION_STARTED,
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include <memory>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "StopTargetExecution.hpp"
|
||||
#include "ResumeTargetExecution.hpp"
|
||||
#include "ResetTarget.hpp"
|
||||
#include "DebugSessionStarted.hpp"
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "TargetExecutionStopped.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class StopTargetExecution: public Event
|
||||
{
|
||||
public:
|
||||
using TargetControllerResponseType = TargetExecutionStopped;
|
||||
|
||||
static constexpr EventType type = EventType::STOP_TARGET_EXECUTION;
|
||||
static inline const std::string name = "StopTargetExecution";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return StopTargetExecution::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return StopTargetExecution::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user