Added Utility and Type namespaces

This commit is contained in:
kdeng00
2019-09-01 16:56:52 -04:00
parent 1ec3511bc5
commit dfd4906371
30 changed files with 233 additions and 59 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef ALBUMREPOSITORY_H_
#define ALBUMREPOSITORY_H_
#include "database/base_repository.h"
#include "models/models.h"
namespace Database
{
class albumRepository : public base_repository
{
public:
albumRepository(const Model::BinaryPath&);
private:
};
}
#endif
+1 -1
View File
@@ -15,7 +15,7 @@ namespace Database
coverArtRepository(const std::string&);
coverArtRepository(const Model::BinaryPath&);
Model::Cover retrieveRecord(Model::Cover&, coverFilter);
Model::Cover retrieveRecord(Model::Cover&, Type::coverFilter);
void deleteRecord(const Model::Cover&);
void saveRecord(const Model::Cover&);
+17
View File
@@ -0,0 +1,17 @@
#ifndef GENREREPOSITORY_H_
#define GENREREPOSITORY_H_
#include "database/base_repository.h"
#include "models/models.h"
namespace Database
{
class genreRepository : public base_repository
{
public:
genreRepository(const Model::BinaryPath&);
private:
};
}
#endif
+1 -1
View File
@@ -20,7 +20,7 @@ namespace Database
std::vector<Model::Song> retrieveRecords();
Model::Song retrieveRecord(Model::Song&, songFilter);
Model::Song retrieveRecord(Model::Song&, Type::songFilter);
void deleteRecord(const Model::Song&);
void saveRecord(const Model::Song&);
+17
View File
@@ -0,0 +1,17 @@
#ifndef YEARREPOSITORY_H_
#define YEARREPOSITORY_H_
#include "database/base_repository.h"
#include "models/models.h"
namespace Database
{
class yearRepository : public base_repository
{
public:
yearRepository(const Model::BinaryPath&);
private:
};
}
#endif