psl1ght
A free SDK for Sony's PS3 console
Loading...
Searching...
No Matches
msg.h
Go to the documentation of this file.
1#ifndef __LV2_MSG_H__
2#define __LV2_MSG_H__
3
4#include <ppu-types.h>
5
6#define MSG_PROGRESSBAR_INDEX0 0
7#define MSG_PROGRESSBAR_INDEX1 1
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
27
37
38typedef void (*msgDialogCallback)(msgButton button,void *usrData);
39
41s32 msgDialogClose(f32 waitMs);
42s32 msgDialogOpen(msgType type,const char *msg,msgDialogCallback cb,void *usrData,void *unused);
43s32 msgDialogOpen2(msgType type,const char *msg,msgDialogCallback cb,void *usrData,void *unused);
44s32 msgDialogOpenErrorCode(u32 errorCode,msgDialogCallback cb,void *usrData,void *unused);
45
46s32 msgDialogProgressBarSetMsg(u32 index,const char *msg);
48s32 msgDialogProgressBarInc(u32 index,u32 percent);
49
50#ifdef __cplusplus
51 }
52#endif
53
54#endif
s32 msgDialogProgressBarSetMsg(u32 index, const char *msg)
s32 msgDialogOpen2(msgType type, const char *msg, msgDialogCallback cb, void *usrData, void *unused)
s32 msgDialogClose(f32 waitMs)
msgType
Definition msg.h:14
@ MSG_DIALOG_DISABLE_CANCEL_ON
Definition msg.h:21
@ MSG_DIALOG_MUTE_ON
Definition msg.h:17
@ MSG_DIALOG_BTN_TYPE_YESNO
Definition msg.h:19
@ MSG_DIALOG_BTN_TYPE_OK
Definition msg.h:20
@ MSG_DIALOG_SINGLE_PROGRESSBAR
Definition msg.h:24
@ MSG_DIALOG_ERROR
Definition msg.h:15
@ MSG_DIALOG_BKG_INVISIBLE
Definition msg.h:18
@ MSG_DIALOG_DOUBLE_PROGRESSBAR
Definition msg.h:25
@ MSG_DIALOG_DEFAULT_CURSOR_NO
Definition msg.h:22
@ MSG_DIALOG_NORMAL
Definition msg.h:16
s32 msgDialogProgressBarInc(u32 index, u32 percent)
s32 msgDialogProgressBarReset(u32 index)
s32 msgDialogOpenErrorCode(u32 errorCode, msgDialogCallback cb, void *usrData, void *unused)
msgButton
Definition msg.h:29
@ MSG_DIALOG_BTN_YES
Definition msg.h:33
@ MSG_DIALOG_BTN_INVALID
Definition msg.h:31
@ MSG_DIALOG_BTN_OK
Definition msg.h:32
@ MSG_DIALOG_BTN_NONE
Definition msg.h:30
@ MSG_DIALOG_BTN_NO
Definition msg.h:34
@ MSG_DIALOG_BTN_ESCAPE
Definition msg.h:35
s32 msgDialogAbort()
void(* msgDialogCallback)(msgButton button, void *usrData)
Definition msg.h:38
s32 msgDialogOpen(msgType type, const char *msg, msgDialogCallback cb, void *usrData, void *unused)