| 182 | } |
| 183 | |
| 184 | static void startStopToggleHotkeyFunc(void *, obs_hotkey_id, obs_hotkey_t *, |
| 185 | bool pressed) |
| 186 | { |
| 187 | if (pressed) { |
| 188 | if (switcher->th && switcher->th->isRunning()) { |
| 189 | switcher->Stop(); |
| 190 | } else { |
| 191 | switcher->Start(); |
| 192 | } |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | QWidget *GetSettingsWindow(); |
| 197 |