Mercurial > minori
comparison 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 |
comparison
equal
deleted
inserted
replaced
115:c72b907b9bef | 116:254b1d2b7096 |
---|---|
21 bool display_available_episodes; | 21 bool display_available_episodes; |
22 bool highlight_anime_if_available; | 22 bool highlight_anime_if_available; |
23 bool highlighted_anime_above_others; | 23 bool highlighted_anime_above_others; |
24 } anime_list; | 24 } anime_list; |
25 | 25 |
26 /* these should preferably be in an | |
27 "auth" struct... */ | |
26 struct { | 28 struct { |
27 public: | 29 public: |
28 std::string auth_token; | 30 std::string auth_token; |
29 std::string username; | 31 std::string username; |
30 int user_id; | 32 int user_id; |
31 } anilist; | 33 } anilist; |
34 | |
35 struct { | |
36 public: | |
37 std::string feed_link; | |
38 } torrents; | |
32 }; | 39 }; |
33 | 40 |
34 #define WIDEIFY_EX(x) L##x | 41 #define WIDEIFY_EX(x) L##x |
35 #define WIDEIFY(x) WIDEIFY_EX(x) | 42 #define WIDEIFY(x) WIDEIFY_EX(x) |
36 | 43 |
44 /* only on these platforms keep this uppercase. | |
45 this will not remove compatibility with older | |
46 versions, since these platforms are case insensitive | |
47 (on macOS, only by default) */ | |
37 #if (defined(WIN32) || defined(MACOSX)) | 48 #if (defined(WIN32) || defined(MACOSX)) |
38 #define CONFIG_DIR "Minori" | 49 #define CONFIG_DIR "Minori" |
39 #else | 50 #else |
40 #define CONFIG_DIR "minori" | 51 #define CONFIG_DIR "minori" |
41 #endif | 52 #endif |