S60 3rd Edition API Reference: MBrCtlWindowObserver Class Reference
MBrCtlWindowObserver Class Reference
API published in: S60 2nd Ed FP 3
Link against: browserengine.lib
#include <brctlwindowobserver.h>
Detailed Description
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
@file BrCtlWindowObserver.h
*
Member Function Documentation
| virtual CBrCtlInterface* MBrCtlWindowObserver::FindWindowL | ( | const TDesC & | aTargetName | ) | const [pure virtual] |
|
|
|
Find a window by target name.
- Parameters:
-
| aTargetName | name of the window to find |
- Returns:
- Return Value is the browser control associated with the window name
|
| virtual void MBrCtlWindowObserver::HandleWindowCommandL | ( | const TDesC & | aTargetName, | | | TBrCtlWindowCommand | aCommand | | ) | [pure virtual] |
|
|
|
Handle window events such as close/focus etc.
- Parameters:
-
| aTargetName | name of the window to send the event to | | aCommand | Command to pass to the window |
- Returns:
- void
|
| virtual CBrCtlInterface* MBrCtlWindowObserver::OpenWindowL | ( | TDesC & | aUrl, | | | TDesC * | aTargetName, | | | TBool | aUserInitiated, | | | TAny * | aReserved | | ) | [pure virtual] |
|
|
|
Request the host applicaion to open the URL in a new window.
- Parameters:
-
| aUrl | The Url of the request to be done in the new window | | aTargetName | The name of the new window | | aUserInitiated | ETrue if the new window is initiated by a user event (click) | | aMethod | The method to be used for fetching the supplied url | | aContentType | If the method is POST, this is the content type of the data to be posted | | aPostData | If the method is POST, this is the data to be posted | | aBoundary | The boundary used if the content is multipart/form-data | | aReserved | For future use |
- Returns:
- Return Value is the new browser control associated with the new window
|
The documentation for this class was generated from the following file: