acc_u0.cpp 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #include "core/hle/service/acc/acc_u0.h"
  5. namespace Service::Account {
  6. ACC_U0::ACC_U0(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager)
  7. : Module::Interface(std::move(module), std::move(profile_manager), "acc:u0") {
  8. // clang-format off
  9. static const FunctionInfo functions[] = {
  10. {0, &ACC_U0::GetUserCount, "GetUserCount"},
  11. {1, &ACC_U0::GetUserExistence, "GetUserExistence"},
  12. {2, &ACC_U0::ListAllUsers, "ListAllUsers"},
  13. {3, &ACC_U0::ListOpenUsers, "ListOpenUsers"},
  14. {4, &ACC_U0::GetLastOpenedUser, "GetLastOpenedUser"},
  15. {5, &ACC_U0::GetProfile, "GetProfile"},
  16. {6, nullptr, "GetProfileDigest"},
  17. {50, &ACC_U0::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"},
  18. {51, &ACC_U0::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"},
  19. {60, nullptr, "ListOpenContextStoredUsers"},
  20. {99, nullptr, "DebugActivateOpenContextRetention"},
  21. {100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"},
  22. {101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"},
  23. {102, nullptr, "AuthenticateApplicationAsync"},
  24. {103, nullptr, "CheckNetworkServiceAvailabilityAsync"},
  25. {110, nullptr, "StoreSaveDataThumbnail"},
  26. {111, nullptr, "ClearSaveDataThumbnail"},
  27. {120, nullptr, "CreateGuestLoginRequest"},
  28. {130, nullptr, "LoadOpenContext"},
  29. {131, nullptr, "ListOpenContextStoredUsers"},
  30. {140, nullptr, "InitializeApplicationInfo"},
  31. {141, nullptr, "ListQualifiedUsers"},
  32. {150, nullptr, "IsUserAccountSwitchLocked"},
  33. };
  34. // clang-format on
  35. RegisterHandlers(functions);
  36. }
  37. ACC_U0::~ACC_U0() = default;
  38. } // namespace Service::Account