[ROOT] --> C++Client
PCREBrowser
IsExplorer
IsNetscape
IsOther
Navigate
SetBrowserExecutable
SetBrowserType
PCREBrowser ( PCREBrowserType browserType = BROWSER_NETSCAPE ) ;
Create a browser object and initialize browser type. This allows you to open URLs programatically, using a variety of Web-browsers.
| browserType | Specifies the browser to use. If no argument is provided, browser type defaults to NETSCAPE.
Permissable values are BROWSER_NETSCAPE, BROWSER_EXPLORER, and BROWSER_OTHER. |
BOOL IsNetscape ( ) ;
Determine if the browser type is Netscape.
BOOL IsExplorer ( ) ;
Determine if the browser type is Internet Explorer.
BOOL IsOther ( ) ;
Determine if the browser is a type other than IE or Netscape.
void SetBrowserType ( PCREBrowserType type ) ;
Set the type of browser to use.
| type | One of BROWSER_NETSCAPE, BROWSER_EXPLORER, BROWSER_OTHER |
void SetBrowserExecutable ( char * path ) ;
Set the program to be used if the object will be using BROWSER_OTHER.
| path | The full name, including path, of the custom browser to use. |
void Navigate ( char * url ) ;
Open the browser window and show the given URL.
| url | The URL to display. |