MCPcopy Create free account
hub / github.com/Vhonowslend/StreamFX-Public / frontend_event_handler

Method frontend_event_handler

source/ui/ui.cpp:85–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void streamfx::ui::handler::frontend_event_handler(obs_frontend_event event, void* private_data)
86{
87 streamfx::ui::handler* ptr = reinterpret_cast<streamfx::ui::handler*>(private_data);
88 switch (event) {
89 case OBS_FRONTEND_EVENT_FINISHED_LOADING:
90 ptr->on_obs_loaded();
91 break;
92 case OBS_FRONTEND_EVENT_EXIT:
93 ptr->on_obs_exit();
94 break;
95 default:
96 break;
97 }
98}
99
100void streamfx::ui::handler::on_obs_loaded()
101{

Callers

nothing calls this directly

Calls 2

on_obs_loadedMethod · 0.80
on_obs_exitMethod · 0.80

Tested by

no test coverage detected