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)
|
|
|
|
|
{
|
2018-09-19 01:36:43 +02:00
|
|
|
|
MakeObject(Context, new IUser(Context.Device.System));
|
2018-06-03 00:46:09 +02:00
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|