comparison include/core/anime_db.h @ 9:5c0397762b53

INCOMPLETE: megacommit :)
author Paper <mrpapersonic@gmail.com>
date Sun, 10 Sep 2023 03:59:16 -0400
parents
children 4b198a111713
comparison
equal deleted inserted replaced
8:b1f73678ef61 9:5c0397762b53
1 #ifndef __core__anime_db_h
2 #define __core__anime_db_h
3 #include <unordered_map>
4
5 namespace Anime {
6
7 class Anime;
8
9 class Database {
10 public:
11 std::unordered_map<int, Anime> items;
12 int GetTotalAnimeAmount();
13 int GetTotalEpisodeAmount();
14 int GetTotalWatchedAmount();
15 int GetTotalPlannedAmount();
16 double GetAverageScore();
17 double GetScoreDeviation();
18 };
19
20 inline Database db;
21
22 } // namespace Anime
23 #endif // __core__anime_db_h