diff src/services/services.cpp @ 10:4b198a111713

Update things actually compile now btw qttest wants to fuck over the model but that might be my fault so /shrug
author Paper <mrpapersonic@gmail.com>
date Sat, 16 Sep 2023 02:06:01 -0400
parents 5c0397762b53
children cde8f67a7c7d
line wrap: on
line diff
--- a/src/services/services.cpp	Sun Sep 10 03:59:16 2023 -0400
+++ b/src/services/services.cpp	Sat Sep 16 02:06:01 2023 -0400
@@ -1,19 +1,21 @@
-#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
+#include "core/session.h"
+#include "services/anilist.h"
+#include "services/services.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
\ No newline at end of file