IApplicationProxyService.cs 735 B

12345678910111213141516171819202122232425262728
  1. using Ryujinx.HLE.HOS.Ipc;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.HLE.HOS.Services.Am
  4. {
  5. [Service("appletOE")]
  6. class IApplicationProxyService : IpcService
  7. {
  8. private Dictionary<int, ServiceProcessRequest> _commands;
  9. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
  10. public IApplicationProxyService(ServiceCtx context)
  11. {
  12. _commands = new Dictionary<int, ServiceProcessRequest>
  13. {
  14. { 0, OpenApplicationProxy }
  15. };
  16. }
  17. public long OpenApplicationProxy(ServiceCtx context)
  18. {
  19. MakeObject(context, new IApplicationProxy());
  20. return 0;
  21. }
  22. }
  23. }