view include/gui/translate/anilist.h @ 392:a72d6d7b3568

anime_info: don't need to wait on the thread, just disconnect eventually, we can cancel any outgoing requests, but it's kind of unnecessary
author Paper <paper@tflc.us>
date Fri, 07 Nov 2025 07:10:32 -0500
parents b5d6c27c308f
children
line wrap: on
line source

#ifndef MINORI_GUI_TRANSLATE_ANILIST_H_
#define MINORI_GUI_TRANSLATE_ANILIST_H_

#include "core/anime.h"

namespace Translate {
namespace AniList {

Anime::SeriesStatus ToSeriesStatus(const std::string& status);
Anime::Season::Name ToSeriesSeason(const std::string& season);
Anime::SeriesFormat ToSeriesFormat(const std::string& format);
std::string ToString(Anime::Season::Name season);

} // namespace AniList
} // namespace Translate

#endif // MINORI_GUI_TRANSLATE_ANILIST_H_