Factoring
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#ifndef DIRECTORY_MANAGER_H_
|
||||
#define DIRECTORY_MANAGER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "models/models.h"
|
||||
|
||||
class directory_manager
|
||||
{
|
||||
public:
|
||||
|
||||
std::string create_directory_process(Song, 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&);
|
||||
void delete_directories(Song, const std::string&);
|
||||
|
||||
private:
|
||||
void delete_song(const Song);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user