mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
applet: Added macros in applet.c for defining cmds' impl in a single line, using the ipc helper funcs. Some cmds which previously didn't have NotInitialized checks now do so via the macros. Fixed the order of some cmds.
This commit is contained in:
parent
9eb4bfca20
commit
c4b1a68269
@ -739,13 +739,6 @@ Result appletGetCurrentIlluminanceEx(bool *bOverLimit, float *fLux);
|
||||
*/
|
||||
Result appletSetWirelessPriorityMode(AppletWirelessPriorityMode mode);
|
||||
|
||||
/**
|
||||
* @brief Sets whether ::AppletMessage_AlbumImageTaken is enabled.
|
||||
* @note Only available with [7.0.0+].
|
||||
* @param[in] flag Whether to enable the notification.
|
||||
*/
|
||||
Result appletSetAlbumImageTakenNotificationEnabled(bool flag);
|
||||
|
||||
/**
|
||||
* @brief Gets the total time in nanoseconds that the current process was actively running (not suspended), relative to when \ref appletInitialize was last used.
|
||||
* @note Only available with [6.0.0+].
|
||||
@ -753,6 +746,13 @@ Result appletSetAlbumImageTakenNotificationEnabled(bool flag);
|
||||
*/
|
||||
Result appletGetProgramTotalActiveTime(u64 *activeTime);
|
||||
|
||||
/**
|
||||
* @brief Sets whether ::AppletMessage_AlbumImageTaken is enabled.
|
||||
* @note Only available with [7.0.0+].
|
||||
* @param[in] flag Whether to enable the notification.
|
||||
*/
|
||||
Result appletSetAlbumImageTakenNotificationEnabled(bool flag);
|
||||
|
||||
/**
|
||||
* @brief Sets the Application AlbumUserData.
|
||||
* @note Only available with [8.0.0+].
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user