Add option to start replay when power supply is connected

This commit is contained in:
dec05eba
2024-11-18 17:48:10 +01:00
parent d6b4fb5ba9
commit 71f95e4b12
4 changed files with 55 additions and 6 deletions

View File

@@ -59,7 +59,9 @@ namespace gsr {
void update_notification_process_status();
void update_gsr_process_status();
void replay_status_update_status();
void update_focused_fullscreen_status();
void update_power_supply_status();
void update_ui_recording_paused();
void update_ui_recording_unpaused();
@@ -117,7 +119,8 @@ namespace gsr {
RecordingStatus recording_status = RecordingStatus::NONE;
bool paused = false;
mgl::Clock focused_fullscreen_clock;
mgl::Clock replay_status_update_clock;
std::string power_supply_online_filepath;
std::array<KeyBinding, 1> key_bindings;
};