Mercurial > minori
view src/services/services.cpp @ 12:cf6a73a5ba1c
cmake: fix for mingw
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 18 Sep 2023 23:40:11 -0400 |
parents | 4b198a111713 |
children | cde8f67a7c7d |
line wrap: on
line source
#include "core/session.h" #include "services/anilist.h" #include "services/services.h" namespace Services { void Synchronize() { switch (session.config.service) { case Anime::Services::ANILIST: AniList::GetAnimeList(); break; default: break; } } void Authorize() { switch (session.config.service) { case Anime::Services::ANILIST: AniList::AuthorizeUser(); break; default: break; } } }; // namespace Services