Removed obsolete event
This commit is contained in:
@@ -16,7 +16,6 @@
|
|||||||
#include "TargetExecutionResumed.hpp"
|
#include "TargetExecutionResumed.hpp"
|
||||||
#include "TargetExecutionStopped.hpp"
|
#include "TargetExecutionStopped.hpp"
|
||||||
#include "MemoryWrittenToTarget.hpp"
|
#include "MemoryWrittenToTarget.hpp"
|
||||||
#include "InsightThreadStateChanged.hpp"
|
|
||||||
#include "TargetReset.hpp"
|
#include "TargetReset.hpp"
|
||||||
#include "ProgrammingModeEnabled.hpp"
|
#include "ProgrammingModeEnabled.hpp"
|
||||||
#include "ProgrammingModeDisabled.hpp"
|
#include "ProgrammingModeDisabled.hpp"
|
||||||
|
|||||||
@@ -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;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user