pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
pspsdk-1.0+beta2
Modules
Data Structures
Files
File List
src
asfparser
atrac3
audio
base
ctrl
debug
display
fpu
ge
gu
gum
hprm
kernel
libc
mp3
mpeg
nand
net
openpsid
power
prof
registry
rtc
sdk
sircs
startup
umd
usb
usbstor
user
utility
psputility.h
psputility_avmodules.h
psputility_gamesharing.h
psputility_htmlviewer.h
psputility_modules.h
psputility_msgdialog.h
psputility_netconf.h
psputility_netmodules.h
psputility_netparam.h
psputility_osk.h
psputility_savedata.h
psputility_sysparam.h
psputility_usbmodules.h
vfpu
video
vsh
wlan
tools
Globals
psputility_msgdialog.h
Go to the documentation of this file.
1
/*
2
* PSP Software Development Kit - http://www.pspdev.org
3
* -----------------------------------------------------------------------
4
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5
*
6
* psputility_msdialog.h - Definitions and Functions for Dialogs
7
* section of the pspUtility library
8
*
9
* Copyright (c) 2005 Marcus Comstedt <marcus@mc.pp.se>
10
* (c) 2008 InsertWittyName <tias_dp@hotmail.com>
11
*
12
* $Id: psputility_msgdialog.h 2433 2008-10-15 10:00:27Z iwn $
13
*/
14
#ifndef __PSPUTILITY_DIALOGS_H__
15
#define __PSPUTILITY_DIALOGS_H__
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
typedef
enum
22
{
23
PSP_UTILITY_MSGDIALOG_MODE_ERROR
= 0,
/* Error message */
24
PSP_UTILITY_MSGDIALOG_MODE_TEXT
/* String message */
25
26
}
pspUtilityMsgDialogMode
;
27
28
typedef
enum
29
{
30
PSP_UTILITY_MSGDIALOG_OPTION_ERROR
= 0,
/* Error message (why two flags?) */
31
PSP_UTILITY_MSGDIALOG_OPTION_TEXT
= 0x00000001,
/* Text message (why two flags?) */
32
PSP_UTILITY_MSGDIALOG_OPTION_YESNO_BUTTONS
= 0x00000010,
/* Yes/No buttons instead of 'Cancel' */
33
PSP_UTILITY_MSGDIALOG_OPTION_DEFAULT_NO
= 0x00000100
/* Default position 'No', if not set will default to 'Yes' */
34
35
}
pspUtilityMsgDialogOption
;
36
37
typedef
enum
38
{
39
PSP_UTILITY_MSGDIALOG_RESULT_UNKNOWN1
= 0,
40
PSP_UTILITY_MSGDIALOG_RESULT_YES
,
41
PSP_UTILITY_MSGDIALOG_RESULT_NO
,
42
PSP_UTILITY_MSGDIALOG_RESULT_BACK
43
44
}
pspUtilityMsgDialogPressed
;
45
49
typedef
struct
_pspUtilityMsgDialogParams
50
{
51
pspUtilityDialogCommon
base
;
52
int
unknown
;
53
pspUtilityMsgDialogMode
mode
;
54
unsigned
int
errorValue
;
56
char
message
[512];
57
int
options
;
/* OR ::pspUtilityMsgDialogOption together for multiple options */
58
pspUtilityMsgDialogPressed
buttonPressed
;
59
60
}
pspUtilityMsgDialogParams
;
61
68
int
sceUtilityMsgDialogInitStart
(
pspUtilityMsgDialogParams
*params);
69
75
void
sceUtilityMsgDialogShutdownStart
(
void
);
76
84
int
sceUtilityMsgDialogGetStatus
(
void
);
85
91
void
sceUtilityMsgDialogUpdate
(
int
n);
92
96
int
sceUtilityMsgDialogAbort
(
void
);
97
98
#ifdef __cplusplus
99
}
100
#endif
101
102
#endif
src
utility
psputility_msgdialog.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2