Mercurial > minori
comparison include/services/services.h @ 319:d928ec7b6a0d
services/kitsu: implement GetAnimeList()
it finally works!
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 12 Jun 2024 17:52:26 -0400 |
parents | b1f4d1867ab1 |
children | 1b5c04268d6a |
comparison
equal
deleted
inserted
replaced
318:3b355fa948c7 | 319:d928ec7b6a0d |
---|---|
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 namespace Services { | 10 namespace Services { |
11 | 11 |
12 /* TODO: need to limit these to one thread (or put a mutex on the anime db) */ | |
13 | |
12 void Synchronize(); | 14 void Synchronize(); |
13 std::vector<int> Search(const std::string& search); | 15 std::vector<int> Search(const std::string& search); |
14 std::vector<int> GetSeason(Anime::SeriesSeason season, Date::Year year); | 16 std::vector<int> GetSeason(Anime::SeriesSeason season, Date::Year year); |
15 void UpdateAnimeEntry(int id); | 17 void UpdateAnimeEntry(int id); |
16 | 18 |