Skip to content

Commit

Permalink
sysapp: add _SYSGetSystemApplicationTitleId(SystemAppId id);
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschell authored and exjam committed Nov 22, 2019
1 parent c74eb52 commit 35c20d8
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions include/sysapp/title.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@
extern "C" {
#endif

typedef enum SYSTEM_APP_ID
{
SYSTEM_APP_ID_UPDATER = 0,
SYSTEM_APP_ID_SYSTEM_SETTINGS = 1,
SYSTEM_APP_ID_PARENTAL_CONTROLS = 2,
SYSTEM_APP_ID_USER_SETTINGS = 3,
SYSTEM_APP_ID_MII_MAKER = 4,
SYSTEM_APP_ID_ACCOUNT_SETTINGS = 5,
SYSTEM_APP_ID_DAILY_LOG = 6,
SYSTEM_APP_ID_NOTIFICATIONS = 7,
SYSTEM_APP_ID_HEALTH_AND_SAFETY = 8,
SYSTEM_APP_ID_ELECTRONIC_MANUAL = 9,
SYSTEM_APP_ID_WIIU_CHAT = 10,
SYSTEM_APP_ID_SOFTWARE_DATA_TRANSFER = 11,
} SYSTEM_APP_ID;

/**
* Check if a given title exists and is installed on the system.
*
Expand Down Expand Up @@ -56,6 +72,13 @@ SYSGetPFIDFromTitleID(uint64_t TitleId);
int32_t
SYSGetUPIDFromTitleID(uint64_t TitleId);

/**
* Gets the title id for a given SYSTEM_APP_ID.
*
*/
uint64_t
_SYSGetSystemApplicationTitleId(SYSTEM_APP_ID id);

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit 35c20d8

Please sign in to comment.