aboutsummaryrefslogtreecommitdiff
path: root/include/Config.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-02-25 17:33:21 +0100
committerdec05eba <dec05eba@protonmail.com>2025-02-25 17:37:25 +0100
commitf0bbbbe4a9d6b0314dc98ed27b63e96045a6e8cf (patch)
tree9e5f68394e53fc98ec99f6a1bd068770ceb2493f /include/Config.hpp
parentd9a1e5c2eb2fe9411a01b50915b9a919d089d64b (diff)
Replay on startup: wait until audio devices are available before turning replay on
Diffstat (limited to 'include/Config.hpp')
-rw-r--r--include/Config.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp
index 1c82822..1e2e9cb 100644
--- a/include/Config.hpp
+++ b/include/Config.hpp
@@ -11,6 +11,15 @@
namespace gsr {
struct SupportedCaptureOptions;
+ enum class ReplayStartupMode {
+ DONT_TURN_ON_AUTOMATICALLY,
+ TURN_ON_AT_SYSTEM_STARTUP,
+ TURN_ON_AT_FULLSCREEN,
+ TURN_ON_AT_POWER_SUPPLY_CONNECTED
+ };
+
+ ReplayStartupMode replay_startup_string_to_type(const char *startup_mode_str);
+
struct ConfigHotkey {
int64_t key = 0; // Mgl key
uint32_t modifiers = 0; // HotkeyModifier