diff options
author | Liam <byteslice@airmail.cc> | 2024-02-12 01:38:23 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-12 15:16:02 +0100 |
commit | 96fea99af952490bf8799f0775bfa307e82bbf0f (patch) | |
tree | 74fcd45dc02c1463d3f4b0ff39262895a57a741b /src/core/hle/service/am/applet_message_queue.h | |
parent | am: rewrite IApplicationFunctions (diff) | |
download | yuzu-96fea99af952490bf8799f0775bfa307e82bbf0f.tar yuzu-96fea99af952490bf8799f0775bfa307e82bbf0f.tar.gz yuzu-96fea99af952490bf8799f0775bfa307e82bbf0f.tar.bz2 yuzu-96fea99af952490bf8799f0775bfa307e82bbf0f.tar.lz yuzu-96fea99af952490bf8799f0775bfa307e82bbf0f.tar.xz yuzu-96fea99af952490bf8799f0775bfa307e82bbf0f.tar.zst yuzu-96fea99af952490bf8799f0775bfa307e82bbf0f.zip |
Diffstat (limited to 'src/core/hle/service/am/applet_message_queue.h')
-rw-r--r-- | src/core/hle/service/am/applet_message_queue.h | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/src/core/hle/service/am/applet_message_queue.h b/src/core/hle/service/am/applet_message_queue.h index 5cb236d47..429b77d37 100644 --- a/src/core/hle/service/am/applet_message_queue.h +++ b/src/core/hle/service/am/applet_message_queue.h @@ -5,6 +5,7 @@ #include <queue> +#include "core/hle/service/am/am_types.h" #include "core/hle/service/kernel_helpers.h" #include "core/hle/service/service.h" @@ -16,40 +17,6 @@ namespace Service::AM { class AppletMessageQueue { public: - // This is nn::am::AppletMessage - enum class AppletMessage : u32 { - None = 0, - ChangeIntoForeground = 1, - ChangeIntoBackground = 2, - Exit = 4, - ApplicationExited = 6, - FocusStateChanged = 15, - Resume = 16, - DetectShortPressingHomeButton = 20, - DetectLongPressingHomeButton = 21, - DetectShortPressingPowerButton = 22, - DetectMiddlePressingPowerButton = 23, - DetectLongPressingPowerButton = 24, - RequestToPrepareSleep = 25, - FinishedSleepSequence = 26, - SleepRequiredByHighTemperature = 27, - SleepRequiredByLowBattery = 28, - AutoPowerDown = 29, - OperationModeChanged = 30, - PerformanceModeChanged = 31, - DetectReceivingCecSystemStandby = 32, - SdCardRemoved = 33, - LaunchApplicationRequested = 50, - RequestToDisplay = 51, - ShowApplicationLogo = 55, - HideApplicationLogo = 56, - ForceHideApplicationLogo = 57, - FloatingApplicationDetected = 60, - DetectShortPressingCaptureButton = 90, - AlbumScreenShotTaken = 92, - AlbumRecordingSaved = 93, - }; - explicit AppletMessageQueue(Core::System& system); ~AppletMessageQueue(); |