7 #ifndef _PSP2_TRIGGERUTIL_H_
8 #define _PSP2_TRIGGERUTIL_H_
28 #define SCE_TRIGGER_UTIL_VERSION 0x3200000
void * buffer
Definition: bt.h:6
char titleid[0xC]
Title id of the process where the event occurred.
Definition: debug.h:4
SceWChar16 name[0x34]
Definition: triggerutil.h:75
SceChar8 reserved[0x40]
Definition: triggerutil.h:61
SceTriggerUtilErrorCode
Error Codes.
Definition: triggerutil.h:46
int sceTriggerUtilGetRegisteredSystemTitleIdList(char *buffer, int numOfIds)
Get list of system applications that has registered sceTriggerUtil events.
SceInt32 triggerTime
Definition: triggerutil.h:59
int sceTriggerUtilGetSystemAppInfo(const char *titleid, SceTriggerUtilSystemAppInfo *appInfo, int a4, int a5)
Get info for system application that has registered sceTriggerUtil events.
int sceTriggerUtilUnregisterOneTimeEvent(int eventId, int a2, int a3)
Unregister one time event for caller application.
VITASDK_BUILD_ASSERT_EQ(0x50, SceTriggerUtilEventParamDaily)
int sceTriggerUtilUnregisterDailyEvent(int eventId, int a2, int a3)
Unregister daily event for caller application.
SceUInt32 ver
Definition: triggerutil.h:66
short unk
Definition: triggerutil.h:77
SceChar8 iconPath[0x400]
Definition: triggerutil.h:83
SceUInt16 repeatDays
Definition: triggerutil.h:60
char reserved[2]
Definition: triggerutil.h:84
int sceTriggerUtilGetRegisteredUserTitleIdList(char *titleIdBuffer, int numOfIds)
Get list of user applications that has registered sceTriggerUtil events.
int sceTriggerUtilGetAutoStartStatus(int *status, int a2, int a3)
Get value from "Settings->System->Auto-Start Settings" for caller application.
SceChar8 iconPath[0x400]
Definition: triggerutil.h:76
int sceTriggerUtilRegisterDailyEvent(const char *titleid, const SceTriggerUtilEventParamDaily *param, int eventId, int a4, int a5)
Register application start event that will be repeated on certain days.
SceUInt8 extraParam1
Definition: triggerutil.h:68
SceWChar16 name[0x100]
Definition: triggerutil.h:82
int sceTriggerUtilGetUserAppInfo(const char *titleid, SceTriggerUtilUserAppInfo *appInfo, int a4, int a5)
Get info for user application that has registered sceTriggerUtil events.
SceUInt32 ver
Definition: triggerutil.h:56
int sceTriggerUtilGetDailyEventInfo(int eventId, SceTriggerUtilEventParamDaily *param, int a5, int a6)
Get daily event info for caller application.
SceInt16 extraParam1
Definition: triggerutil.h:57
SceInt16 extraParam2
Definition: triggerutil.h:58
SceRtcTick triggerTime
Definition: triggerutil.h:67
int sceTriggerUtilRegisterOneTimeEvent(const char *titleid, const SceTriggerUtilEventParamOneTime *param, int eventId, int a4, int a5)
Register one time application start event.
SceTriggerUtilDays
Days of the week for use in repeatDays member of SceTriggerUtilEventParamDaily.
Definition: triggerutil.h:33
SceUInt8 extraParam2
Definition: triggerutil.h:69
SceChar8 reserved[0x44]
Definition: triggerutil.h:70
int sceTriggerUtilGetOneTimeEventInfo(int eventId, SceRtcTick *triggerTime, int a4, int a5)
Get one time event info for caller application.
@ SCE_TRIGGER_UTIL_ERROR_NOT_REGISTERED
Definition: triggerutil.h:50
@ SCE_TRIGGER_UTIL_ERROR_EVENT_TYPE_MISMATCH
Definition: triggerutil.h:51
@ SCE_TRIGGER_UTIL_ERROR_NOT_FOUND_SYSTEM
Definition: triggerutil.h:49
@ SCE_TRIGGER_UTIL_ERROR_INVALID_ARG
Definition: triggerutil.h:52
@ SCE_TRIGGER_UTIL_ERROR_NOT_FOUND_USER
Definition: triggerutil.h:48
@ SCE_TRIGGER_UTIL_ERROR_BUSY
Definition: triggerutil.h:47
@ SCE_TRIGGER_UTIL_THURSDAY
Definition: triggerutil.h:38
@ SCE_TRIGGER_UTIL_WEDNESDAY
Definition: triggerutil.h:37
@ SCE_TRIGGER_UTIL_SATURDAY
Definition: triggerutil.h:40
@ SCE_TRIGGER_UTIL_TUESDAY
Definition: triggerutil.h:36
@ SCE_TRIGGER_UTIL_SUNDAY
Definition: triggerutil.h:34
@ SCE_TRIGGER_UTIL_FRIDAY
Definition: triggerutil.h:39
@ SCE_TRIGGER_UTIL_MONDAY
Definition: triggerutil.h:35
Definition: triggerutil.h:55
Definition: triggerutil.h:65
Definition: triggerutil.h:81
Definition: triggerutil.h:74
int16_t SceInt16
Definition: types.h:41
int8_t SceChar8
Definition: types.h:32
int32_t SceInt32
Definition: types.h:44
uint16_t SceUInt16
Definition: types.h:42
uint32_t SceUInt32
Definition: types.h:45
uint16_t SceWChar16
Definition: types.h:77
uint8_t SceUInt8
Definition: types.h:36