Mercurial > minori
comparison include/core/config.h @ 120:275da698697d
config: template-ify INI
now it's... slightly less ugly :')
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Wed, 08 Nov 2023 18:13:37 -0500 |
parents | 39521c47c7a3 |
children | 6fdf0632c003 |
comparison
equal
deleted
inserted
replaced
119:4eae379cb1ff | 120:275da698697d |
---|---|
27 | 27 |
28 /* these should preferably be in an | 28 /* these should preferably be in an |
29 "auth" struct... */ | 29 "auth" struct... */ |
30 struct { | 30 struct { |
31 public: | 31 public: |
32 std::string auth_token; | 32 struct { |
33 std::string username; | 33 public: |
34 int user_id; | 34 std::string auth_token; |
35 } anilist; | 35 std::string username; |
36 int user_id; | |
37 } anilist; | |
38 } auth; | |
39 | |
40 struct { | |
41 public: | |
42 bool detect_media_players; | |
43 //bool detect_streaming_media; | |
44 } recognition; | |
36 | 45 |
37 struct { | 46 struct { |
38 public: | 47 public: |
39 std::string feed_link; | 48 std::string feed_link; |
40 } torrents; | 49 } torrents; |