comparison include/core/anime_db.h @ 326:10096c5489e3

anime/db: refactor anime_season_db out
author Paper <paper@paper.us.eu.org>
date Thu, 13 Jun 2024 00:42:00 -0400
parents d928ec7b6a0d
children b5d6c27c308f
comparison
equal deleted inserted replaced
325:78929794e7d8 326:10096c5489e3
32 int LookupServiceId(Service service, const std::string& id_to_find) const; 32 int LookupServiceId(Service service, const std::string& id_to_find) const;
33 int LookupServiceIdOrUnused(Service service, const std::string& id_to_find) const; 33 int LookupServiceIdOrUnused(Service service, const std::string& id_to_find) const;
34 34
35 /* when syncing we don't want to keep deleted anime */ 35 /* when syncing we don't want to keep deleted anime */
36 void RemoveAllUserData(); 36 void RemoveAllUserData();
37
38 std::vector<int> GetAllAnimeForSeason(SeriesSeason season, Date::Year year);
37 }; 39 };
38 40
39 extern Database db; 41 extern Database db;
40 42
41 } // namespace Anime 43 } // namespace Anime