comparison include/services/services.h @ 304:2115488eb302

*: add very early season searcher
author Paper <paper@paper.us.eu.org>
date Mon, 13 May 2024 17:02:35 -0400
parents 3ec7804abf17
children b1f4d1867ab1
comparison
equal deleted inserted replaced
303:ab7ff259b4ca 304:2115488eb302
1 #ifndef MINORI_SERVICES_SERVICES_H_ 1 #ifndef MINORI_SERVICES_SERVICES_H_
2 #define MINORI_SERVICES_SERVICES_H_ 2 #define MINORI_SERVICES_SERVICES_H_
3
4 #include "core/anime.h"
5 #include "core/date.h"
3 6
4 #include <string> 7 #include <string>
5 #include <vector> 8 #include <vector>
6 9
7 namespace Services { 10 namespace Services {
8 11
9 void Synchronize(); 12 void Synchronize();
10 std::vector<int> Search(const std::string& search); 13 std::vector<int> Search(const std::string& search);
14 std::vector<int> GetSeason(Anime::SeriesSeason season, Date::Year year);
11 void UpdateAnimeEntry(int id); 15 void UpdateAnimeEntry(int id);
12 bool Authorize(); 16 bool Authorize();
13 17
14 }; // namespace Services 18 }; // namespace Services
15 19