diff src/include/config.h @ 7:07a9095eaeed

Update Refactored some code, moved some around
author Paper <mrpapersonic@gmail.com>
date Thu, 24 Aug 2023 23:11:38 -0400
parents 1d82f6e04d7d
children
line wrap: on
line diff
--- a/src/include/config.h	Wed Aug 16 00:49:17 2023 -0400
+++ b/src/include/config.h	Thu Aug 24 23:11:38 2023 -0400
@@ -1,15 +1,17 @@
 #ifndef __config_h
 #define __config_h
-/* This should be moved to anime_list.h, but unfortunately
-   #include-ing anime_list.h in this file causes a shitstorm for
-   whatever reason, so I'll just leave it here */
+enum AnimeTitleLanguage {
+	ROMAJI,
+	NATIVE,
+	ENGLISH
+};
+
 enum AnimeListServices {
 	NONE,
 	ANILIST,
 	NB_SERVICES
 };
 
-/* todo: make this a class enum */
 enum Themes {
 	LIGHT,
 	DARK,
@@ -23,6 +25,15 @@
 
 		enum AnimeListServices service;
 		enum Themes theme;
+
+		struct {
+			enum AnimeTitleLanguage language;
+			bool display_aired_episodes;
+			bool display_available_episodes;
+			bool highlight_anime_if_available;
+			bool highlighted_anime_above_others;
+		} anime_list;
+
 		struct {
 			std::string auth_token;
 			std::string username;