comparison src/services/services.cpp @ 52:0c4138de2ea7

anime list: we are finally read-write
author Paper <mrpapersonic@gmail.com>
date Mon, 25 Sep 2023 22:49:42 -0400
parents d8eb763e6661
children 3d2decf093bb
comparison
equal deleted inserted replaced
51:75c804f713b2 52:0c4138de2ea7
23 break; 23 break;
24 } 24 }
25 } 25 }
26 } 26 }
27 27
28 void UpdateAnimeEntry(int id) {
29 switch (session.config.service) {
30 case Anime::Services::ANILIST: AniList::UpdateAnimeEntry(id); break;
31 default: break;
32 }
33 }
34
28 bool Authorize() { 35 bool Authorize() {
29 switch (session.config.service) { 36 switch (session.config.service) {
30 case Anime::Services::ANILIST: 37 case Anime::Services::ANILIST:
31 return AniList::AuthorizeUser(); 38 return AniList::AuthorizeUser();
32 default: 39 default: