mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-28 07:35:29 +03:00
Stub GetAccountId
This commit is contained in:
parent
0b452fe36b
commit
3d475ca122
@ -2,6 +2,7 @@
|
||||
// Copyright © 2020 Skyline Team and Contributors (https://github.com/skyline-emu/)
|
||||
|
||||
#include "IManagerForApplication.h"
|
||||
#include "IAccountServiceForApplication.h"
|
||||
|
||||
namespace skyline::service::account {
|
||||
IManagerForApplication::IManagerForApplication(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {}
|
||||
@ -11,6 +12,11 @@ namespace skyline::service::account {
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IManagerForApplication::GetAccountId(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
response.Push(constant::DefaultUserId);
|
||||
return {};
|
||||
}
|
||||
|
||||
Result IManagerForApplication::StoreOpenContext(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||
return {};
|
||||
}
|
||||
|
@ -19,10 +19,16 @@ namespace skyline::service::account {
|
||||
*/
|
||||
Result CheckAvailability(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
/**
|
||||
* @brief Returns the user ID of the current user
|
||||
*/
|
||||
Result GetAccountId(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
Result StoreOpenContext(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||
|
||||
SERVICE_DECL(
|
||||
SFUNC(0x0, IManagerForApplication, CheckAvailability),
|
||||
SFUNC(0x1, IManagerForApplication, GetAccountId),
|
||||
SFUNC(0xA0, IManagerForApplication, StoreOpenContext)
|
||||
)
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user