Mercurial > minori
view src/services/services.cpp @ 36:2743011a6042
*: mass update
formatted all source files, converted ALL instances of setStyleSheet() to
palettes and fonts (stylesheets suck), and I changed the clang-format file because
it wasn't working on my laptop for some reason.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 21 Sep 2023 15:17:47 -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