IServiceGetterInterface.cs 1013 B

123456789101112131415161718192021222324252627282930
  1. namespace Ryujinx.HLE.HOS.Services.Ns
  2. {
  3. [Service("ns:am2")]
  4. [Service("ns:ec")]
  5. [Service("ns:rid")]
  6. [Service("ns:rt")]
  7. [Service("ns:web")]
  8. class IServiceGetterInterface : IpcService
  9. {
  10. public IServiceGetterInterface(ServiceCtx context) { }
  11. [CommandHipc(7996)]
  12. // GetApplicationManagerInterface() -> object<nn::ns::detail::IApplicationManagerInterface>
  13. public ResultCode GetApplicationManagerInterface(ServiceCtx context)
  14. {
  15. MakeObject(context, new IApplicationManagerInterface(context));
  16. return ResultCode.Success;
  17. }
  18. [CommandHipc(7989)]
  19. // GetReadOnlyApplicationControlDataInterface() -> object<nn::ns::detail::IReadOnlyApplicationControlDataInterface>
  20. public ResultCode GetReadOnlyApplicationControlDataInterface(ServiceCtx context)
  21. {
  22. MakeObject(context, new IReadOnlyApplicationControlDataInterface(context));
  23. return ResultCode.Success;
  24. }
  25. }
  26. }