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

Go to the source code of this file.

Data Structures

struct  SceMsgDialogButtonsParam
 
struct  SceMsgDialogUserMessageParam
 
struct  SceMsgDialogSystemMessageParam
 
struct  SceMsgDialogErrorCodeParam
 
struct  SceMsgDialogProgressBarParam
 
struct  SceMsgDialogParam
 
struct  SceMsgDialogResult
 

Macros

#define SCE_MSG_DIALOG_USER_MSG_SIZE   512
 Max length of a user message. More...
 

Enumerations

enum  SceMsgDialogErrorCode { SCE_MSG_DIALOG_ERROR_PARAM = 0x80100A01 }
 
enum  SceMsgDialogMode {
  SCE_MSG_DIALOG_MODE_INVALID = 0 , SCE_MSG_DIALOG_MODE_USER_MSG = 1 , SCE_MSG_DIALOG_MODE_SYSTEM_MSG = 2 , SCE_MSG_DIALOG_MODE_ERROR_CODE = 3 ,
  SCE_MSG_DIALOG_MODE_PROGRESS_BAR = 4
}
 
enum  SceMsgDialogSystemMessageType {
  SCE_MSG_DIALOG_SYSMSG_TYPE_INVALID = 0 , SCE_MSG_DIALOG_SYSMSG_TYPE_WAIT = 1 , SCE_MSG_DIALOG_SYSMSG_TYPE_NOSPACE = 2 , SCE_MSG_DIALOG_SYSMSG_TYPE_MAGNETIC_CALIBRATION = 3 ,
  SCE_MSG_DIALOG_SYSMSG_TYPE_WAIT_SMALL = 5 , SCE_MSG_DIALOG_SYSMSG_TYPE_WAIT_CANCEL = 6 , SCE_MSG_DIALOG_SYSMSG_TYPE_NEED_MC_CONTINUE = 7 , SCE_MSG_DIALOG_SYSMSG_TYPE_NEED_MC_OPERATION = 8 ,
  SCE_MSG_DIALOG_SYSMSG_TYPE_TRC_MIC_DISABLED = 100 , SCE_MSG_DIALOG_SYSMSG_TYPE_TRC_WIFI_REQUIRED_OPERATION = 101 , SCE_MSG_DIALOG_SYSMSG_TYPE_TRC_WIFI_REQUIRED_APPLICATION = 102 , SCE_MSG_DIALOG_SYSMSG_TYPE_TRC_EMPTY_STORE = 103
}
 
enum  SceMsgDialogButtonType {
  SCE_MSG_DIALOG_BUTTON_TYPE_OK = 0 , SCE_MSG_DIALOG_BUTTON_TYPE_YESNO = 1 , SCE_MSG_DIALOG_BUTTON_TYPE_NONE = 2 , SCE_MSG_DIALOG_BUTTON_TYPE_OK_CANCEL = 3 ,
  SCE_MSG_DIALOG_BUTTON_TYPE_CANCEL = 4 , SCE_MSG_DIALOG_BUTTON_TYPE_3BUTTONS = 5
}
 
enum  SceMsgDialogButtonId {
  SCE_MSG_DIALOG_BUTTON_ID_INVALID = 0 , SCE_MSG_DIALOG_BUTTON_ID_OK = 1 , SCE_MSG_DIALOG_BUTTON_ID_YES = 1 , SCE_MSG_DIALOG_BUTTON_ID_NO = 2 ,
  SCE_MSG_DIALOG_BUTTON_ID_RETRY = 3 , SCE_MSG_DIALOG_BUTTON_ID_BUTTON1 = 1 , SCE_MSG_DIALOG_BUTTON_ID_BUTTON2 = 2 , SCE_MSG_DIALOG_BUTTON_ID_BUTTON3 = 3
}
 
enum  SceMsgDialogProgressBarType { SCE_MSG_DIALOG_PROGRESSBAR_TYPE_PERCENTAGE = 0 }
 
enum  SceMsgDialogProgressBarTarget { SCE_MSG_DIALOG_PROGRESSBAR_TARGET_BAR_DEFAULT = 0 }
 
enum  SceMsgDialogEnvFlag { SCE_MSG_DIALOG_ENV_FLAG_DEFAULT = 0 }
 
enum  SceMsgDialogFontSize { SCE_MSG_DIALOG_FONT_SIZE_DEFAULT = 0 , SCE_MSG_DIALOG_FONT_SIZE_SMALL = 1 }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0x38, SceMsgDialogButtonsParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceMsgDialogUserMessageParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x28, SceMsgDialogSystemMessageParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x24, SceMsgDialogErrorCodeParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x50, SceMsgDialogProgressBarParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x88, SceMsgDialogParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x2C, SceMsgDialogResult)
 
int sceMsgDialogInit (const SceMsgDialogParam *param)
 
SceCommonDialogStatus sceMsgDialogGetStatus (void)
 
int sceMsgDialogAbort (void)
 
int sceMsgDialogGetResult (SceMsgDialogResult *result)
 
int sceMsgDialogTerm (void)
 
int sceMsgDialogClose (void)
 
int sceMsgDialogProgressBarInc (SceMsgDialogProgressBarTarget target, SceUInt32 delta)
 Increases the rate of the progress bar in the message dialog. More...
 
int sceMsgDialogProgressBarSetValue (SceMsgDialogProgressBarTarget target, SceUInt32 rate)
 Set the progress rate of the progress bar in the message dialog immediately. More...
 
int sceMsgDialogProgressBarSetMsg (SceMsgDialogProgressBarTarget target, const SceChar8 *barMsg)
 Set the string displayed in the progress bar of the message dialog immediately. More...