Mercurial > minori
diff include/gui/translate/anime.h @ 185:62e336597bb7
anime list: add support for different score formats
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 05 Dec 2023 13:45:23 -0500 |
parents | f88eda79c60a |
children | 649786bae914 |
line wrap: on
line diff
--- a/include/gui/translate/anime.h Mon Dec 04 13:44:42 2023 -0500 +++ b/include/gui/translate/anime.h Tue Dec 05 13:45:23 2023 -0500 @@ -1,3 +1,6 @@ +#ifndef __gui__translate__anime_h +#define __gui__translate__anime_h + #include "core/anime.h" namespace Translate { @@ -8,6 +11,7 @@ std::string ToString(const Anime::SeriesStatus status); std::string ToString(const Anime::Services service); std::string ToString(const Anime::TitleLanguage language); +std::string ToString(const Anime::ScoreFormat format); std::string ToLocalString(const Anime::ListStatus status); std::string ToLocalString(const Anime::SeriesFormat format); @@ -22,5 +26,8 @@ Anime::SeriesStatus ToSeriesStatus(const std::string& str); Anime::Services ToService(const std::string& str); Anime::TitleLanguage ToLanguage(const std::string& str); +Anime::ScoreFormat ToScoreFormat(const std::string& str); } // namespace Translate + +#endif // __gui__translate__anime_h