2018-08-16 16:47:36 -07:00
|
|
|
|
using Ryujinx.HLE.HOS.Ipc;
|
2018-06-02 15:46:09 -07:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2018-08-16 16:47:36 -07:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nfp
|
2018-06-02 15:46:09 -07: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-18 16:36:43 -07:00
|
|
|
|
MakeObject(Context, new IUser(Context.Device.System));
|
2018-06-02 15:46:09 -07:00
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|