mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Added appletSetHealthWarningShowingState and appletGetHealthWarningDisappearedSystemEvent.
This commit is contained in:
parent
d24f1ca611
commit
c0115edca1
@ -1478,6 +1478,14 @@ Result appletRestartProgram(const void* buffer, size_t size);
|
||||
*/
|
||||
Result appletGetPreviousProgramIndex(s32 *programIndex);
|
||||
|
||||
/**
|
||||
* @brief GetHealthWarningDisappearedSystemEvent
|
||||
* @note Only available with AppletType_*Application on [9.0.0+].
|
||||
* @note The Event must be closed by the user once finished with it.
|
||||
* @param[out] out_event Output Event with autoclear=false.
|
||||
*/
|
||||
Result appletGetHealthWarningDisappearedSystemEvent(Event *out_event);
|
||||
|
||||
/**
|
||||
* @brief SetHdcpAuthenticationActivated
|
||||
* @note Only available with AppletType_*Application on [9.0.0+].
|
||||
@ -2126,6 +2134,13 @@ Result appletStartRebootSequenceForOverlay(void);
|
||||
*/
|
||||
Result appletSetHandlingHomeButtonShortPressedEnabled(bool flag);
|
||||
|
||||
/**
|
||||
* @brief This writes the input bool into state and signals an Event.
|
||||
* @note Only available with AppletType_OverlayApplet on [9.0.0+].
|
||||
* @param[in] flag Flag
|
||||
*/
|
||||
Result appletSetHealthWarningShowingState(bool flag);
|
||||
|
||||
/**
|
||||
* @brief Enables HID input for the OverlayApplet, without disabling input for the foreground applet. Generally \ref appletBeginToWatchShortHomeButtonMessage / appletEndToWatchShortHomeButtonMessage should be used instead.
|
||||
* @note Only available with AppletType_OverlayApplet on [5.0.0+].
|
||||
|
@ -2230,6 +2230,7 @@ Result appletRestartProgram(const void* buffer, size_t size) {
|
||||
}
|
||||
|
||||
IPC_MAKE_CMD_IMPL_INITEXPR_HOSVER(Result appletGetPreviousProgramIndex(s32 *programIndex), &g_appletIFunctions, 123, _appletCmdNoInOutU32, !_appletIsApplication(), (5,0,0), (u32*)programIndex)
|
||||
IPC_MAKE_CMD_IMPL_INITEXPR_HOSVER(Result appletGetHealthWarningDisappearedSystemEvent(Event *out_event), &g_appletIFunctions, 160, _appletCmdGetEvent, !_appletIsApplication(), (9,0,0), out_event, false)
|
||||
IPC_MAKE_CMD_IMPL_INITEXPR_HOSVER(Result appletSetHdcpAuthenticationActivated(bool flag), &g_appletIFunctions, 170, _appletCmdInBoolNoOut, !_appletIsApplication(), (9,0,0), flag)
|
||||
IPC_MAKE_CMD_IMPL_INITEXPR_HOSVER(Result appletCreateMovieMaker(Service* srv_out, TransferMemory *tmem), &g_appletIFunctions, 1000, _appletCmdInTmemOutSession, !_appletIsApplication(), (5,0,0), srv_out, tmem)
|
||||
IPC_MAKE_CMD_IMPL_INITEXPR_HOSVER(Result appletPrepareForJit(void), &g_appletIFunctions, 1001, _appletCmdNoIO, !_appletIsApplication(), (5,0,0))
|
||||
@ -2585,6 +2586,7 @@ Result appletStartRebootSequenceForOverlay(void) {
|
||||
}
|
||||
|
||||
IPC_MAKE_CMD_IMPL_INITEXPR_HOSVER(Result appletSetHandlingHomeButtonShortPressedEnabled(bool flag), &g_appletIFunctions, 20, _appletCmdInBoolNoOut, __nx_applet_type != AppletType_OverlayApplet, (8,0,0), flag)
|
||||
IPC_MAKE_CMD_IMPL_INITEXPR_HOSVER(Result appletSetHealthWarningShowingState(bool flag), &g_appletIFunctions, 30, _appletCmdInBoolNoOut, __nx_applet_type != AppletType_OverlayApplet, (9,0,0), flag)
|
||||
IPC_MAKE_CMD_IMPL_INITEXPR_HOSVER(Result appletBeginToObserveHidInputForDevelop(void), &g_appletIFunctions, 101, _appletCmdNoIO, __nx_applet_type != AppletType_OverlayApplet, (5,0,0))
|
||||
|
||||
// IAppletCommonFunctions
|
||||
|
Loading…
Reference in New Issue
Block a user