diff include/core/anime_db.h @ 173:de0a8d2f28b3

WILL NOT COMPILE: sample export ability for anime db
author Paper <mrpapersonic@gmail.com>
date Tue, 28 Nov 2023 13:53:54 -0500
parents c69230dc2b5d
children f88eda79c60a
line wrap: on
line diff
--- a/include/core/anime_db.h	Tue Nov 28 13:22:35 2023 -0500
+++ b/include/core/anime_db.h	Tue Nov 28 13:53:54 2023 -0500
@@ -2,6 +2,7 @@
 #define __core__anime_db_h
 
 #include "core/anime.h"
+#include "core/json.h"
 #include <string>
 #include <unordered_map>
 
@@ -18,6 +19,8 @@
 		double GetScoreDeviation();
 		int GetListsAnimeAmount(ListStatus status);
 		int GetAnimeFromTitle(const std::string& title);
+
+		bool GetDatabaseAsJSON(nlohmann::json& json);
 };
 
 extern Database db;