Mercurial > minori
annotate include/track/media.h @ 137:69db40272acd
dep/animia: [WIP] huge refactor
this WILL NOT compile, because lots of code has been changed
and every API in the original codebase has been removed.
note that this api setup is not exactly permanent...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 10 Nov 2023 13:52:47 -0500 |
parents | 0a458cb26ff4 |
children | 28842a8d0c6b |
rev | line source |
---|---|
64 | 1 #ifndef __track__media_h |
2 #define __track__media_h | |
3 #include "core/filesystem.h" | |
80 | 4 #include <unordered_map> |
64 | 5 |
6 namespace Track { | |
7 namespace Media { | |
8 | |
135
0a458cb26ff4
filesystem: move to using std::filesystem after C++17 switch
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
9 std::filesystem::path GetCurrentPlaying(); |
0a458cb26ff4
filesystem: move to using std::filesystem after C++17 switch
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
10 std::unordered_map<std::string, std::string> GetFileElements(const std::string& basename); |
0a458cb26ff4
filesystem: move to using std::filesystem after C++17 switch
Paper <mrpapersonic@gmail.com>
parents:
114
diff
changeset
|
11 std::unordered_map<std::string, std::string> GetFileElements(const std::filesystem::path& path); |
64 | 12 |
13 } // namespace Media | |
14 } // namespace Track | |
15 | |
16 #endif // __track__media_h |