diff include/core/config.h @ 221:53211cb1e7f5

library: add initial library stuff nice
author Paper <paper@paper.us.eu.org>
date Mon, 08 Jan 2024 13:21:08 -0500
parents 649786bae914
children f784b5b1914c
line wrap: on
line diff
--- a/include/core/config.h	Mon Jan 08 11:56:09 2024 -0500
+++ b/include/core/config.h	Mon Jan 08 13:21:08 2024 -0500
@@ -26,37 +26,36 @@
 		Locale::Locale locale;
 
 		struct {
-			public:
-				Anime::TitleLanguage language;
-				Anime::ScoreFormat score_format;
-				bool display_aired_episodes;
-				bool display_available_episodes;
-				bool highlight_anime_if_available;
-				bool highlighted_anime_above_others;
+			Anime::TitleLanguage language;
+			Anime::ScoreFormat score_format;
+			bool display_aired_episodes;
+			bool display_available_episodes;
+			bool highlight_anime_if_available;
+			bool highlighted_anime_above_others;
 		} anime_list;
 
 		/* these should preferably be in an
 		   "auth" struct... */
 		struct {
-			public:
-				struct {
-					public:
-						std::string auth_token;
-						std::string username;
-						int user_id;
-				} anilist;
+			struct {
+				std::string auth_token;
+				std::string username;
+				int user_id;
+			} anilist;
 		} auth;
 
 		struct {
-			public:
-				bool detect_media_players;
-				std::vector<MediaPlayer> players;
+			bool detect_media_players;
+			std::vector<MediaPlayer> players;
 		} recognition;
 
 		struct {
-			public:
-				std::string feed_link;
+			std::string feed_link;
 		} torrents;
+
+		struct {
+			std::vector<std::string> paths;
+		} library;
 };
 
 #if (defined(WIN32) || defined(MACOSX))