TargetController suspension

This commit is contained in:
Nav
2021-05-30 16:52:32 +01:00
parent a0b59e3bf7
commit db2221741f
17 changed files with 441 additions and 162 deletions

View File

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