initial Commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "Metadata.h"
|
||||
#include <filesystem>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#define MUSIC_FOLDER = {"data/"};
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
class File {
|
||||
public:
|
||||
void importFile( std::string fileName );
|
||||
void importFolder( std::string folderPath );
|
||||
std::vector<std::string> filenames_;
|
||||
private:
|
||||
std::string path_;
|
||||
fs::path musicFolder_ MUSIC_FOLDER;
|
||||
std::string fileName_;
|
||||
fs::path fp_ = musicFolder_ / fileName_;
|
||||
};
|
||||
Reference in New Issue
Block a user