mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-01-09 20:29:11 +00:00
ICommonStateGetter
This commit is contained in:
parent
e5c0dfa87e
commit
b00e1de4e6
5 changed files with 65 additions and 4 deletions
|
@ -4,7 +4,7 @@ namespace Ryujinx.Horizon.Sdk.Am
|
|||
{
|
||||
public interface IApplicationProxy
|
||||
{
|
||||
Result GetCommonStateGetter();
|
||||
Result GetCommonStateGetter(out ICommonStateGetter commonStateGetter, ulong pid);
|
||||
Result GetSelfController();
|
||||
Result GetWindowController();
|
||||
Result GetAudioController();
|
||||
|
|
61
src/Ryujinx.Horizon/Sdk/Am/ICommonStateGetter.cs
Normal file
61
src/Ryujinx.Horizon/Sdk/Am/ICommonStateGetter.cs
Normal file
|
@ -0,0 +1,61 @@
|
|||
using Ryujinx.Horizon.Common;
|
||||
|
||||
namespace Ryujinx.Horizon.Sdk.Am
|
||||
{
|
||||
public interface ICommonStateGetter
|
||||
{
|
||||
Result GetEventHandle();
|
||||
Result ReceiveMessage();
|
||||
Result GetThisAppletKind();
|
||||
Result AllowToEnterSleep();
|
||||
Result DisallowToEnterSleep();
|
||||
Result GetOperationMode();
|
||||
Result GetPerformanceMode();
|
||||
Result GetCradleStatus();
|
||||
Result GetBootMode();
|
||||
Result GetCurrentFocusState();
|
||||
Result RequestToAcquireSleepLock();
|
||||
Result ReleaseSleepLock();
|
||||
Result ReleaseSleepLockTransiently();
|
||||
Result GetAcquiredSleepLockEvent();
|
||||
Result GetWakeupCount();
|
||||
Result PushToGeneralChannel();
|
||||
Result GetHomeButtonReaderLockAccessor();
|
||||
Result GetReaderLockAccessorEx();
|
||||
Result GetWriterLockAccessorEx();
|
||||
Result GetCradleFwVersion();
|
||||
Result IsVrModeEnabled();
|
||||
Result SetVrModeEnabled();
|
||||
Result SetLcdBacklightOffEnabled();
|
||||
Result BeginVrModeEx();
|
||||
Result EndVrModeEx();
|
||||
Result IsInControllerFirmwareUpdateSection();
|
||||
Result SetVrPositionForDebug();
|
||||
Result GetDefaultDisplayResolution();
|
||||
Result GetDefaultDisplayResolutionChangeEvent();
|
||||
Result GetHdcpAuthenticationState();
|
||||
Result GetHdcpAuthenticationStateChangeEvent();
|
||||
Result SetTvPowerStateMatchingMode();
|
||||
Result GetApplicationIdByContentActionName();
|
||||
Result SetCpuBoostMode();
|
||||
Result CancelCpuBoostMode();
|
||||
Result GetBuiltInDisplayType();
|
||||
Result PerformSystemButtonPressingIfInFocus();
|
||||
Result SetPerformanceConfigurationChangedNotification();
|
||||
Result GetCurrentPerformanceConfiguration();
|
||||
Result SetHandlingHomeButtonShortPressedEnabled();
|
||||
Result OpenMyGpuErrorHandler();
|
||||
Result GetAppletLaunchedHistory();
|
||||
Result GetOperationModeSystemInfo();
|
||||
Result GetSettingsPlatformRegion();
|
||||
Result ActivateMigrationService();
|
||||
Result DeactivateMigrationService();
|
||||
Result DisableSleepTillShutdown();
|
||||
Result SuppressDisablingSleepTemporarily();
|
||||
Result IsSleepEnabled();
|
||||
Result IsDisablingSleepSuppressed();
|
||||
Result OpenNamedChannelAsChild();
|
||||
Result SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled();
|
||||
Result GetLaunchRequiredTick();
|
||||
}
|
||||
}
|
|
@ -4,7 +4,7 @@ namespace Ryujinx.Horizon.Sdk.Am
|
|||
{
|
||||
public interface ILibraryAppletProxy
|
||||
{
|
||||
Result GetCommonStateGetter();
|
||||
Result GetCommonStateGetter(out ICommonStateGetter commonStateGetter, ulong pid);
|
||||
Result GetSelfController();
|
||||
Result GetWindowController();
|
||||
Result GetAudioController();
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace Ryujinx.Horizon.Sdk.Am
|
|||
{
|
||||
public interface IOverlayAppletProxy
|
||||
{
|
||||
Result GetCommonStateGetter();
|
||||
Result GetCommonStateGetter(out ICommonStateGetter commonStateGetter, ulong pid);
|
||||
Result GetSelfController();
|
||||
Result GetWindowController();
|
||||
Result GetAudioController();
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace Ryujinx.Horizon.Sdk.Am
|
|||
{
|
||||
public interface ISystemAppletProxy
|
||||
{
|
||||
Result GetCommonStateGetter();
|
||||
Result GetCommonStateGetter(out ICommonStateGetter commonStateGetter, ulong pid);
|
||||
Result GetSelfController();
|
||||
Result GetWindowController();
|
||||
Result GetAudioController();
|
||||
|
|
Loading…
Reference in a new issue