diff options
author | mailwl <mailwl@gmail.com> | 2018-04-10 09:18:52 +0200 |
---|---|---|
committer | mailwl <mailwl@gmail.com> | 2018-04-10 09:18:52 +0200 |
commit | 3769a80faca76c7ed77540607fef03ef26b28501 (patch) | |
tree | 7ef4349f360eafd9ed9bbcbfeefb29969be4e324 /src/core/hle/service/acc/acc_u0.h | |
parent | Merge pull request #314 from jroweboy/tegra-progress-3b (diff) | |
download | yuzu-3769a80faca76c7ed77540607fef03ef26b28501.tar yuzu-3769a80faca76c7ed77540607fef03ef26b28501.tar.gz yuzu-3769a80faca76c7ed77540607fef03ef26b28501.tar.bz2 yuzu-3769a80faca76c7ed77540607fef03ef26b28501.tar.lz yuzu-3769a80faca76c7ed77540607fef03ef26b28501.tar.xz yuzu-3769a80faca76c7ed77540607fef03ef26b28501.tar.zst yuzu-3769a80faca76c7ed77540607fef03ef26b28501.zip |
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 |