#include <mw/brctllinkresolver.h>
| class MBrCtlLinkResolver |
| Public Member Functions | |
|---|---|
| pure virtual void | CancelAll() |
| pure virtual TBool | ResolveEmbeddedLinkL(const TDesC &, const TDesC &, TBrCtlLoadContentType, MBrCtlLinkContent &) |
| pure virtual TBool | ResolveLinkL(const TDesC &, const TDesC &, MBrCtlLinkContent &) |
The MBrCtlLinkResolver class provides the content of an embedded link or the content of a load request that was initiated by the user. This class is used when the host application stores markup text or other information in a private store. For example, this class could be used for e-mail applications.
Usage:
#include <brctllinkresolver.h> @see S60 Platform: Browser Control API Developer's Guide Version 2.0 @lib BrowserEngine.lib @file brctllinkresolver.h*
| void | CancelAll | ( | ) | [pure virtual] |
Returns: void
| TBool | ResolveEmbeddedLinkL | ( | const TDesC & | aEmbeddedUrl, |
| const TDesC & | aCurrentUrl, | |||
| TBrCtlLoadContentType | aLoadContentType, | |||
| MBrCtlLinkContent & | aEmbeddedLinkContent | |||
| ) | [pure virtual] | |||
The host application makes this request by setting the ECapabilityClientResolveEmbeddedURL function.
| Parameter | Description |
|---|---|
| aEmbeddedUrl | The url of the embedded content |
| aCurrentUrl | The url of the current page |
| aLoadContentType | Type of the embedded content Values: One of the following: ELoadContentTypeAny, ELoadContentTypeMarkup, ELoadContentTypeImage ELoadContentTypeCss, ELoadContentTypeJavascript, ELoadContentTypePlug-in |
| aEmbeddedLinkContent | a callback interface to return the embedded content |
Returns: ETrue if the host application resolves the link. EFalse if the host application does not resolve the link.
| TBool | ResolveLinkL | ( | const TDesC & | aUrl, |
| const TDesC & | aCurrentUrl, | |||
| MBrCtlLinkContent & | aBrCtlLinkContent | |||
| ) | [pure virtual] | |||
The host application requests that the browser plug-in call this function to load new content by setting the ECapabilityClientNotifyURL function.
| Parameter | Description |
|---|---|
| aUrl | The requested url |
| aCurrentUrl | The url of the current page |
| aBrCtlLinkContent | a callback interface to return the embedded content |
Returns: ETrue if the host application resolves the link. EFalse if the host application does not resolve the link.