view src/services/services.cpp @ 34:bb12ff38b3d1

ci/osx: attempt #2 at making this work agh..
author Paper <mrpapersonic@gmail.com>
date Wed, 20 Sep 2023 13:49:35 -0400
parents cde8f67a7c7d
children 619cbd6e69f9
line wrap: on
line source

#include "services/services.h"
#include "core/session.h"
#include "services/anilist.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