namespace Ryujinx.HLE.HOS.Services.Am { class IApplicationProxy : IpcService { public IApplicationProxy() { } [Command(0)] // GetCommonStateGetter() -> object public ResultCode GetCommonStateGetter(ServiceCtx context) { MakeObject(context, new ICommonStateGetter(context.Device.System)); return ResultCode.Success; } [Command(1)] // GetSelfController() -> object public ResultCode GetSelfController(ServiceCtx context) { MakeObject(context, new ISelfController(context.Device.System)); return ResultCode.Success; } [Command(2)] // GetWindowController() -> object public ResultCode GetWindowController(ServiceCtx context) { MakeObject(context, new IWindowController()); return ResultCode.Success; } [Command(3)] // GetAudioController() -> object public ResultCode GetAudioController(ServiceCtx context) { MakeObject(context, new IAudioController()); return ResultCode.Success; } [Command(4)] // GetDisplayController() -> object public ResultCode GetDisplayController(ServiceCtx context) { MakeObject(context, new IDisplayController()); return ResultCode.Success; } [Command(11)] // GetLibraryAppletCreator() -> object public ResultCode GetLibraryAppletCreator(ServiceCtx context) { MakeObject(context, new ILibraryAppletCreator()); return ResultCode.Success; } [Command(20)] // GetApplicationFunctions() -> object public ResultCode GetApplicationFunctions(ServiceCtx context) { MakeObject(context, new IApplicationFunctions()); return ResultCode.Success; } [Command(1000)] // GetDebugFunctions() -> object public ResultCode GetDebugFunctions(ServiceCtx context) { MakeObject(context, new IDebugFunctions()); return ResultCode.Success; } } }