summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/acc/profile_manager.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-10-13 19:02:33 +0200
committerZach Hilman <zachhilman@gmail.com>2018-10-24 01:31:28 +0200
commit45f2a2fe29373f261144c097d169dad8b65fe012 (patch)
tree610b04ce839b40eaab1fe297c625b34eaf76e9cd /src/core/hle/service/acc/profile_manager.h
parentconfigure_system: Clear selection after user delete (diff)
downloadyuzu-45f2a2fe29373f261144c097d169dad8b65fe012.tar
yuzu-45f2a2fe29373f261144c097d169dad8b65fe012.tar.gz
yuzu-45f2a2fe29373f261144c097d169dad8b65fe012.tar.bz2
yuzu-45f2a2fe29373f261144c097d169dad8b65fe012.tar.lz
yuzu-45f2a2fe29373f261144c097d169dad8b65fe012.tar.xz
yuzu-45f2a2fe29373f261144c097d169dad8b65fe012.tar.zst
yuzu-45f2a2fe29373f261144c097d169dad8b65fe012.zip
Diffstat (limited to 'src/core/hle/service/acc/profile_manager.h')
-rw-r--r--src/core/hle/service/acc/profile_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/acc/profile_manager.h b/src/core/hle/service/acc/profile_manager.h
index 1e5c2460e..482c1d8a9 100644
--- a/src/core/hle/service/acc/profile_manager.h
+++ b/src/core/hle/service/acc/profile_manager.h
@@ -96,6 +96,7 @@ public:
ResultCode AddUser(const ProfileInfo& user);
ResultCode CreateNewUser(UUID uuid, const ProfileUsername& username);
ResultCode CreateNewUser(UUID uuid, const std::string& username);
+ boost::optional<UUID> GetUser(std::size_t index) const;
boost::optional<std::size_t> GetUserIndex(const UUID& uuid) const;
boost::optional<std::size_t> GetUserIndex(const ProfileInfo& user) const;
bool GetProfileBase(boost::optional<std::size_t> index, ProfileBase& profile) const;
@@ -109,6 +110,7 @@ public:
std::size_t GetUserCount() const;
std::size_t GetOpenUserCount() const;
bool UserExists(UUID uuid) const;
+ bool UserExistsIndex(std::size_t index) const;
void OpenUser(UUID uuid);
void CloseUser(UUID uuid);
UserIDArray GetOpenUsers() const;