comparison include/gui/translate/anime.h @ 202:71832ffe425a

animia: re-add kvm fd source this is all being merged from my wildly out-of-date laptop. SORRY! in other news, I edited the CI file to install the wayland client as well, so the linux CI build might finally get wayland stuff.
author Paper <paper@paper.us.eu.org>
date Tue, 02 Jan 2024 06:05:06 -0500
parents 649786bae914
children 3ec7804abf17
comparison
equal deleted inserted replaced
201:8f6f8dd2eb23 202:71832ffe425a
1 #ifndef __gui__translate__anime_h
2 #define __gui__translate__anime_h
3
1 #include "core/anime.h" 4 #include "core/anime.h"
2 5
3 namespace Translate { 6 namespace Translate {
4 7
5 std::string ToString(const Anime::ListStatus status); 8 std::string ToString(const Anime::ListStatus status);
6 std::string ToString(const Anime::SeriesFormat format); 9 std::string ToString(const Anime::SeriesFormat format);
7 std::string ToString(const Anime::SeriesSeason season); 10 std::string ToString(const Anime::SeriesSeason season);
8 std::string ToString(const Anime::SeriesStatus status); 11 std::string ToString(const Anime::SeriesStatus status);
9 std::string ToString(const Anime::Services service); 12 std::string ToString(const Anime::Services service);
13 std::string ToString(const Anime::TitleLanguage language);
14 std::string ToString(const Anime::ScoreFormat format);
15
16 std::string ToLocalString(const Anime::ListStatus status);
17 std::string ToLocalString(const Anime::SeriesFormat format);
18 std::string ToLocalString(const Anime::SeriesSeason season);
19 std::string ToLocalString(const Anime::SeriesStatus status);
20 std::string ToLocalString(const Anime::Services service);
21 std::string ToLocalString(const Anime::TitleLanguage language);
22 std::string ToLocalString(const Anime::ScoreFormat language);
23
24 Anime::ListStatus ToListStatus(const std::string& str);
25 Anime::SeriesFormat ToSeriesFormat(const std::string& str);
26 Anime::SeriesSeason ToSeriesSeason(const std::string& str);
27 Anime::SeriesStatus ToSeriesStatus(const std::string& str);
10 Anime::Services ToService(const std::string& str); 28 Anime::Services ToService(const std::string& str);
11 std::string ToString(const Anime::TitleLanguage language);
12 Anime::TitleLanguage ToLanguage(const std::string& str); 29 Anime::TitleLanguage ToLanguage(const std::string& str);
30 Anime::ScoreFormat ToScoreFormat(const std::string& str);
13 31
14 } // namespace Translate 32 } // namespace Translate
33
34 #endif // __gui__translate__anime_h