Mercurial > minori
diff include/core/anime.h @ 324:5d3c9b31aa6e
anime: add completed date member
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 12 Jun 2024 23:03:22 -0400 |
parents | 1b5c04268d6a |
children | b5d6c27c308f |
line wrap: on
line diff
--- a/include/core/anime.h Wed Jun 12 22:48:16 2024 -0400 +++ b/include/core/anime.h Wed Jun 12 23:03:22 2024 -0400 @@ -131,7 +131,8 @@ std::vector<std::string> synonyms; int episodes = 0; SeriesStatus status = SeriesStatus::Unknown; - Date air_date; + Date started; + Date completed; std::vector<std::string> genres; std::vector<std::string> producers; SeriesFormat format = SeriesFormat::Unknown; @@ -176,7 +177,8 @@ std::vector<std::string> GetTitleSynonyms() const; int GetEpisodes() const; SeriesStatus GetAiringStatus() const; - Date GetAirDate() const; + Date GetStartedDate() const; + Date GetCompletedDate() const; std::vector<std::string> GetGenres() const; std::vector<std::string> GetProducers() const; SeriesFormat GetFormat() const; @@ -194,7 +196,8 @@ void AddTitleSynonym(const std::string& synonym); void SetEpisodes(int episodes); void SetAiringStatus(SeriesStatus status); - void SetAirDate(const Date& date); + void SetStartedDate(const Date& date); + void SetCompletedDate(const Date& date); void SetGenres(const std::vector<std::string>& genres); void SetProducers(const std::vector<std::string>& producers); void SetFormat(SeriesFormat format);