vitasdk
Documentation of the vitasdk
notificationutil.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_NOTIFICATIONUTIL_H_
7 #define _PSP2_NOTIFICATIONUTIL_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
19 #define SCE_NOTIFICATIONUTIL_TEXT_MAX 0x3F
20 
24 typedef enum SceNotificationUitlErrorCode {
27 
31 typedef void(*SceNotificationUtilProgressEventHandler)(int eventId);
32 
35  SceInt16 separator0; //must be 0
37  SceInt16 separator1; //must be 0
38  SceChar8 unk[0x3E6];
39  SceInt32 unk_4EC; //can be set to 0
43 
46  SceInt16 separator0; //must be 0
48  SceInt16 separator1; //must be 0
53 
56  SceInt16 separator0; //must be 0
58  SceInt16 separator1; //must be 0
59  SceChar8 path[0x3E8];
62 
69 
76 
81 
86 
91 
96 
97 #ifdef __cplusplus
98 }
99 #endif /* __cplusplus */
100 
101 #endif /* _PSP2_NOTIFICATIONUTIL_H_ */
SceInt32 sceNotificationUtilProgressUpdate(SceNotificationUtilProgressUpdateParam *updateParams)
Update BGDL-type notification.
VITASDK_BUILD_ASSERT_EQ(0x4F0, SceNotificationUtilProgressInitParam)
SceWChar16 notificationText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
Definition: notificationutil.h:55
SceInt16 separator1
Definition: notificationutil.h:48
SceWChar16 notificationText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
Definition: notificationutil.h:45
SceChar8 reserved[0x38]
Definition: notificationutil.h:50
SceInt16 separator1
Definition: notificationutil.h:58
SceInt16 separator1
Definition: notificationutil.h:37
SceChar8 unk[0x3E6]
Definition: notificationutil.h:38
SceWChar16 notificationSubText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
Definition: notificationutil.h:57
#define SCE_NOTIFICATIONUTIL_TEXT_MAX
Constants.
Definition: notificationutil.h:19
SceInt16 separator0
Definition: notificationutil.h:56
SceWChar16 notificationText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
Definition: notificationutil.h:34
SceWChar16 notificationSubText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
Definition: notificationutil.h:47
SceInt16 separator0
Definition: notificationutil.h:46
SceInt32 sceNotificationUtilBgAppInitialize(void)
Initialize notification util for use with BG application.
SceWChar16 notificationSubText[SCE_NOTIFICATIONUTIL_TEXT_MAX]
Definition: notificationutil.h:36
SceInt16 separator0
Definition: notificationutil.h:35
SceInt32 sceNotificationUtilProgressFinish(SceNotificationUtilProgressFinishParam *finishParams)
Finish BGDL-type notification.
SceNotificationUtilErrorCode
Error Codes.
Definition: notificationutil.h:24
SceNotificationUtilProgressEventHandler eventHandler
Definition: notificationutil.h:40
void(* SceNotificationUtilProgressEventHandler)(int eventId)
BGDL-type notification event handler function.
Definition: notificationutil.h:31
SceInt32 sceNotificationUtilCleanHistory(void)
Clean notifications for calling app from notification history.
SceInt32 unk_4EC
Definition: notificationutil.h:39
SceInt32 sceNotificationUtilProgressBegin(SceNotificationUtilProgressInitParam *initParams)
Start BGDL-type notification.
SceFloat targetProgress
Definition: notificationutil.h:49
SceInt32 sceNotificationUtilSendNotification(const SceWChar16 *text)
Send notification.
SceChar8 path[0x3E8]
Definition: notificationutil.h:59
@ SCE_NOTIFICATIONUTIL_ERROR_INTERNAL
Definition: notificationutil.h:25
Definition: notificationutil.h:54
Definition: notificationutil.h:33
Definition: notificationutil.h:44
int16_t SceInt16
Definition: types.h:41
int8_t SceChar8
Definition: types.h:32
int32_t SceInt32
Definition: types.h:44
uint16_t SceWChar16
Definition: types.h:77
float SceFloat
Definition: types.h:65