Replaced ResetTarget event with TC command

This commit is contained in:
Nav
2022-04-23 17:41:02 +01:00
parent 7ba997572a
commit b3694970bf
7 changed files with 40 additions and 52 deletions

View File

@@ -3,7 +3,6 @@
#include <memory>
#include "Event.hpp"
#include "ResetTarget.hpp"
#include "DebugSessionStarted.hpp"
#include "DebugSessionFinished.hpp"
#include "TargetControllerThreadStateChanged.hpp"

View File

@@ -1,26 +0,0 @@
#pragma once
#include <string>
#include "Event.hpp"
#include "TargetReset.hpp"
namespace Bloom::Events
{
class ResetTarget: public Event
{
public:
using TargetControllerResponseType = TargetReset;
static constexpr EventType type = EventType::RESET_TARGET;
static inline const std::string name = "ResetTargetEvent";
[[nodiscard]] EventType getType() const override {
return ResetTarget::type;
}
[[nodiscard]] std::string getName() const override {
return ResetTarget::name;
}
};
}