Mercurial > minori
view include/core/anime_db.h @ 125:4067388485c1
builds: use debian instead of alpine
alpine is very keen on breaking (probably because I was using edge)
and personally I like debian a lot more
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 09 Nov 2023 01:15:49 -0500 |
parents | c69230dc2b5d |
children | de0a8d2f28b3 |
line wrap: on
line source
#ifndef __core__anime_db_h #define __core__anime_db_h #include "core/anime.h" #include <string> #include <unordered_map> namespace Anime { class Database { public: std::unordered_map<int, Anime> items; int GetTotalAnimeAmount(); int GetTotalEpisodeAmount(); int GetTotalWatchedAmount(); int GetTotalPlannedAmount(); double GetAverageScore(); double GetScoreDeviation(); int GetListsAnimeAmount(ListStatus status); int GetAnimeFromTitle(const std::string& title); }; extern Database db; } // namespace Anime #endif // __core__anime_db_h