Added Model namespace

This commit is contained in:
kdeng00
2019-09-01 13:54:16 -04:00
parent 1255aa0ff7
commit d44a5bb1bc
19 changed files with 131 additions and 205 deletions
+3 -8
View File
@@ -12,24 +12,19 @@ class directory_manager
{
public:
static std::string create_directory_process(Song, const std::string&);
static std::string create_directory_process(Model::Song, const std::string&);
static std::string configPath(std::string_view);
static std::string contentOfPath(std::string_view);
static nlohmann::json credentialConfigContent(const std::string&);
static nlohmann::json databaseConfigContent(const std::string&);
static nlohmann::json pathConfigContent(const std::string&);
// Return Cover instead
//std::string read_cover_art(const std::string&);
//void copy_stock_to_root(const std::string&, const std::string&);
//void copy_song_to_path(const std::string&, const std::string&);
void delete_cover_art_file(const std::string&, const std::string&);
static void delete_directories(Song, const std::string&);
static void delete_directories(Model::Song, const std::string&);
private:
void delete_song(const Song);
void delete_song(const Model::Song);
};
#endif