JinxRyu/Ryujinx.HLE/HOS/Services/Ldn/IUserServiceCreator.cs

19 lines
592 B
C#
Raw Normal View History

using Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator;
namespace Ryujinx.HLE.HOS.Services.Ldn
{
[Service("ldn:u")]
class IUserServiceCreator : IpcService
{
public IUserServiceCreator(ServiceCtx context) { }
[CommandHipc(0)]
// CreateUserLocalCommunicationService() -> object<nn::ldn::detail::IUserLocalCommunicationService>
public ResultCode CreateUserLocalCommunicationService(ServiceCtx context)
{
MakeObject(context, new IUserLocalCommunicationService(context));
return ResultCode.Success;
}
}
}