From c9c78e191dd71bacd769bbeccd58b80e4376184b Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 5 Aug 2017 20:07:10 +0500 Subject: 2017-08-05 --- src/Event.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Event.cpp') 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 -- cgit v1.2.3