Tidied up code, going to put up the coding convention later on
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef ALBUMFILTER_H_
|
||||
#define ALBUMFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class AlbumFilter
|
||||
{
|
||||
id = 0,
|
||||
title,
|
||||
year
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef ARTISTFILTER_H_
|
||||
#define ARTISTFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class ArtistFilter
|
||||
{
|
||||
id = 0,
|
||||
artist
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,14 @@
|
||||
#ifndef COVERFILTER_H_
|
||||
#define COVERFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class CoverFilter
|
||||
{
|
||||
id = 0,
|
||||
songTitle,
|
||||
imagePath
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef GENREFILTER_H_
|
||||
#define GENREFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class GenreFilter
|
||||
{
|
||||
id = 0,
|
||||
category
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef SCOPES_H_
|
||||
#define SCOPES_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class Scope
|
||||
{
|
||||
upload = 0,
|
||||
download
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef SONGFILTER_H_
|
||||
#define SONGFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class SongFilter
|
||||
{
|
||||
id = 0,
|
||||
title,
|
||||
album,
|
||||
artist,
|
||||
genre,
|
||||
year
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef YEARFILTER_H_
|
||||
#define YEARFILTER_H_
|
||||
|
||||
namespace type
|
||||
{
|
||||
enum class YearFilter
|
||||
{
|
||||
id = 0,
|
||||
year
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user