INotificationService.cs 687 B

123456789101112131415161718192021222324252627
  1. using Ryujinx.HLE.HOS.Ipc;
  2. using Ryujinx.HLE.Utilities;
  3. using System.Collections.Generic;
  4. namespace Ryujinx.HLE.HOS.Services.Friend
  5. {
  6. class INotificationService : IpcService
  7. {
  8. private UInt128 _userId;
  9. private Dictionary<int, ServiceProcessRequest> _commands;
  10. public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => _commands;
  11. public INotificationService(UInt128 userId)
  12. {
  13. _commands = new Dictionary<int, ServiceProcessRequest>
  14. {
  15. //{ 0, GetEvent },
  16. //{ 1, Pop },
  17. //{ 2, Clear },
  18. };
  19. _userId = userId;
  20. }
  21. }
  22. }