aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Nfc/IUserManager.cs
blob: 5f0ccf14abad7c7f8f7b9bf1732404609607240f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Ryujinx.HLE.HOS.Services.Nfc.NfcManager;

namespace Ryujinx.HLE.HOS.Services.Nfc
{
    [Service("nfc:user")]
    class IUserManager : IpcService
    {
        public IUserManager(ServiceCtx context) { }

        [CommandHipc(0)]
        // CreateUserInterface() -> object<nn::nfc::detail::IUser>
        public ResultCode CreateUserInterface(ServiceCtx context)
        {
            MakeObject(context, new INfc(NfcPermissionLevel.User));

            return ResultCode.Success;
        }
    }
}