Removed obsolete event

This commit is contained in:
Nav
2023-05-10 19:52:15 +01:00
parent 39c66d7ab6
commit 3f0326d9a3
2 changed files with 0 additions and 34 deletions

View File

@@ -16,7 +16,6 @@
#include "TargetExecutionResumed.hpp"
#include "TargetExecutionStopped.hpp"
#include "MemoryWrittenToTarget.hpp"
#include "InsightThreadStateChanged.hpp"
#include "TargetReset.hpp"
#include "ProgrammingModeEnabled.hpp"
#include "ProgrammingModeDisabled.hpp"

View File

@@ -1,33 +0,0 @@
#pragma once
#include <string>
#include "Event.hpp"
#include "src/Helpers/Thread.hpp"
namespace Bloom::Events
{
class InsightThreadStateChanged: public Event
{
public:
explicit InsightThreadStateChanged(ThreadState state): state(state) {};
static constexpr EventType type = EventType::INSIGHT_THREAD_STATE_CHANGED;
static const inline std::string name = "InsightThreadStateChanged";
[[nodiscard]] EventType getType() const override {
return InsightThreadStateChanged::type;
}
[[nodiscard]] std::string getName() const override {
return InsightThreadStateChanged::name;
}
ThreadState getState() const {
return this->state;
}
private:
ThreadState state;
};
}