DummyService.cs 541 B

1234567891011121314151617181920
  1. using Ryujinx.HLE.HOS.Ipc;
  2. using System.Collections.Generic;
  3. namespace Ryujinx.HLE.HOS.Services
  4. {
  5. class DummyService : IpcService
  6. {
  7. private Dictionary<int, ServiceProcessRequest> _commands;
  8. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
  9. public string ServiceName { get; set; }
  10. public DummyService(string serviceName)
  11. {
  12. _commands = new Dictionary<int, ServiceProcessRequest>();
  13. ServiceName = serviceName;
  14. }
  15. }
  16. }