Mercurial > minori
comparison src/services/services.cpp @ 9:5c0397762b53
INCOMPLETE: megacommit :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 10 Sep 2023 03:59:16 -0400 |
parents | |
children | 4b198a111713 |
comparison
equal
deleted
inserted
replaced
8:b1f73678ef61 | 9:5c0397762b53 |
---|---|
1 #include "session.h" | |
2 | |
3 namespace Services { | |
4 | |
5 void Synchronize() { | |
6 switch (session.config.service) { | |
7 case ANILIST: AniList::GetAnimeList(); break; | |
8 default: break; | |
9 } | |
10 } | |
11 | |
12 void Authorize() { | |
13 switch (session.config.service) { | |
14 case ANILIST: AniList::AuthorizeUser(); break; | |
15 default: break; | |
16 } | |
17 } | |
18 | |
19 } // namespace Services |