Mercurial > minori
annotate include/services/anilist.h @ 261:3ec7804abf17
include: make header guards more sane
The C++ standard[1] says:
Each identifier that contains a double underscore __ or
begins with an underscore followed by an uppercase letter
is reserved to the implementation for any use.
[1]: https://timsong-cpp.github.io/cppwp/n4659/lex.name#3.1
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 03 Apr 2024 20:04:28 -0400 |
parents | 862d0d8619f6 |
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_ |