view include/track/media.h @ 135:0a458cb26ff4

filesystem: move to using std::filesystem after C++17 switch old compilers will croak compiling this, but it's not like we *really* need to support them (they probably croak compiling Qt as well)
author Paper <mrpapersonic@gmail.com>
date Thu, 09 Nov 2023 18:01:56 -0500
parents ab191e28e69d
children 28842a8d0c6b
line wrap: on
line source

#ifndef __track__media_h
#define __track__media_h
#include "core/filesystem.h"
#include <unordered_map>

namespace Track {
namespace Media {

std::filesystem::path GetCurrentPlaying();
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);

} // namespace Media
} // namespace Track

#endif // __track__media_h