aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Config.hpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/Config.hpp b/include/Config.hpp
index d7f0923..154bdb0 100644
--- a/include/Config.hpp
+++ b/include/Config.hpp
@@ -10,7 +10,7 @@ namespace gsr {
uint32_t modifiers = 0;
};
- struct MainConfig {
+ struct RecordOptions {
std::string record_area_option;
int32_t record_area_width = 0;
int32_t record_area_height = 0;
@@ -29,10 +29,14 @@ namespace gsr {
bool show_recording_saved_notifications = true;
bool record_cursor = true;
bool hide_window_when_recording = false;
- bool software_encoding_warning_shown = false;
bool restore_portal_session = true;
};
+ struct MainConfig {
+ int32_t config_file_version = 0;
+ bool software_encoding_warning_shown = false;
+ };
+
struct YoutubeStreamConfig {
std::string stream_key;
};
@@ -47,6 +51,7 @@ namespace gsr {
};
struct StreamingConfig {
+ RecordOptions record_options;
std::string streaming_service;
YoutubeStreamConfig youtube;
TwitchStreamConfig twitch;
@@ -55,6 +60,7 @@ namespace gsr {
};
struct RecordConfig {
+ RecordOptions record_options;
std::string save_directory;
std::string container;
ConfigHotkey start_stop_recording_hotkey;
@@ -62,9 +68,10 @@ namespace gsr {
};
struct ReplayConfig {
+ RecordOptions record_options;
std::string save_directory;
std::string container;
- int32_t replay_time = 30;
+ int32_t replay_time = 60;
ConfigHotkey start_stop_recording_hotkey;
ConfigHotkey save_recording_hotkey;
};