Files

43 lines
1.1 KiB
Odin
Raw Permalink Normal View History

2024-05-11 23:24:13 +02:00
package notificationutil
import "core:c"
import sce "../common"
foreign import notificationutil "system:SceNotificationUtil_stub"
foreign notificationutil {
/**
* Initialize notification util for use with BG application.
*
* Does not need to be called for normal applications.
*/
2024-05-13 16:04:23 +02:00
sceNotificationUtilBgAppInitialize :: proc() -> sce.Int32 ---
2024-05-11 23:24:13 +02:00
/**
* Send notification.
*
* Text buffer size must be 0x410.
*/
2024-05-13 16:04:23 +02:00
sceNotificationUtilSendNotification :: proc(text: [^]sce.WChar16) -> sce.Int32 ---
2024-05-11 23:24:13 +02:00
/**
* Clean notifications for calling app from notification history.
*/
2024-05-13 16:04:23 +02:00
sceNotificationUtilCleanHistory :: proc() -> sce.Int32 ---
2024-05-11 23:24:13 +02:00
/**
* Start BGDL-type notification.
*/
2024-05-13 16:04:23 +02:00
sceNotificationUtilProgressBegin :: proc(initParams: ^SceNotificationUtilProgressInitParam) -> sce.Int32 ---
2024-05-11 23:24:13 +02:00
/**
* Update BGDL-type notification.
*/
2024-05-13 16:04:23 +02:00
sceNotificationUtilProgressUpdate :: proc(updateParams: ^SceNotificationUtilProgressUpdateParam) -> sce.Int32 ---
2024-05-11 23:24:13 +02:00
/**
* Finish BGDL-type notification.
*/
2024-05-13 16:04:23 +02:00
sceNotificationUtilProgressFinish :: proc(finishParams: ^SceNotificationUtilProgressFinishParam) -> sce.Int32 ---
2024-05-11 23:24:13 +02:00
}