mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 18:28:35 +12:00
23 lines
709 B
C++
23 lines
709 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
// Do not confuse this with the "user" in Emu/System.h.
|
|
// That user is read from config.yml, and it only represents the currently "logged in" user.
|
|
// The UserAccount class will represent all users in the home directory for the User Manager dialog.
|
|
// Selecting a user account in this dialog and saving writes it to config.yml.
|
|
class UserAccount
|
|
{
|
|
public:
|
|
explicit UserAccount(const std::string& user_id = "00000001");
|
|
|
|
std::string GetUserId() { return m_user_id; }
|
|
std::string GetUserDir() { return m_user_dir; }
|
|
std::string GetUsername() { return m_username; }
|
|
~UserAccount();
|
|
|
|
private:
|
|
std::string m_user_id;
|
|
std::string m_user_dir;
|
|
std::string m_username;
|
|
};
|