rcpp_framework/modules/users/db_based_user_manager.h

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