Mercurial > minori
diff 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 |
line wrap: on
line diff
--- a/include/track/media.h Fri Nov 10 13:52:47 2023 -0500 +++ b/include/track/media.h Sun Nov 12 04:53:19 2023 -0500 @@ -2,13 +2,15 @@ #define __track__media_h #include "core/filesystem.h" #include <unordered_map> +#include <string> +#include <vector> namespace Track { namespace Media { -std::filesystem::path GetCurrentPlaying(); +bool GetCurrentlyPlaying(std::vector<std::string>& vec); std::unordered_map<std::string, std::string> GetFileElements(const std::string& basename); -std::unordered_map<std::string, std::string> GetFileElements(const std::filesystem::path& path); +//std::unordered_map<std::string, std::string> GetFileElements(const std::filesystem::path& path); } // namespace Media } // namespace Track