2018-08-16 19:47:36 -04:00
|
|
|
|
using Ryujinx.HLE.HOS.Ipc;
|
2018-06-02 18:46:09 -04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2018-08-16 19:47:36 -04:00
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nfp
|
2018-06-02 18:46:09 -04: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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|