comparison include/track/media.h @ 138:28842a8d0c6b

dep/animia: huge refactor (again...) but this time, it actually compiles! and it WORKS! (on win32... not sure about other platforms...) configuring players is still not supported: at some point I'll prune something up...
author Paper <mrpapersonic@gmail.com>
date Sun, 12 Nov 2023 04:53:19 -0500
parents 0a458cb26ff4
children d43d68408d3c
comparison
equal deleted inserted replaced
137:69db40272acd 138:28842a8d0c6b
1 #ifndef __track__media_h 1 #ifndef __track__media_h
2 #define __track__media_h 2 #define __track__media_h
3 #include "core/filesystem.h" 3 #include "core/filesystem.h"
4 #include <unordered_map> 4 #include <unordered_map>
5 #include <string>
6 #include <vector>
5 7
6 namespace Track { 8 namespace Track {
7 namespace Media { 9 namespace Media {
8 10
9 std::filesystem::path GetCurrentPlaying(); 11 bool GetCurrentlyPlaying(std::vector<std::string>& vec);
10 std::unordered_map<std::string, std::string> GetFileElements(const std::string& basename); 12 std::unordered_map<std::string, std::string> GetFileElements(const std::string& basename);
11 std::unordered_map<std::string, std::string> GetFileElements(const std::filesystem::path& path); 13 //std::unordered_map<std::string, std::string> GetFileElements(const std::filesystem::path& path);
12 14
13 } // namespace Media 15 } // namespace Media
14 } // namespace Track 16 } // namespace Track
15 17
16 #endif // __track__media_h 18 #endif // __track__media_h