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