vitasdk
Documentation of the vitasdk
ime_dialog.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/common_dialog.h>
#include <psp2/types.h>
#include <psp2/libime.h>

Go to the source code of this file.

Data Structures

struct  SceImeDialogParam
 
struct  SceImeDialogResult
 

Macros

#define SCE_IME_DIALOG_MAX_TITLE_LENGTH   (128)
 
#define SCE_IME_DIALOG_MAX_TEXT_LENGTH   (2048)
 

Enumerations

enum  SceImeDialogError {
  SCE_IME_DIALOG_ERROR_PARAM = 0x80102001 , SCE_IME_DIALOG_ERROR_INTERNAL = 0x80102002 , SCE_IME_DIALOG_ERROR_INVALID_DIALOG_MODE = 0x80102003 , SCE_IME_DIALOG_ERROR_INVALID_TEXT_BOX_MODE = 0x80102004 ,
  SCE_IME_DIALOG_ERROR_INVALID_TITLE = 0x80102005
}
 
enum  SceImeDialogDialogMode { SCE_IME_DIALOG_DIALOG_MODE_DEFAULT = 0 , SCE_IME_DIALOG_DIALOG_MODE_WITH_CANCEL = 1 }
 
enum  SceImeDialogTextboxMode { SCE_IME_DIALOG_TEXTBOX_MODE_DEFAULT = 0 , SCE_IME_DIALOG_TEXTBOX_MODE_PASSWORD = 1 , SCE_IME_DIALOG_TEXTBOX_MODE_WITH_CLEAR = 2 }
 
enum  SceImeDialogButton { SCE_IME_DIALOG_BUTTON_NONE = 0 , SCE_IME_DIALOG_BUTTON_CLOSE = 1 , SCE_IME_DIALOG_BUTTON_ENTER = 2 }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0xA8, SceImeDialogParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x24, SceImeDialogResult)
 
SceInt32 sceImeDialogInit (const SceImeDialogParam *param)
 
SceCommonDialogStatus sceImeDialogGetStatus (void)
 
SceInt32 sceImeDialogAbort (void)
 
SceInt32 sceImeDialogGetResult (SceImeDialogResult *result)
 
SceInt32 sceImeDialogTerm (void)