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