rcpp_framework/modules/users/file_based_user.h

24 lines
377 B
C++

#ifndef FILE_BASED_USER_H
#define FILE_BASED_USER_H
#include "user.h"
class FileBasedUser : public User {
public:
static std::string get_path();
static void set_path(const std::string &path);
void save();
void load(const std::string &p_name);
void load();
FileBasedUser();
~FileBasedUser();
protected:
std::string _file_path;
static std::string _path;
};
#endif