comparison include/core/anime_db.h @ 327:b5d6c27c308f

anime: refactor Anime::SeriesSeason to Season class ToLocalString has also been altered to take in both season and year because lots of locales actually treat formatting seasons differently! most notably is Russian which adds a suffix at the end to notate seasons(??)
author Paper <paper@paper.us.eu.org>
date Thu, 13 Jun 2024 01:49:18 -0400
parents 10096c5489e3
children
comparison
equal deleted inserted replaced
326:10096c5489e3 327:b5d6c27c308f
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 37
38 std::vector<int> GetAllAnimeForSeason(SeriesSeason season, Date::Year year); 38 std::vector<int> GetAllAnimeForSeason(Season season);
39 }; 39 };
40 40
41 extern Database db; 41 extern Database db;
42 42
43 } // namespace Anime 43 } // namespace Anime