0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.HLE/HOS/Services/Ns/IServiceGetterInterface.cs
2023-04-14 20:00:34 -03:00

30 lines
No EOL
1,013 B
C#

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) { }
[CommandCmif(7996)]
// GetApplicationManagerInterface() -> object<nn::ns::detail::IApplicationManagerInterface>
public ResultCode GetApplicationManagerInterface(ServiceCtx context)
{
MakeObject(context, new IApplicationManagerInterface(context));
return ResultCode.Success;
}
[CommandCmif(7989)]
// GetReadOnlyApplicationControlDataInterface() -> object<nn::ns::detail::IReadOnlyApplicationControlDataInterface>
public ResultCode GetReadOnlyApplicationControlDataInterface(ServiceCtx context)
{
MakeObject(context, new IReadOnlyApplicationControlDataInterface(context));
return ResultCode.Success;
}
}
}