mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-03-10 00:21:08 +00:00
29 lines
967 B
C#
29 lines
967 B
C#
using Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Ldn
|
|
{
|
|
[Service("ldn:u")]
|
|
partial class IUserServiceCreator : IpcService
|
|
{
|
|
public IUserServiceCreator(ServiceCtx context) : base(context.Device.System.LdnServer) { }
|
|
|
|
[CommandCmif(0)]
|
|
// CreateUserLocalCommunicationService() -> object<nn::ldn::detail::IUserLocalCommunicationService>
|
|
public ResultCode CreateUserLocalCommunicationService(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IUserLocalCommunicationService(context));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
|
|
[CommandCmif(1)] // 18.0.0+
|
|
// CreateClientProcessMonitor() -> object<nn::ldn::detail::IClientProcessMonitor>
|
|
public ResultCode CreateClientProcessMonitor(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IClientProcessMonitor(context));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
}
|