7 #ifndef _PSP2_MESSAGE_DIALOG_H_
8 #define _PSP2_MESSAGE_DIALOG_H_
25 #define SCE_MSG_DIALOG_USER_MSG_SIZE 512
163 _sceCommonDialogSetMagicNumber( ¶m->
commonParam );
void * sceClibMemset(void *dst, int ch, SceSize len)
SceCommonDialogStatus
Definition: common_dialog.h:56
Definition: common_dialog.h:106
#define PSP2_SDK_VERSION
Definition: defs.h:11
SceInt32 mode
Mode of function (one of SceMsgDialogMode)
Definition: message_dialog.h:141
SceMsgDialogSystemMessageParam sysMsgParam
Displayed system message.
Definition: message_dialog.h:132
int sceMsgDialogTerm(void)
SceMsgDialogMode
Definition: message_dialog.h:27
SceInt32 flag
Settings for dialog environment (one of SceMsgDialogEnvFlag)
Definition: message_dialog.h:146
SceInt32 fontSize2
Font size of the second button (one of SceMsgDialogFontSize)
Definition: message_dialog.h:102
SceInt32 buttonType
Type of button set (one of SceMsgDialogButtonType)
Definition: message_dialog.h:110
SceChar8 reserved[32]
Reserved range.
Definition: message_dialog.h:105
SceChar8 reserved[32]
Reserved range.
Definition: message_dialog.h:155
SceInt32 fontSize3
Font size of the third button (one of SceMsgDialogFontSize)
Definition: message_dialog.h:104
SceInt32 result
Result of executing function.
Definition: message_dialog.h:153
const char * msg2
Text of the second button.
Definition: message_dialog.h:101
SceInt32 mode
Mode of function (one of SceMsgDialogMode)
Definition: message_dialog.h:152
SceMsgDialogErrorCode
Definition: message_dialog.h:19
SceChar8 reserved[28]
Reserved range.
Definition: message_dialog.h:113
SceMsgDialogButtonId
Definition: message_dialog.h:70
int sceMsgDialogGetResult(SceMsgDialogResult *result)
SceChar8 reserved[32]
Reserved range.
Definition: message_dialog.h:147
SceInt32 reserved[8]
Reserved range.
Definition: message_dialog.h:134
SceUInt32 sdkVersion
Required to use MsgDialog. Just use NULL.
Definition: message_dialog.h:139
SceInt32 errorCode
Displayed error code.
Definition: message_dialog.h:125
SceInt32 buttonId
Id of button user selected (one of SceMsgDialogButtonId)
Definition: message_dialog.h:154
int sceMsgDialogProgressBarSetValue(SceMsgDialogProgressBarTarget target, SceUInt32 rate)
Set the progress rate of the progress bar in the message dialog immediately.
const SceChar8 * msg
Displayed user message.
Definition: message_dialog.h:133
SceCommonDialogParam commonParam
Common parameter.
Definition: message_dialog.h:140
SceMsgDialogSystemMessageType
Definition: message_dialog.h:35
const char * msg1
Text of the first button.
Definition: message_dialog.h:99
SceMsgDialogEnvFlag
Definition: message_dialog.h:89
SceChar8 reserved[32]
Reserved range.
Definition: message_dialog.h:120
SceMsgDialogErrorCodeParam * errorCodeParam
Parameter for display error code.
Definition: message_dialog.h:144
SceMsgDialogProgressBarParam * progBarParam
Parameter for progress bar.
Definition: message_dialog.h:145
SceCommonDialogStatus sceMsgDialogGetStatus(void)
SceMsgDialogProgressBarType
Definition: message_dialog.h:81
SceMsgDialogButtonType
Definition: message_dialog.h:61
SceMsgDialogFontSize
Definition: message_dialog.h:93
SceMsgDialogSystemMessageParam * sysMsgParam
Parameter for system prepared message.
Definition: message_dialog.h:143
SceInt32 barType
Progress bar type (one of SceMsgDialogProgressBarType)
Definition: message_dialog.h:131
int sceMsgDialogProgressBarInc(SceMsgDialogProgressBarTarget target, SceUInt32 delta)
Increases the rate of the progress bar in the message dialog.
SceMsgDialogButtonsParam * buttonParam
Buttons parameters.
Definition: message_dialog.h:112
const char * msg3
Text of the third button.
Definition: message_dialog.h:103
SceMsgDialogUserMessageParam * userMsgParam
Parameter for user message.
Definition: message_dialog.h:142
int sceMsgDialogProgressBarSetMsg(SceMsgDialogProgressBarTarget target, const SceChar8 *barMsg)
Set the string displayed in the progress bar of the message dialog immediately.
int sceMsgDialogAbort(void)
int sceMsgDialogClose(void)
SceInt32 value
Additional value.
Definition: message_dialog.h:119
SceInt32 fontSize1
Font size of the first button (one of SceMsgDialogFontSize)
Definition: message_dialog.h:100
int sceMsgDialogInit(const SceMsgDialogParam *param)
const SceChar8 * msg
Displayed message.
Definition: message_dialog.h:111
SceInt32 sysMsgType
System message type (one of SceMsgDialogSystemMessageType)
Definition: message_dialog.h:118
VITASDK_BUILD_ASSERT_EQ(0x38, SceMsgDialogButtonsParam)
SceChar8 reserved[32]
Reserved range.
Definition: message_dialog.h:126
SceMsgDialogProgressBarTarget
Definition: message_dialog.h:85
@ SCE_MSG_DIALOG_MODE_USER_MSG
Definition: message_dialog.h:29
@ SCE_MSG_DIALOG_MODE_PROGRESS_BAR
Definition: message_dialog.h:32
@ SCE_MSG_DIALOG_MODE_ERROR_CODE
Definition: message_dialog.h:31
@ SCE_MSG_DIALOG_MODE_SYSTEM_MSG
Definition: message_dialog.h:30
@ SCE_MSG_DIALOG_MODE_INVALID
Definition: message_dialog.h:28
@ SCE_MSG_DIALOG_ERROR_PARAM
Illegal parameter.
Definition: message_dialog.h:21
@ SCE_MSG_DIALOG_BUTTON_ID_RETRY
Definition: message_dialog.h:75
@ SCE_MSG_DIALOG_BUTTON_ID_INVALID
Definition: message_dialog.h:71
@ SCE_MSG_DIALOG_BUTTON_ID_OK
Definition: message_dialog.h:72
@ SCE_MSG_DIALOG_BUTTON_ID_BUTTON3
Definition: message_dialog.h:78
@ SCE_MSG_DIALOG_BUTTON_ID_BUTTON1
Definition: message_dialog.h:76
@ SCE_MSG_DIALOG_BUTTON_ID_BUTTON2
Definition: message_dialog.h:77
@ SCE_MSG_DIALOG_BUTTON_ID_YES
Definition: message_dialog.h:73
@ SCE_MSG_DIALOG_BUTTON_ID_NO
Definition: message_dialog.h:74
@ SCE_MSG_DIALOG_SYSMSG_TYPE_WAIT_SMALL
Displays "Please wait." in a small message dialog.
Definition: message_dialog.h:44
@ SCE_MSG_DIALOG_SYSMSG_TYPE_INVALID
Definition: message_dialog.h:36
@ SCE_MSG_DIALOG_SYSMSG_TYPE_TRC_WIFI_REQUIRED_APPLICATION
Displays "You must use Wi-Fi to use this application.".
Definition: message_dialog.h:56
@ SCE_MSG_DIALOG_SYSMSG_TYPE_WAIT
Displays "Please wait.".
Definition: message_dialog.h:38
@ SCE_MSG_DIALOG_SYSMSG_TYPE_MAGNETIC_CALIBRATION
Displays "Move away from the source of interference, or adjust the compass by moving your PS Vita sys...
Definition: message_dialog.h:42
@ SCE_MSG_DIALOG_SYSMSG_TYPE_NEED_MC_CONTINUE
Displays "Cannot continue the application. No memory card is inserted.".
Definition: message_dialog.h:48
@ SCE_MSG_DIALOG_SYSMSG_TYPE_TRC_EMPTY_STORE
Displays "No content is available yet.".
Definition: message_dialog.h:58
@ SCE_MSG_DIALOG_SYSMSG_TYPE_TRC_MIC_DISABLED
Displays "You must enable the microphone.".
Definition: message_dialog.h:52
@ SCE_MSG_DIALOG_SYSMSG_TYPE_NOSPACE
Displays "There is not enough free space on the memory card.".
Definition: message_dialog.h:40
@ SCE_MSG_DIALOG_SYSMSG_TYPE_TRC_WIFI_REQUIRED_OPERATION
Displays "You must use Wi-Fi to do this.".
Definition: message_dialog.h:54
@ SCE_MSG_DIALOG_SYSMSG_TYPE_NEED_MC_OPERATION
Displays "Cannot perform this operation. No memory card is inserted.".
Definition: message_dialog.h:50
@ SCE_MSG_DIALOG_SYSMSG_TYPE_WAIT_CANCEL
Displays "Please wait..." with a cancel button.
Definition: message_dialog.h:46
@ SCE_MSG_DIALOG_ENV_FLAG_DEFAULT
Definition: message_dialog.h:90
@ SCE_MSG_DIALOG_PROGRESSBAR_TYPE_PERCENTAGE
Definition: message_dialog.h:82
@ SCE_MSG_DIALOG_BUTTON_TYPE_CANCEL
Definition: message_dialog.h:66
@ SCE_MSG_DIALOG_BUTTON_TYPE_NONE
Definition: message_dialog.h:64
@ SCE_MSG_DIALOG_BUTTON_TYPE_OK
Definition: message_dialog.h:62
@ SCE_MSG_DIALOG_BUTTON_TYPE_OK_CANCEL
Definition: message_dialog.h:65
@ SCE_MSG_DIALOG_BUTTON_TYPE_YESNO
Definition: message_dialog.h:63
@ SCE_MSG_DIALOG_BUTTON_TYPE_3BUTTONS
Definition: message_dialog.h:67
@ SCE_MSG_DIALOG_FONT_SIZE_DEFAULT
Definition: message_dialog.h:94
@ SCE_MSG_DIALOG_FONT_SIZE_SMALL
Definition: message_dialog.h:95
@ SCE_MSG_DIALOG_PROGRESSBAR_TARGET_BAR_DEFAULT
Definition: message_dialog.h:86
Definition: message_dialog.h:124
Definition: message_dialog.h:138
Definition: message_dialog.h:130
Definition: message_dialog.h:151
Definition: message_dialog.h:117
Definition: message_dialog.h:109
int8_t SceChar8
Definition: types.h:32
int32_t SceInt32
Definition: types.h:44
uint32_t SceUInt32
Definition: types.h:45