2021-06-24 01:05:40 +02:00
|
|
|
|
using Ryujinx.HLE.HOS.Services.Nfc.Nfp.NfpManager;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nfc.Nfp
|
2018-06-03 00:46:09 +02:00
|
|
|
|
{
|
2019-07-10 17:59:54 +02:00
|
|
|
|
[Service("nfp:user")]
|
2018-06-03 00:46:09 +02:00
|
|
|
|
class IUserManager : IpcService
|
|
|
|
|
{
|
2019-07-12 03:13:43 +02:00
|
|
|
|
public IUserManager(ServiceCtx context) { }
|
2018-06-03 00:46:09 +02:00
|
|
|
|
|
2023-04-15 01:00:34 +02:00
|
|
|
|
[CommandCmif(0)]
|
2019-07-12 03:13:43 +02:00
|
|
|
|
// CreateUserInterface() -> object<nn::nfp::detail::IUser>
|
2021-06-24 01:05:40 +02:00
|
|
|
|
public ResultCode CreateUserInterface(ServiceCtx context)
|
2018-06-03 00:46:09 +02:00
|
|
|
|
{
|
2021-06-24 01:05:40 +02:00
|
|
|
|
MakeObject(context, new INfp(NfpPermissionLevel.User));
|
2018-06-03 00:46:09 +02:00
|
|
|
|
|
2019-07-14 21:04:38 +02:00
|
|
|
|
return ResultCode.Success;
|
2018-06-03 00:46:09 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|