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