diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/services/services.cpp	Sun Sep 10 03:59:16 2023 -0400
@@ -0,0 +1,19 @@
+#include "session.h"
+
+namespace Services {
+
+void Synchronize() {
+	switch (session.config.service) {
+		case ANILIST: AniList::GetAnimeList(); break;
+		default: break;
+	}
+}
+
+void Authorize() {
+	switch (session.config.service) {
+		case ANILIST: AniList::AuthorizeUser(); break;
+		default: break;
+	}
+}
+
+} // namespace Services
\ No newline at end of file