Changed C++ standard to C++17 and will implement functionality to retrieve songs, albums, artists, genres, cover art, and year records in json. Will add explicit versioning too

This commit is contained in:
kdeng00
2019-07-30 22:08:55 -04:00
parent 63bee45f95
commit 24a111e8e9
54 changed files with 1334 additions and 1331 deletions
+16
View File
@@ -0,0 +1,16 @@
#ifndef API_H_
#define API_H_
#include<string>
namespace Models
{
struct API
{
std::string url;
std::string endpoint;
std::string version;
};
}
#endif
+15
View File
@@ -0,0 +1,15 @@
#ifndef FLAGS_H_
#define FLAGS_H_
#include<string>
namespace Models
{
struct Flags
{
std::string flag;
std::string value;
};
}
#endif
+18
View File
@@ -0,0 +1,18 @@
#ifndef ICARUSACTION_H_
#define ICARUSACTION_H_
#include<string>
#include<vector>
#include"Flags.h"
namespace Models
{
struct IcarusAction
{
std::string action;
std::vector<Flags> flags;
};
}
#endif
+24
View File
@@ -0,0 +1,24 @@
#ifndef SONG_H_
#define SONG_H_
#include<string>
namespace Models
{
struct Song
{
int id;
std::string title;
std::string artist;
std::string album;
std::string genre;
int year;
int duration;
char *songData;
std::string data;
std::string songPath;
};
}
#endif
+16
View File
@@ -0,0 +1,16 @@
#ifndef TOKEN_H_
#define TOKEN_H_
#include<string>
namespace Models
{
struct Token
{
std::string accessToken;
std::string tokenType;
int expiration;
};
}
#endif
+16
View File
@@ -0,0 +1,16 @@
#ifndef UPLOADFORM_H_
#define UPLOADFORM_H_
#include<string>
namespace Models
{
struct UploadForm
{
std::string url;
std::string filePath;
};
}
#endif
+15
View File
@@ -0,0 +1,15 @@
#ifndef USER_H_
#define USER_H_
#include<string>
namespace Models
{
struct User
{
std::string username;
std::string password;
};
}
#endif