mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
26 lines
380 B
C++
26 lines
380 B
C++
#ifndef DB_BASED_USER_MANAGER_H
|
|
#define DB_BASED_USER_MANAGER_H
|
|
|
|
#include "core/object.h"
|
|
|
|
#include "user_manager.h"
|
|
|
|
class User;
|
|
|
|
class DBBasedUserManager : public UserManager {
|
|
|
|
public:
|
|
virtual User *create_user();
|
|
void load_all();
|
|
|
|
void set_table_name(const std::string &name);
|
|
|
|
virtual void migrate();
|
|
|
|
DBBasedUserManager();
|
|
~DBBasedUserManager();
|
|
|
|
protected:
|
|
};
|
|
|
|
#endif |