Mercurial > minori
annotate include/services/anilist.h @ 268:382b50754fe4
dep/animone: make osx code a bit less hacky
it would be nice if macos actually provided a real API for getting
window titles (outside of the accessibility api). the accessibility
API is a real mess to work with; the user has to give permission to
access it under newer versions.
| author | Paper <paper@paper.us.eu.org> |
|---|---|
| date | Fri, 12 Apr 2024 05:21:45 -0400 |
| parents | 3ec7804abf17 |
| children | 2115488eb302 |
| rev | line source |
|---|---|
|
261
3ec7804abf17
include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
1 #ifndef MINORI_SERVICES_ANILIST_H_ |
|
3ec7804abf17
include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
2 #define MINORI_SERVICES_ANILIST_H_ |
| 15 | 3 |
| 258 | 4 #include <string> |
| 250 | 5 #include <vector> |
| 15 | 6 |
| 63 | 7 namespace Services { |
| 8 namespace AniList { | |
| 15 | 9 |
|
44
619cbd6e69f9
filesystem: fix CreateDirectories function
Paper <mrpapersonic@gmail.com>
parents:
36
diff
changeset
|
10 bool AuthorizeUser(); |
| 9 | 11 |
| 12 /* Read queries */ | |
| 13 int GetAnimeList(); | |
| 14 | |
| 250 | 15 /* Search query */ |
| 16 std::vector<int> Search(const std::string& search); | |
| 17 | |
| 9 | 18 /* Write queries (mutations) */ |
| 19 int UpdateAnimeEntry(int id); | |
| 15 | 20 |
| 63 | 21 } // namespace AniList |
| 22 } // namespace Services | |
| 15 | 23 |
|
261
3ec7804abf17
include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
24 #endif // MINORI_SERVICES_ANILIST_H_ |
