| 83 | } |
| 84 | |
| 85 | void 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 | |
| 100 | void streamfx::ui::handler::on_obs_loaded() |
| 101 | { |
nothing calls this directly
no test coverage detected