Doing some refactoring and some skeleton work for downloading songs

This commit is contained in:
kdeng00
2019-11-29 19:54:10 -05:00
parent d199b482ad
commit 1e70f84622
46 changed files with 1859 additions and 1341 deletions
+2 -8
View File
@@ -26,14 +26,6 @@ public:
const int duration, const int year, const int coverArtId) :
id(id), title(title), artist(artist), album(album), albumArtist(albumArtist),
genre(genre), duration(duration), year(year), coverArtId(coverArtId) { }
/**
Song(const int id, const std::string&& title, const std::string&& artist,
const std::string&& album, const std::string&& genre,
const int duration, const int year) :
id(id), title(std::move(title)), artist(std::move(artist)),
album(std::move(album)), genre(std::move(genre)), duration(duration),
year(year) { }
*/
int id;
std::string title;
@@ -45,6 +37,8 @@ Song(const int id, const std::string&& title, const std::string&& artist,
int year;
int coverArtId;
std::vector<char> data;
bool downloaded;
std::string path;
};
}