Adding namespace Database

This commit is contained in:
emeric
2014-06-27 16:23:13 +02:00
parent e6c8dd996a
commit 7fd546eb44
24 changed files with 98 additions and 64 deletions
+5
View File
@@ -1,5 +1,7 @@
#include "AudioTypes.hpp"
namespace Database
{
Artist::Artist(const std::string& name)
: _name(name)
@@ -35,3 +37,6 @@ Artist::getAll(Wt::Dbo::Session& session, int offset, int size)
{
return session.find<Artist>().offset(offset).limit(size);
}
} // namespace Database