Mercurial > minori
annotate include/services/services.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_SERVICES_H_ |
|
3ec7804abf17
include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
2 #define MINORI_SERVICES_SERVICES_H_ |
| 10 | 3 |
| 258 | 4 #include <string> |
| 250 | 5 #include <vector> |
| 6 | |
| 10 | 7 namespace Services { |
| 8 | |
| 9 void Synchronize(); | |
| 250 | 10 std::vector<int> Search(const std::string& search); |
|
52
0c4138de2ea7
anime list: we are finally read-write
Paper <mrpapersonic@gmail.com>
parents:
44
diff
changeset
|
11 void UpdateAnimeEntry(int id); |
|
44
619cbd6e69f9
filesystem: fix CreateDirectories function
Paper <mrpapersonic@gmail.com>
parents:
36
diff
changeset
|
12 bool Authorize(); |
| 10 | 13 |
| 36 | 14 }; // namespace Services |
| 10 | 15 |
|
261
3ec7804abf17
include: make header guards more sane
Paper <paper@paper.us.eu.org>
parents:
258
diff
changeset
|
16 #endif // MINORI_SERVICES_SERVICES_H_ |
