20c0f9744f
Replace Metadata.h with Containers.h, introducing a HashTable implementation with SIMD acceleration and specialized track tracking. Cleanup PlayerEngine logic by merging it into the playback flow and refactoring several internal API signatures.
23 lines
521 B
C++
23 lines
521 B
C++
#pragma once
|
|
|
|
#include "Containers.h"
|
|
|
|
#include <filesystem>
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
namespace fs = std::filesystem;
|
|
|
|
class File {
|
|
public:
|
|
void importFile( std::string fileName );
|
|
void importFolder( const std::string& folderPath, std::vector<Track>& tracks );
|
|
void readFileTag( const char* fileName );
|
|
std::string parseFiletype( const std::string& path );
|
|
|
|
private:
|
|
std::string path_;
|
|
fs::path musicFolder_ = "data/";
|
|
std::string fileName_;
|
|
};
|