diff options
Diffstat (limited to 'backends/platform/PalmOS/Src/native')
-rw-r--r-- | backends/platform/PalmOS/Src/native/oscalls.cpp | 12 | ||||
-rw-r--r-- | backends/platform/PalmOS/Src/native/oscalls.h | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/backends/platform/PalmOS/Src/native/oscalls.cpp b/backends/platform/PalmOS/Src/native/oscalls.cpp index f15a1ef781..68cfb0eef5 100644 --- a/backends/platform/PalmOS/Src/native/oscalls.cpp +++ b/backends/platform/PalmOS/Src/native/oscalls.cpp @@ -60,3 +60,15 @@ PACE_CLASS_WRAPPER(UInt16) PACE_PIN_EXEC_NP(pinSysGetOrientation, UInt16) } +PACE_CLASS_WRAPPER(Err) + __68k_SysSetOrientationTriggerState(UInt16 triggerState) { + PACE_PARAMS_INIT() + PACE_PARAMS_ADD16(triggerState) + PACE_PARAMS_END() + PACE_PIN_EXEC(pinSysSetOrientationTriggerState, Err) +} + +PACE_CLASS_WRAPPER(UInt16) + __68k_SysGetOrientationTriggerState(void) { + PACE_PIN_EXEC_NP(pinSysGetOrientationTriggerState, UInt16) +} diff --git a/backends/platform/PalmOS/Src/native/oscalls.h b/backends/platform/PalmOS/Src/native/oscalls.h index cc35eeaf28..2b4b93488f 100644 --- a/backends/platform/PalmOS/Src/native/oscalls.h +++ b/backends/platform/PalmOS/Src/native/oscalls.h @@ -41,6 +41,8 @@ Err __68k_StatHide(); Err __68k_PINSetInputAreaState(UInt16 state); Err __68k_SysSetOrientation(UInt16 orientation); UInt16 __68k_SysGetOrientation(void); +Err __68k_SysSetOrientationTriggerState(UInt16 triggerState); +UInt16 __68k_SysGetOrientationTriggerState(void); #ifdef __cplusplus } |