diff options
| author | mailwl <mailwl@gmail.com> | 2018-04-10 10:18:52 +0300 |
|---|---|---|
| committer | mailwl <mailwl@gmail.com> | 2018-04-10 10:18:52 +0300 |
| commit | 3769a80faca76c7ed77540607fef03ef26b28501 (patch) | |
| tree | 7ef4349f360eafd9ed9bbcbfeefb29969be4e324 /src/core/hle/service/acc/acc_u0.h | |
| parent | 227bc78cbefef0866fc39db1383ea4f012583e11 (diff) | |
Service/ACC: convert to module, add acc:aa, acc:su, acc:u1 services
Diffstat (limited to 'src/core/hle/service/acc/acc_u0.h')
| -rw-r--r-- | src/core/hle/service/acc/acc_u0.h | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/src/core/hle/service/acc/acc_u0.h b/src/core/hle/service/acc/acc_u0.h index 222f37282..d4f36e172 100644 --- a/src/core/hle/service/acc/acc_u0.h +++ b/src/core/hle/service/acc/acc_u0.h @@ -4,36 +4,14 @@ #pragma once -#include "core/hle/service/service.h" +#include "core/hle/service/acc/acc.h" namespace Service { namespace Account { -// TODO: RE this structure -struct UserData { - INSERT_PADDING_BYTES(0x80); -}; -static_assert(sizeof(UserData) == 0x80, "UserData structure has incorrect size"); - -// TODO: RE this structure -struct ProfileBase { - INSERT_PADDING_BYTES(0x38); -}; -static_assert(sizeof(ProfileBase) == 0x38, "ProfileBase structure has incorrect size"); - -class ACC_U0 final : public ServiceFramework<ACC_U0> { +class ACC_U0 final : public Module::Interface { public: - ACC_U0(); - ~ACC_U0() = default; - -private: - void GetUserExistence(Kernel::HLERequestContext& ctx); - void ListAllUsers(Kernel::HLERequestContext& ctx); - void ListOpenUsers(Kernel::HLERequestContext& ctx); - void GetLastOpenedUser(Kernel::HLERequestContext& ctx); - void GetProfile(Kernel::HLERequestContext& ctx); - void InitializeApplicationInfo(Kernel::HLERequestContext& ctx); - void GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx); + explicit ACC_U0(std::shared_ptr<Module> module); }; } // namespace Account |
