aboutsummaryrefslogtreecommitdiff
path: root/include/Config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Config.hpp')
-rw-r--r--include/Config.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp
index c61ca10..de96722 100644
--- a/include/Config.hpp
+++ b/include/Config.hpp
@@ -12,6 +12,9 @@ namespace gsr {
struct ConfigHotkey {
int64_t keysym = 0;
uint32_t modifiers = 0;
+
+ bool operator==(const ConfigHotkey &other) const;
+ bool operator!=(const ConfigHotkey &other) const;
};
struct RecordOptions {
@@ -94,6 +97,8 @@ namespace gsr {
struct Config {
Config(const SupportedCaptureOptions &capture_options);
+ bool operator==(const Config &other);
+ bool operator!=(const Config &other);
MainConfig main_config;
StreamingConfig streaming_config;