Make all service memory structures OFW comaptible

This commit is contained in:
Willy-JL
2023-08-29 01:57:06 +02:00
parent d87d982b2b
commit d7aa3ea60f
15 changed files with 63 additions and 30 deletions

View File

@@ -1,15 +1,22 @@
#pragma once
typedef enum {
// Events with _ are unused, kept for compatibility
DesktopMainEventLockWithPin,
DesktopMainEventOpenLockMenu,
DesktopMainEventOpenArchive,
_DesktopMainEventOpenFavoriteLeftShort,
_DesktopMainEventOpenFavoriteLeftLong,
_DesktopMainEventOpenFavoriteRightShort,
_DesktopMainEventOpenFavoriteRightLong,
DesktopMainEventOpenMenu,
DesktopMainEventOpenDebug,
DesktopMainEventOpenPowerOff,
DesktopMainEventLockKeypad,
DesktopMainEventLockWithPin,
DesktopLockedEventOpenPowerOff,
_DesktopDummyEventOpenLeft,
_DesktopDummyEventOpenDown,
_DesktopDummyEventOpenOk,
DesktopLockedEventUnlocked,
DesktopLockedEventUpdate,
DesktopLockedEventShowPinInput,
@@ -27,11 +34,9 @@ typedef enum {
DesktopDebugEventSaveState,
DesktopDebugEventExit,
DesktopLockMenuEventSettings,
DesktopLockMenuEventLock,
DesktopLockMenuEventLockPin,
DesktopLockMenuEventLockPinOff,
DesktopLockMenuEventXtreme,
_DesktopLockMenuEventDummyModeOn,
_DesktopLockMenuEventDummyModeOff,
DesktopLockMenuEventStealthModeOn,
DesktopLockMenuEventStealthModeOff,
@@ -46,4 +51,11 @@ typedef enum {
DesktopGlobalBeforeAppStarted,
DesktopGlobalAfterAppFinished,
DesktopGlobalAutoLock,
DesktopMainEventLockKeypad,
DesktopLockedEventOpenPowerOff,
DesktopLockMenuEventSettings,
DesktopLockMenuEventLock,
DesktopLockMenuEventLockPinOff,
DesktopLockMenuEventXtreme,
} DesktopEvent;