Mercurial > minori
diff include/core/config.h @ 116:254b1d2b7096
settings: add torrents page, make rss feed configurable
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 07 Nov 2023 13:52:13 -0500 |
parents | ab191e28e69d |
children | 39521c47c7a3 |
line wrap: on
line diff
--- a/include/core/config.h Tue Nov 07 12:04:51 2023 -0500 +++ b/include/core/config.h Tue Nov 07 13:52:13 2023 -0500 @@ -23,17 +23,28 @@ bool highlighted_anime_above_others; } anime_list; + /* these should preferably be in an + "auth" struct... */ struct { public: std::string auth_token; std::string username; int user_id; } anilist; + + struct { + public: + std::string feed_link; + } torrents; }; #define WIDEIFY_EX(x) L##x #define WIDEIFY(x) WIDEIFY_EX(x) +/* only on these platforms keep this uppercase. + this will not remove compatibility with older + versions, since these platforms are case insensitive + (on macOS, only by default) */ #if (defined(WIN32) || defined(MACOSX)) #define CONFIG_DIR "Minori" #else