pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
psputility_htmlviewer.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_htmlviewer.h - html viewer utility library.
7
*
8
* Copyright (c) 2008 David Perry (InsertWittyName)
9
* Copyright (c) 2008 moonlight
10
*
11
*/
12
13
#ifndef __PSPUTILITY_HTMLVIEWER_H__
14
#define __PSPUTILITY_HTMLVIEWER_H__
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
enum
pspUtilityHtmlViewerDisconnectModes
21
{
23
PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_ENABLE
= 0,
25
PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_DISABLE
,
27
PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_CONFIRM
28
};
29
30
enum
pspUtilityHtmlViewerInterfaceModes
31
{
33
PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_FULL
= 0,
35
PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_LIMITED
,
37
PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_NONE
38
};
39
40
enum
pspUtilityHtmlViewerCookieModes
41
{
43
PSP_UTILITY_HTMLVIEWER_COOKIEMODE_DISABLED
= 0,
45
PSP_UTILITY_HTMLVIEWER_COOKIEMODE_ENABLED
,
47
PSP_UTILITY_HTMLVIEWER_COOKIEMODE_CONFIRM
,
49
PSP_UTILITY_HTMLVIEWER_COOKIEMODE_DEFAULT
50
};
51
52
enum
pspUtilityHtmlViewerTextSizes
53
{
55
PSP_UTILITY_HTMLVIEWER_TEXTSIZE_LARGE
= 0,
57
PSP_UTILITY_HTMLVIEWER_TEXTSIZE_NORMAL
,
59
PSP_UTILITY_HTMLVIEWER_TEXTSIZE_SMALL
60
};
61
62
enum
pspUtilityHtmlViewerDisplayModes
63
{
65
PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_NORMAL
= 0,
67
PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_FIT
,
69
PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_SMART_FIT
70
};
71
72
enum
pspUtilityHtmlViewerConnectModes
73
{
75
PSP_UTILITY_HTMLVIEWER_CONNECTMODE_LAST
= 0,
77
PSP_UTILITY_HTMLVIEWER_CONNECTMODE_MANUAL_ONCE
,
79
PSP_UTILITY_HTMLVIEWER_CONNECTMODE_MANUAL_ALL
80
};
81
82
enum
pspUtilityHtmlViewerOptions
83
{
85
PSP_UTILITY_HTMLVIEWER_OPEN_SCE_START_PAGE
= 0x000001,
87
PSP_UTILITY_HTMLVIEWER_DISABLE_STARTUP_LIMITS
= 0x000002,
89
PSP_UTILITY_HTMLVIEWER_DISABLE_EXIT_DIALOG
= 0x000004,
91
PSP_UTILITY_HTMLVIEWER_DISABLE_CURSOR
= 0x000008,
93
PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_COMPLETE_DIALOG
= 0x000010,
95
PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_START_DIALOG
= 0x000020,
97
PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_DESTINATION_DIALOG
= 0x000040,
99
PSP_UTILITY_HTMLVIEWER_LOCK_DOWNLOAD_DESTINATION_DIALOG
= 0x000080,
101
PSP_UTILITY_HTMLVIEWER_DISABLE_TAB_DISPLAY
= 0x000100,
103
PSP_UTILITY_HTMLVIEWER_ENABLE_ANALOG_HOLD
= 0x000200,
105
PSP_UTILITY_HTMLVIEWER_ENABLE_FLASH
= 0x000400,
107
PSP_UTILITY_HTMLVIEWER_DISABLE_LRTRIGGER
= 0x000800
108
};
109
110
typedef
struct
pspUtilityHtmlViewerParam
111
{
112
pspUtilityDialogCommon
base
;
114
void
*
memaddr
;
116
unsigned
int
memsize
;
118
int
unknown1
;
120
int
unknown2
;
122
char
*
initialurl
;
124
unsigned
int
numtabs
;
126
unsigned
int
interfacemode
;
128
unsigned
int
options
;
130
char
*
dldirname
;
132
char
*
dlfilename
;
134
char
*
uldirname
;
136
char
*
ulfilename
;
138
unsigned
int
cookiemode
;
140
unsigned
int
unknown3
;
142
char
*
homeurl
;
144
unsigned
int
textsize
;
146
unsigned
int
displaymode
;
148
unsigned
int
connectmode
;
150
unsigned
int
disconnectmode
;
152
unsigned
int
memused
;
154
int
unknown4
[10];
155
156
}
pspUtilityHtmlViewerParam
;
157
165
int
sceUtilityHtmlViewerInitStart
(
pspUtilityHtmlViewerParam
*params);
166
170
int
sceUtilityHtmlViewerShutdownStart
(
void
);
171
177
int
sceUtilityHtmlViewerUpdate
(
int
n);
178
186
int
sceUtilityHtmlViewerGetStatus
(
void
);
187
188
#ifdef __cplusplus
189
}
190
#endif
191
192
#endif
src
utility
psputility_htmlviewer.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2