2018-08-17 01:47:36 +02:00
|
|
|
|
using Ryujinx.HLE.HOS.Ipc;
|
2018-06-03 00:46:09 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2018-08-17 01:47:36 +02:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nfp
|
2018-06-03 00:46:09 +02:00
|
|
|
|
{
|
|
|
|
|
class IUserManager : IpcService
|
|
|
|
|
{
|
|
|
|
|
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
|
|
|
|
|
|
|
|
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
|
|
|
|
|
|
|
|
|
public IUserManager()
|
|
|
|
|
{
|
|
|
|
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
|
|
|
|
{
|
|
|
|
|
{ 0, GetUserInterface }
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public long GetUserInterface(ServiceCtx Context)
|
|
|
|
|
{
|
|
|
|
|
MakeObject(Context, new IUser());
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|