#pragma once #include #include #include #define MUSIC_FOLDER = {"data/"}; namespace fs = std::filesystem; class File { public: void importFile( std::string fileName ); void importFolder( std::string folderPath ); std::vector filenames_; private: std::string path_; fs::path musicFolder_ MUSIC_FOLDER; std::string fileName_; fs::path fp_ = musicFolder_ / fileName_; }; std::string_view parseFiletype( std::string_view path );