Tidied up code, going to put up the coding convention later on

This commit is contained in:
amazing-username
2019-09-04 15:41:43 +00:00
parent dd995269df
commit d4e9b8c71f
73 changed files with 1334 additions and 1368 deletions
+32
View File
@@ -0,0 +1,32 @@
#ifndef SONGMANAGER_H_
#define SONGMANAGER_H_
#include <iostream>
#include <string>
#include <nlohmann/json.hpp>
#include "model/Models.h"
namespace manager
{
class SongManager
{
public:
SongManager(std::string&);
SongManager(const model::BinaryPath&);
void saveSong(model::Song&);
void deleteSong(model::Song&);
static void printSong(const model::Song&);
private:
void saveSongTemp(model::Song&);
void saveMisc(model::Song&);
model::BinaryPath m_bConf;
std::string exe_path;
};
}
#endif