Code cleanup
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
#ifndef ALBUMFILTER_H_
|
||||
#define ALBUMFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class AlbumFilter
|
||||
{
|
||||
namespace type {
|
||||
enum class AlbumFilter {
|
||||
id = 0,
|
||||
title,
|
||||
year
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef ARTISTFILTER_H_
|
||||
#define ARTISTFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class ArtistFilter
|
||||
{
|
||||
namespace type {
|
||||
enum class ArtistFilter {
|
||||
id = 0,
|
||||
artist
|
||||
};
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef COVERFILTER_H_
|
||||
#define COVERFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class CoverFilter
|
||||
{
|
||||
namespace type {
|
||||
enum class CoverFilter {
|
||||
id = 0,
|
||||
songTitle,
|
||||
imagePath
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef GENREFILTER_H_
|
||||
#define GENREFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class GenreFilter
|
||||
{
|
||||
namespace type {
|
||||
enum class GenreFilter {
|
||||
id = 0,
|
||||
category
|
||||
};
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef PATHTYPE_H_
|
||||
#define PATHTYPE_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum PathType
|
||||
{
|
||||
namespace type {
|
||||
enum PathType {
|
||||
music = 0,
|
||||
archive,
|
||||
temp,
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
#define SALTFILTER_H_
|
||||
|
||||
namespace type {
|
||||
enum class SaltFilter
|
||||
{
|
||||
enum class SaltFilter {
|
||||
id = 0,
|
||||
salt,
|
||||
userId
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef SCOPES_H_
|
||||
#define SCOPES_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class Scope
|
||||
{
|
||||
namespace type {
|
||||
enum class Scope {
|
||||
upload = 0,
|
||||
download,
|
||||
stream,
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef SONGCHANGED_H_
|
||||
#define SONGCHANGED_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum SongChanged
|
||||
{
|
||||
namespace type {
|
||||
enum SongChanged {
|
||||
title = 0,
|
||||
artist,
|
||||
album,
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef SONGFILTER_H_
|
||||
#define SONGFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class SongFilter
|
||||
{
|
||||
namespace type {
|
||||
enum class SongFilter {
|
||||
id = 0,
|
||||
title,
|
||||
album,
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef SONGUPLOAD_H_
|
||||
#define SONGUPLOAD_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class SongUpload
|
||||
{
|
||||
namespace type {
|
||||
enum class SongUpload {
|
||||
Successful = 0,
|
||||
AlreadyExist = 1,
|
||||
Failed = 2
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
#define USERFILTER_H_
|
||||
|
||||
namespace type {
|
||||
enum class UserFilter
|
||||
{
|
||||
enum class UserFilter {
|
||||
id = 0,
|
||||
username
|
||||
};
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#ifndef YEARFILTER_H_
|
||||
#define YEARFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class YearFilter
|
||||
{
|
||||
namespace type {
|
||||
enum class YearFilter {
|
||||
id = 0,
|
||||
year
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user