aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/IApplicationProxy.cs
diff options
context:
space:
mode:
authorTSR Berry <20988865+TSRBerry@users.noreply.github.com>2023-04-08 01:22:00 +0200
committerMary <thog@protonmail.com>2023-04-27 23:51:14 +0200
commitcee712105850ac3385cd0091a923438167433f9f (patch)
tree4a5274b21d8b7f938c0d0ce18736d3f2993b11b1 /Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/IApplicationProxy.cs
parentcd124bda587ef09668a971fa1cac1c3f0cfc9f21 (diff)
Move solution and projects to src
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/IApplicationProxy.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/IApplicationProxy.cs87
1 files changed, 0 insertions, 87 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/IApplicationProxy.cs b/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/IApplicationProxy.cs
deleted file mode 100644
index 50e3be27..00000000
--- a/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/IApplicationProxy.cs
+++ /dev/null
@@ -1,87 +0,0 @@
-using Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.SystemAppletProxy;
-using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy;
-
-namespace Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService
-{
- class IApplicationProxy : IpcService
- {
- private readonly ulong _pid;
-
- public IApplicationProxy(ulong pid)
- {
- _pid = pid;
- }
-
- [CommandCmif(0)]
- // GetCommonStateGetter() -> object<nn::am::service::ICommonStateGetter>
- public ResultCode GetCommonStateGetter(ServiceCtx context)
- {
- MakeObject(context, new ICommonStateGetter(context));
-
- return ResultCode.Success;
- }
-
- [CommandCmif(1)]
- // GetSelfController() -> object<nn::am::service::ISelfController>
- public ResultCode GetSelfController(ServiceCtx context)
- {
- MakeObject(context, new ISelfController(context, _pid));
-
- return ResultCode.Success;
- }
-
- [CommandCmif(2)]
- // GetWindowController() -> object<nn::am::service::IWindowController>
- public ResultCode GetWindowController(ServiceCtx context)
- {
- MakeObject(context, new IWindowController(_pid));
-
- return ResultCode.Success;
- }
-
- [CommandCmif(3)]
- // GetAudioController() -> object<nn::am::service::IAudioController>
- public ResultCode GetAudioController(ServiceCtx context)
- {
- MakeObject(context, new IAudioController());
-
- return ResultCode.Success;
- }
-
- [CommandCmif(4)]
- // GetDisplayController() -> object<nn::am::service::IDisplayController>
- public ResultCode GetDisplayController(ServiceCtx context)
- {
- MakeObject(context, new IDisplayController(context));
-
- return ResultCode.Success;
- }
-
- [CommandCmif(11)]
- // GetLibraryAppletCreator() -> object<nn::am::service::ILibraryAppletCreator>
- public ResultCode GetLibraryAppletCreator(ServiceCtx context)
- {
- MakeObject(context, new ILibraryAppletCreator());
-
- return ResultCode.Success;
- }
-
- [CommandCmif(20)]
- // GetApplicationFunctions() -> object<nn::am::service::IApplicationFunctions>
- public ResultCode GetApplicationFunctions(ServiceCtx context)
- {
- MakeObject(context, new IApplicationFunctions(context.Device.System));
-
- return ResultCode.Success;
- }
-
- [CommandCmif(1000)]
- // GetDebugFunctions() -> object<nn::am::service::IDebugFunctions>
- public ResultCode GetDebugFunctions(ServiceCtx context)
- {
- MakeObject(context, new IDebugFunctions());
-
- return ResultCode.Success;
- }
- }
-} \ No newline at end of file