2018-08-17 00:47:36 +01:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Ns
|
2018-04-22 00:04:43 +01:00
|
|
|
{
|
2019-07-10 16:59:54 +01:00
|
|
|
[Service("ns:am2")]
|
|
|
|
[Service("ns:ec")]
|
2019-09-19 01:45:11 +01:00
|
|
|
[Service("ns:rid")]
|
|
|
|
[Service("ns:rt")]
|
|
|
|
[Service("ns:web")]
|
2018-04-22 00:04:43 +01:00
|
|
|
class IServiceGetterInterface : IpcService
|
|
|
|
{
|
2019-07-12 02:13:43 +01:00
|
|
|
public IServiceGetterInterface(ServiceCtx context) { }
|
2019-02-14 00:44:39 +00:00
|
|
|
|
2023-04-15 00:00:34 +01:00
|
|
|
[CommandCmif(7996)]
|
2019-07-12 02:13:43 +01:00
|
|
|
// GetApplicationManagerInterface() -> object<nn::ns::detail::IApplicationManagerInterface>
|
2019-07-14 20:04:38 +01:00
|
|
|
public ResultCode GetApplicationManagerInterface(ServiceCtx context)
|
2019-02-14 00:44:39 +00:00
|
|
|
{
|
2019-07-10 16:59:54 +01:00
|
|
|
MakeObject(context, new IApplicationManagerInterface(context));
|
2019-02-14 00:44:39 +00:00
|
|
|
|
2019-07-14 20:04:38 +01:00
|
|
|
return ResultCode.Success;
|
2019-02-14 00:44:39 +00:00
|
|
|
}
|
2020-04-28 02:44:29 +01:00
|
|
|
|
2023-04-15 00:00:34 +01:00
|
|
|
[CommandCmif(7989)]
|
2020-04-28 02:44:29 +01:00
|
|
|
// GetReadOnlyApplicationControlDataInterface() -> object<nn::ns::detail::IReadOnlyApplicationControlDataInterface>
|
|
|
|
public ResultCode GetReadOnlyApplicationControlDataInterface(ServiceCtx context)
|
|
|
|
{
|
|
|
|
MakeObject(context, new IReadOnlyApplicationControlDataInterface(context));
|
|
|
|
|
|
|
|
return ResultCode.Success;
|
|
|
|
}
|
2018-04-22 00:04:43 +01:00
|
|
|
}
|
|
|
|
}
|