summaryrefslogtreecommitdiffstats
path: root/src/Event.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Event.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Event.cpp b/src/Event.cpp
index 19c93f2..e58a6f4 100644
--- a/src/Event.cpp
+++ b/src/Event.cpp
@@ -105,3 +105,7 @@ void EventAgregator::EventHandlingLoop() {
queueMutex.unlock();
}
}
+
+void SetGlobalState(GlobalState state) {
+ EventAgregator::PushEvent(EventType::GlobalAppState, GlobalAppStateData{state});
+} \ No newline at end of file