First version of the Users view (read only)

This commit is contained in:
emeric
2018-03-29 14:00:49 +02:00
parent 3aa006c921
commit 05fd8a47d8
14 changed files with 225 additions and 63 deletions
-7
View File
@@ -60,13 +60,6 @@ User::getById(Wt::Dbo::Session& session, id_type id)
return session.find<User>().where("id = ?").bind( id );
}
std::string
User::getId( pointer user)
{
std::ostringstream oss; oss << user.id();
return oss.str();
}
void
User::setAudioBitrate(std::size_t bitrate)
{
-1
View File
@@ -61,7 +61,6 @@ class User
// accessors
static pointer getById(Wt::Dbo::Session& session, id_type id);
static std::vector<pointer> getAll(Wt::Dbo::Session& session);
static std::string getId(pointer user);
// write
void setAdmin(bool admin) { _isAdmin = admin; }