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