2018-01-17 03:32:59 +01:00
|
|
|
// Copyright 2018 yuzu emulator team
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/service/acc/acc_u0.h"
|
|
|
|
|
2018-04-20 03:41:44 +02:00
|
|
|
namespace Service::Account {
|
2018-01-17 03:32:59 +01:00
|
|
|
|
2018-04-10 09:18:52 +02:00
|
|
|
ACC_U0::ACC_U0(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:u0") {
|
2018-01-17 03:32:59 +01:00
|
|
|
static const FunctionInfo functions[] = {
|
2018-04-10 09:18:52 +02:00
|
|
|
{0, nullptr, "GetUserCount"},
|
2018-01-19 21:44:58 +01:00
|
|
|
{1, &ACC_U0::GetUserExistence, "GetUserExistence"},
|
2018-02-06 05:24:47 +01:00
|
|
|
{2, &ACC_U0::ListAllUsers, "ListAllUsers"},
|
2018-02-19 23:39:41 +01:00
|
|
|
{3, &ACC_U0::ListOpenUsers, "ListOpenUsers"},
|
2018-02-04 22:32:01 +01:00
|
|
|
{4, &ACC_U0::GetLastOpenedUser, "GetLastOpenedUser"},
|
2018-01-19 21:44:58 +01:00
|
|
|
{5, &ACC_U0::GetProfile, "GetProfile"},
|
2018-04-10 09:18:52 +02:00
|
|
|
{6, nullptr, "GetProfileDigest"},
|
|
|
|
{50, nullptr, "IsUserRegistrationRequestPermitted"},
|
|
|
|
{51, nullptr, "TrySelectUserWithoutInteraction"},
|
|
|
|
{60, nullptr, "ListOpenContextStoredUsers"},
|
2018-01-17 03:32:59 +01:00
|
|
|
{100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"},
|
2018-01-19 21:44:58 +01:00
|
|
|
{101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"},
|
2018-04-10 09:18:52 +02:00
|
|
|
{102, nullptr, "AuthenticateApplicationAsync"},
|
|
|
|
{103, nullptr, "CheckNetworkServiceAvailabilityAsync"},
|
|
|
|
{110, nullptr, "StoreSaveDataThumbnail"},
|
|
|
|
{111, nullptr, "ClearSaveDataThumbnail"},
|
|
|
|
{120, nullptr, "CreateGuestLoginRequest"},
|
|
|
|
{130, nullptr, "LoadOpenContext"},
|
2018-01-17 03:32:59 +01:00
|
|
|
};
|
|
|
|
RegisterHandlers(functions);
|
|
|
|
}
|
|
|
|
|
2018-04-20 03:41:44 +02:00
|
|
|
} // namespace Service::Account
|