acc_u1.cpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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_u1.h"
  5. namespace Service::Account {
  6. ACC_U1::ACC_U1(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:u1") {
  7. static const FunctionInfo functions[] = {
  8. {0, &ACC_U1::GetUserCount, "GetUserCount"},
  9. {1, &ACC_U1::GetUserExistence, "GetUserExistence"},
  10. {2, &ACC_U1::ListAllUsers, "ListAllUsers"},
  11. {3, &ACC_U1::ListOpenUsers, "ListOpenUsers"},
  12. {4, &ACC_U1::GetLastOpenedUser, "GetLastOpenedUser"},
  13. {5, &ACC_U1::GetProfile, "GetProfile"},
  14. {6, nullptr, "GetProfileDigest"},
  15. {50, nullptr, "IsUserRegistrationRequestPermitted"},
  16. {51, nullptr, "TrySelectUserWithoutInteraction"},
  17. {60, nullptr, "ListOpenContextStoredUsers"},
  18. {100, nullptr, "GetUserRegistrationNotifier"},
  19. {101, nullptr, "GetUserStateChangeNotifier"},
  20. {102, nullptr, "GetBaasAccountManagerForSystemService"},
  21. {103, nullptr, "GetProfileUpdateNotifier"},
  22. {104, nullptr, "CheckNetworkServiceAvailabilityAsync"},
  23. {105, nullptr, "GetBaasUserAvailabilityChangeNotifier"},
  24. {110, nullptr, "StoreSaveDataThumbnail"},
  25. {111, nullptr, "ClearSaveDataThumbnail"},
  26. {112, nullptr, "LoadSaveDataThumbnail"},
  27. {113, nullptr, "GetSaveDataThumbnailExistence"},
  28. {190, nullptr, "GetUserLastOpenedApplication"},
  29. {191, nullptr, "ActivateOpenContextHolder"},
  30. {997, nullptr, "DebugInvalidateTokenCacheForUser"},
  31. {998, nullptr, "DebugSetUserStateClose"},
  32. {999, nullptr, "DebugSetUserStateOpen"},
  33. };
  34. RegisterHandlers(functions);
  35. }
  36. } // namespace Service::Account