0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-25 02:05:49 +00:00
ryujinx-fork/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs

30 lines
1,013 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Services.Ns
{
[Service("ns:am2")]
[Service("ns:ec")]
[Service("ns:rid")]
[Service("ns:rt")]
[Service("ns:web")]
class IServiceGetterInterface : IpcService
{
public IServiceGetterInterface(ServiceCtx context) { }
[CommandHipc(7996)]
// GetApplicationManagerInterface() -> object<nn::ns::detail::IApplicationManagerInterface>
public ResultCode GetApplicationManagerInterface(ServiceCtx context)
{
MakeObject(context, new IApplicationManagerInterface(context));
return ResultCode.Success;
}
[CommandHipc(7989)]
// GetReadOnlyApplicationControlDataInterface() -> object<nn::ns::detail::IReadOnlyApplicationControlDataInterface>
public ResultCode GetReadOnlyApplicationControlDataInterface(ServiceCtx context)
{
MakeObject(context, new IReadOnlyApplicationControlDataInterface(context));
return ResultCode.Success;
}
}
}