OldSchool Library
|
Functions to display Sony's internet browser. More...
Macros | |
#define | OSL_BROWSER_ERROR_MEMORY -1 |
Memory error initializing the browser. | |
#define | OSL_BROWSER_ERROR_INIT -2 |
Error initializing the browser. | |
Functions | |
int | oslBrowserInit (char *url, char *downloadDir, int browserMemory, unsigned int displaymode, unsigned int options, unsigned int interfacemode, unsigned int connectmode) |
Initializes the internet browser. | |
void | oslDrawBrowser () |
Renders the browser display. | |
int | oslGetBrowserStatus () |
Gets the current status of the browser. | |
void | oslEndBrowser () |
Ends the browser session. | |
int | oslBrowserIsActive () |
Checks if the browser is active. | |
Functions to display Sony's internet browser.
int oslBrowserInit | ( | char * | url, |
char * | downloadDir, | ||
int | browserMemory, | ||
unsigned int | displaymode, | ||
unsigned int | options, | ||
unsigned int | interfacemode, | ||
unsigned int | connectmode ) |
Initializes the internet browser.
This function initializes Sony's internet browser with the specified URL and options.
url | The URL to open. |
downloadDir | The default download directory. |
browserMemory | The amount of memory to allocate for the browser. |
displaymode | One of the pspUtilityHtmlViewerDisplayModes . |
options | One of the pspUtilityHtmlViewerOptions . |
interfacemode | One of the pspUtilityHtmlViewerInterfaceModes . |
connectmode | One of the pspUtilityHtmlViewerConnectModes . |
void oslDrawBrowser | ( | ) |
Renders the browser display.
This function handles the drawing/rendering of the browser's display.
int oslGetBrowserStatus | ( | ) |
Gets the current status of the browser.
This function returns the current status of the browser, which can be used to determine if the browser is still active or if there are any errors.
void oslEndBrowser | ( | ) |
Ends the browser session.
This function closes the internet browser and frees any resources allocated during initialization.
int oslBrowserIsActive | ( | ) |
Checks if the browser is active.
This function checks whether the browser is currently active.