annotate include/gui/translate/anime.h @ 227:c4f03f83b252

library: do explicit conversion from fs::path to std::string this fixes compiler errors on Windows.
author Paper <mrpapersonic@gmail.com>
date Mon, 08 Jan 2024 21:30:18 -0500
parents 649786bae914
children 3ec7804abf17
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
185
62e336597bb7 anime list: add support for different score formats
Paper <mrpapersonic@gmail.com>
parents: 174
diff changeset
1 #ifndef __gui__translate__anime_h
62e336597bb7 anime list: add support for different score formats
Paper <mrpapersonic@gmail.com>
parents: 174
diff changeset
2 #define __gui__translate__anime_h
62e336597bb7 anime list: add support for different score formats
Paper <mrpapersonic@gmail.com>
parents: 174
diff changeset
3
10
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
4 #include "core/anime.h"
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
5
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
6 namespace Translate {
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
7
15
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 10
diff changeset
8 std::string ToString(const Anime::ListStatus status);
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 10
diff changeset
9 std::string ToString(const Anime::SeriesFormat format);
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 10
diff changeset
10 std::string ToString(const Anime::SeriesSeason season);
cde8f67a7c7d *: update, megacommit :)
Paper <mrpapersonic@gmail.com>
parents: 10
diff changeset
11 std::string ToString(const Anime::SeriesStatus status);
90
c4bb49c2f6eb config: improve handling of vars
Paper <mrpapersonic@gmail.com>
parents: 15
diff changeset
12 std::string ToString(const Anime::Services service);
174
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
13 std::string ToString(const Anime::TitleLanguage language);
185
62e336597bb7 anime list: add support for different score formats
Paper <mrpapersonic@gmail.com>
parents: 174
diff changeset
14 std::string ToString(const Anime::ScoreFormat format);
174
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
15
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
16 std::string ToLocalString(const Anime::ListStatus status);
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
17 std::string ToLocalString(const Anime::SeriesFormat format);
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
18 std::string ToLocalString(const Anime::SeriesSeason season);
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
19 std::string ToLocalString(const Anime::SeriesStatus status);
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
20 std::string ToLocalString(const Anime::Services service);
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
21 std::string ToLocalString(const Anime::TitleLanguage language);
189
649786bae914 *: etc. code cleanup
Paper <mrpapersonic@gmail.com>
parents: 185
diff changeset
22 std::string ToLocalString(const Anime::ScoreFormat language);
174
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
23
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
24 Anime::ListStatus ToListStatus(const std::string& str);
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
25 Anime::SeriesFormat ToSeriesFormat(const std::string& str);
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
26 Anime::SeriesSeason ToSeriesSeason(const std::string& str);
f88eda79c60a anime/db: add some more json functionality, still doesn't compile :/
Paper <mrpapersonic@gmail.com>
parents: 90
diff changeset
27 Anime::SeriesStatus ToSeriesStatus(const std::string& str);
90
c4bb49c2f6eb config: improve handling of vars
Paper <mrpapersonic@gmail.com>
parents: 15
diff changeset
28 Anime::Services ToService(const std::string& str);
c4bb49c2f6eb config: improve handling of vars
Paper <mrpapersonic@gmail.com>
parents: 15
diff changeset
29 Anime::TitleLanguage ToLanguage(const std::string& str);
185
62e336597bb7 anime list: add support for different score formats
Paper <mrpapersonic@gmail.com>
parents: 174
diff changeset
30 Anime::ScoreFormat ToScoreFormat(const std::string& str);
10
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
31
Paper <mrpapersonic@gmail.com>
parents: 9
diff changeset
32 } // namespace Translate
185
62e336597bb7 anime list: add support for different score formats
Paper <mrpapersonic@gmail.com>
parents: 174
diff changeset
33
62e336597bb7 anime list: add support for different score formats
Paper <mrpapersonic@gmail.com>
parents: 174
diff changeset
34 #endif // __gui__translate__anime_h