diff include/core/anime.h @ 320:1b5c04268d6a

services/kitsu: ACTUALLY finish GetAnimeList there are some things the API just... doesn't provide. therefore we have to request the genres separately any time a new anime info box is opened...
author Paper <paper@paper.us.eu.org>
date Wed, 12 Jun 2024 19:49:19 -0400
parents b1f4d1867ab1
children 5d3c9b31aa6e
line wrap: on
line diff
--- a/include/core/anime.h	Wed Jun 12 17:52:26 2024 -0400
+++ b/include/core/anime.h	Wed Jun 12 19:49:19 2024 -0400
@@ -161,13 +161,13 @@
 	void SetUserStatus(ListStatus status);
 	void SetUserScore(int score);
 	void SetUserProgress(int progress);
-	void SetUserDateStarted(Date const& started);
-	void SetUserDateCompleted(Date const& completed);
+	void SetUserDateStarted(const Date& started);
+	void SetUserDateCompleted(const Date& completed);
 	void SetUserIsPrivate(bool is_private);
 	void SetUserRewatchedTimes(int rewatched);
 	void SetUserIsRewatching(bool rewatching);
 	void SetUserTimeUpdated(uint64_t updated);
-	void SetUserNotes(std::string const& notes);
+	void SetUserNotes(const std::string& notes);
 
 	/* Series data */
 	int GetId() const;
@@ -190,13 +190,13 @@
 	void SetId(int id);
 	void SetServiceId(Service service, const std::string& id);
 	void SetTitle(TitleLanguage language, const std::string& title);
-	void SetTitleSynonyms(std::vector<std::string> const& synonyms);
-	void AddTitleSynonym(std::string const& synonym);
+	void SetTitleSynonyms(const std::vector<std::string>& synonyms);
+	void AddTitleSynonym(const std::string& synonym);
 	void SetEpisodes(int episodes);
 	void SetAiringStatus(SeriesStatus status);
-	void SetAirDate(Date const& date);
-	void SetGenres(std::vector<std::string> const& genres);
-	void SetProducers(std::vector<std::string> const& producers);
+	void SetAirDate(const Date& date);
+	void SetGenres(const std::vector<std::string>& genres);
+	void SetProducers(const std::vector<std::string>& producers);
 	void SetFormat(SeriesFormat format);
 	void SetAudienceScore(double audience_score);
 	void SetSynopsis(std::string synopsis);