diff options
Diffstat (limited to '')
-rw-r--r-- | src/Event.cpp | 4 |
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 |