MBrCtlWindowObserver Class Reference

class MBrCtlWindowObserver

The MBrCtlWindowObserver class handles window events such open/close/etc

Usage:

        #include <brctlwindowobserver.h>

 @see S60 Platform: Browser Control API Developer's Guide Version 2.0
 @lib BrowserEngine.lib
 @since 3.0
 @file brctlwindowobserver.h
       
*

Member Functions Documentation

FindWindowL(const TDesC &)

CBrCtlInterface * FindWindowL ( const TDesC & aTargetName ) const [pure virtual]
Find a window by target name
Since
3.0

Parameters

const TDesC & aTargetName name of the window to find

HandleWindowCommandL(const TDesC &, TBrCtlWindowCommand)

void HandleWindowCommandL ( const TDesC & aTargetName,
TBrCtlWindowCommand aCommand
) [pure virtual]
Handle window events such as close/focus etc
Since
3.0

Parameters

const TDesC & aTargetName name of the window to send the event to
TBrCtlWindowCommand aCommand Command to pass to the window

OpenWindowL(TDesC &, TDesC *, TBool, TAny *)

CBrCtlInterface * OpenWindowL ( TDesC & aUrl,
TDesC * aTargetName,
TBool aUserInitiated,
TAny * aReserved
) [pure virtual]
Request the host applicaion to open the URL in a new window
Since
3.0

Parameters

TDesC & aUrl The Url of the request to be done in the new window
TDesC * aTargetName The name of the new window
TBool aUserInitiated ETrue if the new window is initiated by a user event (click)
TAny * aReserved For future use