Mercurial > minori
annotate src/services/services.cpp @ 35:329b7921a6be
ci/osx: use debian instead of alpine
for some reason osxcross doesn't support musl libc
properly, so we have to use debian
also this converts our DOS-style files to Unix-style files
because Windows sucks :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 21 Sep 2023 11:43:24 -0400 |
parents | cde8f67a7c7d |
children | 619cbd6e69f9 |
rev | line source |
---|---|
15 | 1 #include "services/services.h" |
10 | 2 #include "core/session.h" |
3 #include "services/anilist.h" | |
4 | |
5 namespace Services { | |
6 | |
7 void Synchronize() { | |
8 switch (session.config.service) { | |
9 case Anime::Services::ANILIST: AniList::GetAnimeList(); break; | |
10 default: break; | |
11 } | |
12 } | |
13 | |
14 void Authorize() { | |
15 switch (session.config.service) { | |
16 case Anime::Services::ANILIST: AniList::AuthorizeUser(); break; | |
17 default: break; | |
18 } | |
19 } | |
20 | |
21 }; // namespace Services |