diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-12-08 14:32:11 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-12-08 14:32:11 +0100 |
commit | f3565fdd77fb480575feec5de252466b093daf86 (patch) | |
tree | 1769a3923eda51aabe8a3f8bfa905a4df7a12df4 /include/Config.hpp | |
parent | 6b66eebb6896b768f1b7cd5f37caa01fbf4b7e28 (diff) |
Query capture options when opening settings and validate capture options when starting recording
Diffstat (limited to 'include/Config.hpp')
-rw-r--r-- | include/Config.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/Config.hpp b/include/Config.hpp index 6044ab8..02f1634 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -7,7 +7,7 @@ #include <optional> namespace gsr { - struct GsrInfo; + struct SupportedCaptureOptions; struct ConfigHotkey { int64_t keysym = 0; @@ -92,7 +92,7 @@ namespace gsr { }; struct Config { - Config(const GsrInfo &gsr_info); + Config(const SupportedCaptureOptions &capture_options); MainConfig main_config; StreamingConfig streaming_config; @@ -100,6 +100,6 @@ namespace gsr { ReplayConfig replay_config; }; - std::optional<Config> read_config(const GsrInfo &gsr_info); + std::optional<Config> read_config(const SupportedCaptureOptions &capture_options); void save_config(Config &config); }
\ No newline at end of file |