Formatting

This commit is contained in:
kdeng00
2022-01-08 21:09:40 -05:00
parent 7a04b802f0
commit 10ed33d412
35 changed files with 1340 additions and 1248 deletions
+9 -6
View File
@@ -5,12 +5,15 @@
namespace Models
{
struct API
{
std::string url;
std::string endpoint;
std::string version;
};
class API
{
public:
std::string url;
std::string endpoint;
std::string version;
};
}
#endif
+7 -5
View File
@@ -5,11 +5,13 @@
namespace Models
{
struct Flags
{
std::string flag;
std::string value;
};
struct Flags
{
std::string flag;
std::string value;
};
}
#endif
+7 -5
View File
@@ -8,11 +8,13 @@
namespace Models
{
struct IcarusAction
{
std::string action;
std::vector<Flags> flags;
};
struct IcarusAction
{
std::string action;
std::vector<Flags> flags;
};
}
#endif
+15 -13
View File
@@ -6,19 +6,21 @@
namespace Models
{
struct Song
{
int id;
std::string title;
std::string artist;
std::string album;
std::string genre;
int year;
int duration;
int track;
std::string data;
std::string songPath;
};
struct Song
{
int id;
std::string title;
std::string artist;
std::string album;
std::string genre;
int year;
int duration;
int track;
std::string data;
std::string songPath;
};
}
#endif
+8 -6
View File
@@ -5,12 +5,14 @@
namespace Models
{
struct Token
{
std::string accessToken;
std::string tokenType;
int expiration;
};
struct Token
{
std::string accessToken;
std::string tokenType;
int expiration;
};
}
#endif
+7 -5
View File
@@ -6,11 +6,13 @@
namespace Models
{
struct UploadForm
{
std::string url;
std::string filePath;
};
struct UploadForm
{
std::string url;
std::string filePath;
};
}
#endif
+7 -5
View File
@@ -5,11 +5,13 @@
namespace Models
{
struct User
{
std::string username;
std::string password;
};
struct User
{
std::string username;
std::string password;
};
}
#endif