[ROOT] --> C++Client

class PCREBrowser
    inherited from PCRESynchronized as public

Author:
Copyright (C) 1997 MAS, All Rights Reserved.

Version:
2.4.0

Source:
MobileApps\PCRE\CppClient\Include\browser.h

Constructors Index

PCREBrowser
Create a browser object. This will allow you to open URL's programatically, using a variety of Web-browsers.


Methods Index

IsExplorer
Test to see which type of browser this object will open
IsNetscape
Test to see which type of browser this object will open
IsOther
Test to see which type of browser this object will open
Navigate
Open the browser window, show the given URL.
SetBrowserExecutable
Set the program to be used if the object will be using BROWSER_OTHER
SetBrowserType
Set the type of browser that will be used.


Constructors

PCREBrowser

 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.

Parameters:
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.

Methods

IsNetscape

 BOOL IsNetscape ( ) ;

Determine if the browser type is Netscape.

Return:
True if Netscape will be used; false otherwise.

IsExplorer

 BOOL IsExplorer ( ) ;

Determine if the browser type is Internet Explorer.

Return:
True if Internet Explorer will be used; false otherwise.

IsOther

 BOOL IsOther ( ) ;

Determine if the browser is a type other than IE or Netscape.

Return:
True if a custom browser will be used; false otherwise.

SetBrowserType

 void SetBrowserType ( PCREBrowserType type ) ;

Set the type of browser to use.

Parameters:
type One of BROWSER_NETSCAPE, BROWSER_EXPLORER, BROWSER_OTHER

SetBrowserExecutable

 void SetBrowserExecutable ( char * path ) ;

Set the program to be used if the object will be using BROWSER_OTHER.

Parameters:
path The full name, including path, of the custom browser to use.

Navigate

 void Navigate ( char * url ) ;

Open the browser window and show the given URL.

Parameters:
url The URL to display.

Copyright (c) 2000 Dynalivery Corp.