Stubs for various acc:u0 funcs needed

This commit is contained in:
goaaats
2018-01-18 23:53:24 +01:00
parent cb3ab6ec77
commit 5e1ffc6112
2 changed files with 24 additions and 0 deletions

View File

@@ -9,15 +9,36 @@
namespace Service { namespace Service {
namespace Account { namespace Account {
void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called");
IPC::RequestBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
void ACC_U0::GetProfile(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called");
IPC::RequestBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
void ACC_U0::InitializeApplicationInfo(Kernel::HLERequestContext& ctx) { void ACC_U0::InitializeApplicationInfo(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called"); LOG_WARNING(Service, "(STUBBED) called");
IPC::RequestBuilder rb{ctx, 2}; IPC::RequestBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
} }
void ACC_U0::GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called");
IPC::RequestBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
ACC_U0::ACC_U0() : ServiceFramework("acc:u0") { ACC_U0::ACC_U0() : ServiceFramework("acc:u0") {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{1, &ACC_U0::GetUserExistence, "GetUserExistence"},
{5, &ACC_U0::GetProfile, "GetProfile"},
{100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"}, {100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"},
{101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"},
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }

View File

@@ -15,7 +15,10 @@ public:
~ACC_U0() = default; ~ACC_U0() = default;
private: private:
void GetUserExistence( Kernel::HLERequestContext& ctx );
void GetProfile( Kernel::HLERequestContext& ctx );
void InitializeApplicationInfo(Kernel::HLERequestContext& ctx); void InitializeApplicationInfo(Kernel::HLERequestContext& ctx);
void GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx);
}; };
} // namespace Account } // namespace Account