IVulnerabilityManagerInterface.cs 560 B

123456789101112131415161718192021
  1. using Ryujinx.HLE.HOS.Ipc;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.HLE.HOS.Services.Ns
  4. {
  5. [Service("ns:vm")]
  6. class IVulnerabilityManagerInterface : IpcService
  7. {
  8. private Dictionary<int, ServiceProcessRequest> _commands;
  9. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
  10. public IVulnerabilityManagerInterface(ServiceCtx context)
  11. {
  12. _commands = new Dictionary<int, ServiceProcessRequest>
  13. {
  14. // ...
  15. };
  16. }
  17. }
  18. }