From 59dfd87c21026ef4dc713c3e0648cfa89d534557 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 27 Oct 2024 13:09:06 +0100 Subject: Add hotkeys for replay and streaming, finish everything --- include/Config.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/Config.hpp') diff --git a/include/Config.hpp b/include/Config.hpp index 5839297..1bb4e27 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -7,6 +7,8 @@ #include namespace gsr { + struct GsrInfo; + struct ConfigHotkey { int64_t keysym = 0; uint32_t modifiers = 0; @@ -86,7 +88,7 @@ namespace gsr { }; struct Config { - Config(); + Config(const GsrInfo &gsr_info); MainConfig main_config; StreamingConfig streaming_config; @@ -94,6 +96,6 @@ namespace gsr { ReplayConfig replay_config; }; - std::optional read_config(); + std::optional read_config(const GsrInfo &gsr_info); void save_config(Config &config); } \ No newline at end of file -- cgit v1.2.3