Able to upload song. Left TODO on what's next

This commit is contained in:
kdeng00
2019-08-18 22:58:04 -04:00
parent bbd8186114
commit 4072526d35
6 changed files with 98 additions and 30 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef SONGMANAGER_H_
#define SONGMANAGER_H_
#include <iostream>
#include <string>
#include "models.h"
class song_manager
{
public:
song_manager(std::string&);
void saveSong(Song&);
private:
std::string exe_path;
};
#endif
+2
View File
@@ -2,6 +2,7 @@
#define MODELS_H_
#include <string>
#include <vector>
struct Song
{
@@ -13,6 +14,7 @@ struct Song
int Year;
int Duration;
char SongPath[1024];
std::vector<unsigned char> data;
};
struct Cover