Replaced nasty onInsightStateChangedEvent event handler in TargetController with new GetTargetState command
This commit is contained in:
@@ -30,12 +30,10 @@ namespace Bloom
|
||||
|
||||
void queueTask(InsightWorkerTask* task);
|
||||
|
||||
void dispatchEvents() {
|
||||
this->eventListener->dispatchCurrentEvents();
|
||||
}
|
||||
|
||||
void startup();
|
||||
|
||||
void onInsightWindowActivated();
|
||||
|
||||
signals:
|
||||
void ready();
|
||||
void taskQueued();
|
||||
@@ -58,6 +56,10 @@ namespace Bloom
|
||||
|
||||
SyncSafe<std::queue<InsightWorkerTask*>> queuedTasks;
|
||||
|
||||
void dispatchEvents() {
|
||||
this->eventListener->dispatchCurrentEvents();
|
||||
}
|
||||
|
||||
std::optional<InsightWorkerTask*> getQueuedTask();
|
||||
|
||||
void onTargetStoppedEvent(const Events::TargetExecutionStopped& event);
|
||||
|
||||
Reference in New Issue
Block a user