diff 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
line wrap: on
line diff
--- a/include/core/config.h	Wed Nov 08 13:50:00 2023 -0500
+++ b/include/core/config.h	Wed Nov 08 18:13:37 2023 -0500
@@ -29,10 +29,19 @@
 		   "auth" struct... */
 		struct {
 			public:
-				std::string auth_token;
-				std::string username;
-				int user_id;
-		} anilist;
+				struct {
+					public:
+						std::string auth_token;
+						std::string username;
+						int user_id;
+				} anilist;
+		} auth;
+
+		struct {
+			public:
+				bool detect_media_players;
+				//bool detect_streaming_media;
+		} recognition;
 
 		struct {
 			public: