From 71f95e4b12b0a79e7ff9fc4239af87b1380ad3cd Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 18 Nov 2024 17:48:10 +0100 Subject: Add option to start replay when power supply is connected --- include/Overlay.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/Overlay.hpp b/include/Overlay.hpp index de27bf3..a31f9dd 100644 --- a/include/Overlay.hpp +++ b/include/Overlay.hpp @@ -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 key_bindings; }; -- cgit v1.2.3