Proxy signatures

This commit is contained in:
Isaac Marovitz 2023-11-10 11:38:30 -05:00
parent f4a2e7c925
commit 2fa6016317
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1
8 changed files with 85 additions and 50 deletions

View file

@ -49,27 +49,35 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
}
[CmifCommand(10)]
public Result GetProcessWindingController()
public Result GetProcessWindingController(out IProcessWindingController processWindingController)
{
throw new System.NotImplementedException();
processWindingController = new ProcessWindingController();
return Result.Success;
}
[CmifCommand(11)]
public Result GetLibraryAppletCreator()
public Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator)
{
throw new System.NotImplementedException();
libraryAppletCreator = new LibraryAppletCreator();
return Result.Success;
}
[CmifCommand(20)]
public Result GetApplicationFunctions()
public Result GetApplicationFunctions(out IApplicationFunctions applicationFunctions)
{
throw new System.NotImplementedException();
applicationFunctions = new ApplicationFunctions();
return Result.Success;
}
[CmifCommand(1000)]
public Result GetDebugFunctions()
public Result GetDebugFunctions(out IDebugFunctions debugFunctions)
{
throw new System.NotImplementedException();
debugFunctions = new DebugFunctions();
return Result.Success;
}
}
}

View file

@ -49,15 +49,19 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
}
[CmifCommand(10)]
public Result GetProcessWindingController()
public Result GetProcessWindingController(out IProcessWindingController processWindingController)
{
throw new System.NotImplementedException();
processWindingController = new ProcessWindingController();
return Result.Success;
}
[CmifCommand(11)]
public Result GetLibraryAppletCreator()
public Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator)
{
throw new System.NotImplementedException();
libraryAppletCreator = new LibraryAppletCreator();
return Result.Success;
}
[CmifCommand(20)]
@ -67,9 +71,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
}
[CmifCommand(21)]
public Result GetAppletCommonFunctions()
public Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions)
{
throw new System.NotImplementedException();
appletCommonFunctions = new AppletCommonFunctions();
return Result.Success;
}
[CmifCommand(22)]
@ -85,9 +91,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
}
[CmifCommand(1000)]
public Result GetDebugFunctions()
public Result GetDebugFunctions(out IDebugFunctions debugFunctions)
{
throw new System.NotImplementedException();
debugFunctions = new DebugFunctions();
return Result.Success;
}
}
}

View file

@ -49,27 +49,36 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
}
[CmifCommand(10)]
public Result GetProcessWindingController()
public Result GetProcessWindingController(out IProcessWindingController processWindingController)
{
processWindingController = new ProcessWindingController();
return Result.Success;
throw new System.NotImplementedException();
}
[CmifCommand(11)]
public Result GetLibraryAppletCreator()
public Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator)
{
throw new System.NotImplementedException();
libraryAppletCreator = new LibraryAppletCreator();
return Result.Success;
}
[CmifCommand(20)]
public Result GetOverlayFunctions()
public Result GetOverlayFunctions(out IOverlayFunctions overlayFunctions)
{
throw new System.NotImplementedException();
overlayFunctions = new OverlayFunctions();
return Result.Success;
}
[CmifCommand(21)]
public Result GetAppletCommonFunctions()
public Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions)
{
throw new System.NotImplementedException();
appletCommonFunctions = new AppletCommonFunctions();
return Result.Success;
}
[CmifCommand(23)]
@ -79,9 +88,11 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
}
[CmifCommand(1000)]
public Result GetDebugFunctions()
public Result GetDebugFunctions(out IDebugFunctions debugFunctions)
{
throw new System.NotImplementedException();
debugFunctions = new DebugFunctions();
return Result.Success;
}
}
}

View file

@ -49,15 +49,19 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
}
[CmifCommand(10)]
public Result GetProcessWindingController()
public Result GetProcessWindingController(out IProcessWindingController processWindingController)
{
throw new System.NotImplementedException();
processWindingController = new ProcessWindingController();
return Result.Success;
}
[CmifCommand(11)]
public Result GetLibraryAppletCreator()
public Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator)
{
throw new System.NotImplementedException();
libraryAppletCreator = new LibraryAppletCreator();
return Result.Success;
}
[CmifCommand(20)]
@ -79,15 +83,19 @@ namespace Ryujinx.Horizon.Am.Ipc.Proxies
}
[CmifCommand(23)]
public Result GetAppletCommonFunctions()
public Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions)
{
throw new System.NotImplementedException();
appletCommonFunctions = new AppletCommonFunctions();
return Result.Success;
}
[CmifCommand(1000)]
public Result GetDebugFunctions()
public Result GetDebugFunctions(out IDebugFunctions debugFunctions)
{
throw new System.NotImplementedException();
debugFunctions = new DebugFunctions();
return Result.Success;
}
}
}

View file

@ -10,9 +10,9 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies
Result GetWindowController(out IWindowController windowController);
Result GetAudioController(out IAudioController audioController);
Result GetDisplayController(out IDisplayController displayController);
Result GetProcessWindingController();
Result GetLibraryAppletCreator();
Result GetApplicationFunctions();
Result GetDebugFunctions();
Result GetProcessWindingController(out IProcessWindingController processWindingController);
Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator);
Result GetApplicationFunctions(out IApplicationFunctions applicationFunctions);
Result GetDebugFunctions(out IDebugFunctions debugFunctions);
}
}

View file

@ -10,12 +10,12 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies
Result GetWindowController(out IWindowController windowController);
Result GetAudioController(out IAudioController audioController);
Result GetDisplayController(out IDisplayController displayController);
Result GetProcessWindingController();
Result GetLibraryAppletCreator();
Result GetProcessWindingController(out IProcessWindingController processWindingController);
Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator);
Result OpenLibraryAppletSelfAccessor();
Result GetAppletCommonFunctions();
Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions);
Result GetHomeMenuFunctions();
Result GetGlobalStateController();
Result GetDebugFunctions();
Result GetDebugFunctions(out IDebugFunctions debugFunctions);
}
}

View file

@ -10,11 +10,11 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies
Result GetWindowController(out IWindowController windowController);
Result GetAudioController(out IAudioController audioController);
Result GetDisplayController(out IDisplayController displayController);
Result GetProcessWindingController();
Result GetLibraryAppletCreator();
Result GetOverlayFunctions();
Result GetAppletCommonFunctions();
Result GetProcessWindingController(out IProcessWindingController processWindingController);
Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator);
Result GetOverlayFunctions(out IOverlayFunctions overlayFunctions);
Result GetAppletCommonFunctions(out IAppletCommonFunctions appletCommonFunctions);
Result GetGlobalStateController();
Result GetDebugFunctions();
Result GetDebugFunctions(out IDebugFunctions debugFunctions);
}
}

View file

@ -10,12 +10,12 @@ namespace Ryujinx.Horizon.Sdk.Am.Proxies
Result GetWindowController(out IWindowController windowController);
Result GetAudioController(out IAudioController audioController);
Result GetDisplayController(out IDisplayController displayController);
Result GetProcessWindingController();
Result GetLibraryAppletCreator();
Result GetProcessWindingController(out IProcessWindingController processWindingController);
Result GetLibraryAppletCreator(out ILibraryAppletCreator libraryAppletCreator);
Result GetHomeMenuFunctions();
Result GetGlobalStateController();
Result GetApplicationCreator();
Result GetAppletCommonFunctions();
Result GetDebugFunctions();
Result GetAppletCommonFunctions(out IAppletCommonFunctions commonFunctions);
Result GetDebugFunctions(out IDebugFunctions debugFunctions);
}
}