Mercurial > minori
annotate include/library/library.h @ 260:dd211ff68b36
pages/seasons: add initial functionality
the menu doesn't work yet, but it's a good start
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 03 Apr 2024 19:48:38 -0400 |
parents | 862d0d8619f6 |
children | 3ec7804abf17 |
rev | line source |
---|---|
222
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
1 #ifndef __library__library_h |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
2 #define __library__library_h |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
3 |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
4 #include "library/library.h" |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
5 |
258 | 6 #include <string> |
222
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
7 #include <unordered_map> |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
8 |
223
84e0a3c4737a
library: implement menu bar buttons
Paper <mrpapersonic@gmail.com>
parents:
222
diff
changeset
|
9 namespace Library { |
84e0a3c4737a
library: implement menu bar buttons
Paper <mrpapersonic@gmail.com>
parents:
222
diff
changeset
|
10 |
222
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
11 // int = anime id, map = episode, paths |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
12 extern std::unordered_map<int, std::unordered_map<int, std::string>> library; |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
13 |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
14 void SearchLibraryFolders(); |
b9f111d84d95
*: move to semver, remove old macos build, add library files
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
15 |
258 | 16 } // namespace Library |
223
84e0a3c4737a
library: implement menu bar buttons
Paper <mrpapersonic@gmail.com>
parents:
222
diff
changeset
|
17 |
84e0a3c4737a
library: implement menu bar buttons
Paper <mrpapersonic@gmail.com>
parents:
222
diff
changeset
|
18 #endif // __library__library_h |