#pragma once #include "Containers.h" #include #include #include namespace fs = std::filesystem; class File { public: Track importFile( const std::string& filePath ); void importFolder( const std::string& folderPath, std::vector& tracks ); void readFileTag( Track& t ); std::string parseFiletype( const std::string& path ); void updateLibrary(); uint64_t hashString( Track t ); private: std::string path_; fs::path musicFolder_ = "data/"; std::string fileName_; };