Added feature to retrieve song records in json format. One issue is that the json file is in one line

This commit is contained in:
kdeng00
2019-07-31 21:52:06 -04:00
parent 24a111e8e9
commit f81b481f38
7 changed files with 130 additions and 13 deletions
+7
View File
@@ -16,12 +16,19 @@ namespace Managers
CommitManager(Models::IcarusAction);
void commitAction();
enum RetrieveTypes
{
songs
};
private:
Models::Token parseToken(Models::API);
void initializeMapActions();
void deleteSong();
void downloadSong();
void retrieveObjects();
void uploadSong();
enum ActionValues
+25
View File
@@ -0,0 +1,25 @@
#ifndef RETRIEVERECORDS_H_
#define RETRIEVERECORDS_H_
#include "Managers/CommitManager.h"
#include "Models/API.h"
#include "Models/Token.h"
namespace Syncers
{
class RetrieveRecords
{
public:
RetrieveRecords();
RetrieveRecords(Models::API, Models::Token);
void retrieve(Managers::CommitManager::RetrieveTypes);
private:
void fetchSongs();
Models::API api;
Models::Token token;
};
}
#endif