pspsdk-1.0+beta2
psputility_htmlviewer.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pspUtilityHtmlViewerParam

Typedefs

typedef struct
pspUtilityHtmlViewerParam 
pspUtilityHtmlViewerParam

Enumerations

enum  pspUtilityHtmlViewerDisconnectModes { PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_ENABLE = 0, PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_DISABLE, PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_CONFIRM }
enum  pspUtilityHtmlViewerInterfaceModes { PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_FULL = 0, PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_LIMITED, PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_NONE }
enum  pspUtilityHtmlViewerCookieModes { PSP_UTILITY_HTMLVIEWER_COOKIEMODE_DISABLED = 0, PSP_UTILITY_HTMLVIEWER_COOKIEMODE_ENABLED, PSP_UTILITY_HTMLVIEWER_COOKIEMODE_CONFIRM, PSP_UTILITY_HTMLVIEWER_COOKIEMODE_DEFAULT }
enum  pspUtilityHtmlViewerTextSizes { PSP_UTILITY_HTMLVIEWER_TEXTSIZE_LARGE = 0, PSP_UTILITY_HTMLVIEWER_TEXTSIZE_NORMAL, PSP_UTILITY_HTMLVIEWER_TEXTSIZE_SMALL }
enum  pspUtilityHtmlViewerDisplayModes { PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_NORMAL = 0, PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_FIT, PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_SMART_FIT }
enum  pspUtilityHtmlViewerConnectModes { PSP_UTILITY_HTMLVIEWER_CONNECTMODE_LAST = 0, PSP_UTILITY_HTMLVIEWER_CONNECTMODE_MANUAL_ONCE, PSP_UTILITY_HTMLVIEWER_CONNECTMODE_MANUAL_ALL }
enum  pspUtilityHtmlViewerOptions {
  PSP_UTILITY_HTMLVIEWER_OPEN_SCE_START_PAGE = 0x000001, PSP_UTILITY_HTMLVIEWER_DISABLE_STARTUP_LIMITS = 0x000002, PSP_UTILITY_HTMLVIEWER_DISABLE_EXIT_DIALOG = 0x000004, PSP_UTILITY_HTMLVIEWER_DISABLE_CURSOR = 0x000008,
  PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_COMPLETE_DIALOG = 0x000010, PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_START_DIALOG = 0x000020, PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_DESTINATION_DIALOG = 0x000040, PSP_UTILITY_HTMLVIEWER_LOCK_DOWNLOAD_DESTINATION_DIALOG = 0x000080,
  PSP_UTILITY_HTMLVIEWER_DISABLE_TAB_DISPLAY = 0x000100, PSP_UTILITY_HTMLVIEWER_ENABLE_ANALOG_HOLD = 0x000200, PSP_UTILITY_HTMLVIEWER_ENABLE_FLASH = 0x000400, PSP_UTILITY_HTMLVIEWER_DISABLE_LRTRIGGER = 0x000800
}

Functions

int sceUtilityHtmlViewerInitStart (pspUtilityHtmlViewerParam *params)
 Init the html viewer.
int sceUtilityHtmlViewerShutdownStart (void)
 Shutdown html viewer.
int sceUtilityHtmlViewerUpdate (int n)
 Refresh the GUI for html viewer.
int sceUtilityHtmlViewerGetStatus (void)
 Get the current status of the html viewer.

Typedef Documentation

Enumeration Type Documentation

Enumerator:
PSP_UTILITY_HTMLVIEWER_CONNECTMODE_LAST 

Auto connect to last used connection.

PSP_UTILITY_HTMLVIEWER_CONNECTMODE_MANUAL_ONCE 

Manually select the connection (once)

PSP_UTILITY_HTMLVIEWER_CONNECTMODE_MANUAL_ALL 

Manually select the connection (every time)

Enumerator:
PSP_UTILITY_HTMLVIEWER_COOKIEMODE_DISABLED 

Disable accepting cookies.

PSP_UTILITY_HTMLVIEWER_COOKIEMODE_ENABLED 

Enable accepting cookies.

PSP_UTILITY_HTMLVIEWER_COOKIEMODE_CONFIRM 

Confirm accepting a cookie every time.

PSP_UTILITY_HTMLVIEWER_COOKIEMODE_DEFAULT 

Use the system default for accepting cookies.

Enumerator:
PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_ENABLE 

Enable automatic disconnect.

PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_DISABLE 

Disable automatic disconnect.

PSP_UTILITY_HTMLVIEWER_DISCONNECTMODE_CONFIRM 

Confirm disconnection.

Enumerator:
PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_NORMAL 

Normal display.

PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_FIT 

Fit display.

PSP_UTILITY_HTMLVIEWER_DISPLAYMODE_SMART_FIT 

Smart fit display.

Enumerator:
PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_FULL 

Full user interface.

PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_LIMITED 

Limited user interface.

PSP_UTILITY_HTMLVIEWER_INTERFACEMODE_NONE 

No user interface.

Enumerator:
PSP_UTILITY_HTMLVIEWER_OPEN_SCE_START_PAGE 

Open SCE net start page.

PSP_UTILITY_HTMLVIEWER_DISABLE_STARTUP_LIMITS 

Disable startup limitations.

PSP_UTILITY_HTMLVIEWER_DISABLE_EXIT_DIALOG 

Disable exit confirmation dialog.

PSP_UTILITY_HTMLVIEWER_DISABLE_CURSOR 

Disable cursor.

PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_COMPLETE_DIALOG 

Disable download completion confirmation dialog.

PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_START_DIALOG 

Disable download confirmation dialog.

PSP_UTILITY_HTMLVIEWER_DISABLE_DOWNLOAD_DESTINATION_DIALOG 

Disable save destination confirmation dialog.

PSP_UTILITY_HTMLVIEWER_LOCK_DOWNLOAD_DESTINATION_DIALOG 

Disable modification of the download destination.

PSP_UTILITY_HTMLVIEWER_DISABLE_TAB_DISPLAY 

Disable tab display.

PSP_UTILITY_HTMLVIEWER_ENABLE_ANALOG_HOLD 

Hold analog controller when HOLD button is down.

PSP_UTILITY_HTMLVIEWER_ENABLE_FLASH 

Enable Flash Player.

PSP_UTILITY_HTMLVIEWER_DISABLE_LRTRIGGER 

Disable L/R triggers for back/forward.

Enumerator:
PSP_UTILITY_HTMLVIEWER_TEXTSIZE_LARGE 

Large text size.

PSP_UTILITY_HTMLVIEWER_TEXTSIZE_NORMAL 

Normal text size.

PSP_UTILITY_HTMLVIEWER_TEXTSIZE_SMALL 

Small text size.

Function Documentation

int sceUtilityHtmlViewerGetStatus ( void  )

Get the current status of the html viewer.

Returns
2 if the GUI is visible (you need to call sceUtilityHtmlViewerGetStatus). 3 if the user cancelled the dialog, and you need to call sceUtilityHtmlViewerShutdownStart. 4 if the dialog has been successfully shut down.
int sceUtilityHtmlViewerInitStart ( pspUtilityHtmlViewerParam params)

Init the html viewer.

Parameters
params- html viewer parameters
Returns
0 on success, < 0 on error.
int sceUtilityHtmlViewerShutdownStart ( void  )

Shutdown html viewer.

int sceUtilityHtmlViewerUpdate ( int  n)

Refresh the GUI for html viewer.

Parameters
n- unknown, pass 1