diff 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 diff
--- a/include/track/media.h	Thu Nov 09 13:53:04 2023 -0500
+++ b/include/track/media.h	Thu Nov 09 18:01:56 2023 -0500
@@ -6,9 +6,9 @@
 namespace Track {
 namespace Media {
 
-Filesystem::Path GetCurrentPlaying();
-std::unordered_map<std::string, std::string> GetFileElements(std::string basename);
-std::unordered_map<std::string, std::string> GetFileElements(Filesystem::Path path);
+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