brctlinterface.h File Reference

CreateBrowserControlL ( CCoeControl *, TRect, TUint, TUint, MBrCtlSoftkeysObserver *, MBrCtlLinkResolver *, MBrCtlSpecialLoadObserver *, MBrCtlLayoutObserver *, MBrCtlDialogsProvider *, MBrCtlWindowObserver *, MBrCtlDownloadObserver * )

IMPORT_C CBrCtlInterface *CreateBrowserControlL(CCoeControl *aParent,
TRectaRect,
TUintaBrCtlCapabilities,
TUintaCommandIdBase = TBrCtlDefs::ECommandIdBase,
MBrCtlSoftkeysObserver *aBrCtlSoftkeysObserver = 0,
MBrCtlLinkResolver *aBrCtlLinkResolver = 0,
MBrCtlSpecialLoadObserver *aBrCtlSpecialLoadObserver = 0,
MBrCtlLayoutObserver *aBrCtlLayoutObserver = 0,
MBrCtlDialogsProvider *aBrCtlDialogsProvider = 0,
MBrCtlWindowObserver *aBrCtlWindowObserver = 0,
MBrCtlDownloadObserver *aBrCtlDownloadObserver = 0
)

Creates the browser control.

See also: For a complete list of capability options, see TBrCtlCapabilities

See also: For more information, see TBrCtlCommandId

See also: For more information, see MBrCtlSoftkeysObserver class

See also: For more information, see MBrCtlLinkResolver class.

See also: MBrCtlSpecialLoadObserver class for more details of special load observer.

See also: For more information, see MBrCtlLayoutObserver class

See also: For more information, see MBrCtlDialogsProvider class

See also: For more information, see MBrCtlWindowObserver class

See also: For more information, MBrCtlDownloadObserver class

Parameters
aParentParent window of the browser control
aRectBounding rectangle for the browser control
aBrCtlCapabilitiesDesired capabilities of the browser control. For example, displaying scroll bars, allowing network access for HTTP requests.
aCommandIdBaseBase values for Command IDs for Browser Control. These are added to ensure that each Command ID is unique; Browser Control command IDs must be different from the host application command IDs.
aBrCtlSoftkeysObserverSoftkeys observer. Default: the host application does not update the softkeys.
aBrCtlLinkResolverLink Resolver. Must be provided if ECapabilityClient ResolveEmbeddedURL or ECapabilityClientNotifyURL is set.
aBrCtlSpecialLoadObserverSpecial Load Observer.
aBrCtlLayoutObserverLayout Observer. Default: Non-markup pages are not handled by the browser. Non-HTTP(S) schemes are not handled by the browser. Connection is created by the Proxy Filter.
aBrCtlDialogsProviderDialogs Provider.
aBrCtlWindowObserverWindow Observer.
aBrCtlDownloadObserverDownlaod observer
Return Value
a pointer to CBrCtlInterface class or NULL if this function fails.