diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-09-08 20:08:42 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-09-08 20:09:05 +0200 |
commit | 215ac920166087ffcf917c293caf6497adf50c3d (patch) | |
tree | 3294f0d19c45d3477049380ed04f5b320e879e71 /include | |
parent | e3a151d5d2a71126c275567862a0cd2d471b42bc (diff) |
Add matrix known servers to config file instead of hardcoded, copy example config and readme to /usr/share/quickmedia
Diffstat (limited to 'include')
-rw-r--r-- | include/Config.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp index 101b0be..6aabc65 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -1,6 +1,7 @@ #pragma once #include <string> +#include <vector> namespace QuickMedia { struct SearchConfig { @@ -46,6 +47,10 @@ namespace QuickMedia { bool load_progress = true; }; + struct MatrixConfig { + std::vector<std::string> known_homeservers; + }; + struct Config { Config() = default; Config(const Config&) = delete; @@ -59,6 +64,7 @@ namespace QuickMedia { LocalMangaConfig local_manga; LocalAnimeConfig local_anime; YoutubeConfig youtube; + MatrixConfig matrix; bool use_system_fonts = false; bool use_system_mpv_config = false; bool enable_shaders = true; |