IUserManager.cs 660 B

123456789101112131415161718192021222324252627
  1. using Ryujinx.HLE.OsHle.Ipc;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.HLE.OsHle.Services.Nfp
  4. {
  5. class IUserManager : IpcService
  6. {
  7. private Dictionary<int, ServiceProcessRequest> m_Commands;
  8. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
  9. public IUserManager()
  10. {
  11. m_Commands = new Dictionary<int, ServiceProcessRequest>()
  12. {
  13. { 0, GetUserInterface }
  14. };
  15. }
  16. public long GetUserInterface(ServiceCtx Context)
  17. {
  18. MakeObject(Context, new IUser());
  19. return 0;
  20. }
  21. }
  22. }