acc_aa.cpp 846 B

123456789101112131415161718192021222324
  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_aa.h"
  5. namespace Service::Account {
  6. ACC_AA::ACC_AA(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager,
  7. Core::System& system)
  8. : Module::Interface(std::move(module), std::move(profile_manager), system, "acc:aa") {
  9. static const FunctionInfo functions[] = {
  10. {0, nullptr, "EnsureCacheAsync"},
  11. {1, nullptr, "LoadCache"},
  12. {2, nullptr, "GetDeviceAccountId"},
  13. {50, nullptr, "RegisterNotificationTokenAsync"}, // 1.0.0 - 6.2.0
  14. {51, nullptr, "UnregisterNotificationTokenAsync"}, // 1.0.0 - 6.2.0
  15. };
  16. RegisterHandlers(functions);
  17. }
  18. ACC_AA::~ACC_AA() = default;
  19. } // namespace Service::Account