vitasdk
Documentation of the vitasdk
triggerutil.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/kernel/clib.h>
#include <psp2/rtc.h>
#include <psp2/types.h>

Go to the source code of this file.

Data Structures

struct  SceTriggerUtilEventParamDaily
 
struct  SceTriggerUtilEventParamOneTime
 
struct  SceTriggerUtilUserAppInfo
 
struct  SceTriggerUtilSystemAppInfo
 

Macros

#define SCE_TRIGGER_UTIL_VERSION   0x3200000
 

Enumerations

enum  SceTriggerUtilDays {
  SCE_TRIGGER_UTIL_SUNDAY = 0x1 , SCE_TRIGGER_UTIL_MONDAY = 0x2 , SCE_TRIGGER_UTIL_TUESDAY = 0x4 , SCE_TRIGGER_UTIL_WEDNESDAY = 0x8 ,
  SCE_TRIGGER_UTIL_THURSDAY = 0x10 , SCE_TRIGGER_UTIL_FRIDAY = 0x20 , SCE_TRIGGER_UTIL_SATURDAY = 0x40
}
 Days of the week for use in repeatDays member of SceTriggerUtilEventParamDaily. More...
 
enum  SceTriggerUtilErrorCode {
  SCE_TRIGGER_UTIL_ERROR_BUSY = 0x80103600 , SCE_TRIGGER_UTIL_ERROR_NOT_FOUND_USER = 0x80103611 , SCE_TRIGGER_UTIL_ERROR_NOT_FOUND_SYSTEM = 0x80103614 , SCE_TRIGGER_UTIL_ERROR_NOT_REGISTERED = 0x80103621 ,
  SCE_TRIGGER_UTIL_ERROR_EVENT_TYPE_MISMATCH = 0x80103624 , SCE_TRIGGER_UTIL_ERROR_INVALID_ARG = 0x80103660
}
 Error Codes. More...
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x50, SceTriggerUtilEventParamDaily)
 
 VITASDK_BUILD_ASSERT_EQ (0x58, SceTriggerUtilEventParamOneTime)
 
 VITASDK_BUILD_ASSERT_EQ (0x46A, SceTriggerUtilUserAppInfo)
 
 VITASDK_BUILD_ASSERT_EQ (0x602, SceTriggerUtilSystemAppInfo)
 
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. More...
 
int sceTriggerUtilRegisterOneTimeEvent (const char *titleid, const SceTriggerUtilEventParamOneTime *param, int eventId, int a4, int a5)
 Register one time application start event. More...
 
int sceTriggerUtilUnregisterDailyEvent (int eventId, int a2, int a3)
 Unregister daily event for caller application. More...
 
int sceTriggerUtilUnregisterOneTimeEvent (int eventId, int a2, int a3)
 Unregister one time event for caller application. More...
 
int sceTriggerUtilGetAutoStartStatus (int *status, int a2, int a3)
 Get value from "Settings->System->Auto-Start Settings" for caller application. More...
 
int sceTriggerUtilGetOneTimeEventInfo (int eventId, SceRtcTick *triggerTime, int a4, int a5)
 Get one time event info for caller application. More...
 
int sceTriggerUtilGetDailyEventInfo (int eventId, SceTriggerUtilEventParamDaily *param, int a5, int a6)
 Get daily event info for caller application. More...
 
int sceTriggerUtilGetUserAppInfo (const char *titleid, SceTriggerUtilUserAppInfo *appInfo, int a4, int a5)
 Get info for user application that has registered sceTriggerUtil events. More...
 
int sceTriggerUtilGetRegisteredUserTitleIdList (char *titleIdBuffer, int numOfIds)
 Get list of user applications that has registered sceTriggerUtil events. More...
 
int sceTriggerUtilGetSystemAppInfo (const char *titleid, SceTriggerUtilSystemAppInfo *appInfo, int a4, int a5)
 Get info for system application that has registered sceTriggerUtil events. More...
 
int sceTriggerUtilGetRegisteredSystemTitleIdList (char *buffer, int numOfIds)
 Get list of system applications that has registered sceTriggerUtil events. More...