Removed TC suspension
This commit is contained in:
@@ -18,7 +18,6 @@ namespace Bloom::Events
|
||||
DEBUG_SESSION_STARTED,
|
||||
DEBUG_SESSION_FINISHED,
|
||||
TARGET_CONTROLLER_THREAD_STATE_CHANGED,
|
||||
TARGET_CONTROLLER_STATE_CHANGED,
|
||||
SHUTDOWN_TARGET_CONTROLLER,
|
||||
TARGET_CONTROLLER_ERROR_OCCURRED,
|
||||
SHUTDOWN_APPLICATION,
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
#include "DebugSessionStarted.hpp"
|
||||
#include "DebugSessionFinished.hpp"
|
||||
#include "TargetControllerThreadStateChanged.hpp"
|
||||
#include "TargetControllerStateChanged.hpp"
|
||||
#include "ShutdownTargetController.hpp"
|
||||
#include "TargetControllerErrorOccurred.hpp"
|
||||
#include "ShutdownApplication.hpp"
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "src/TargetController/TargetControllerState.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class TargetControllerStateChanged: public Event
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::TARGET_CONTROLLER_STATE_CHANGED;
|
||||
static const inline std::string name = "TargetControllerStateChanged";
|
||||
|
||||
TargetController::TargetControllerState state;
|
||||
explicit TargetControllerStateChanged(TargetController::TargetControllerState state)
|
||||
: state(state)
|
||||
{};
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return TargetControllerStateChanged::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return TargetControllerStateChanged::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user