MBrCtlLinkResolver Class Reference
#include
<mw/brctllinkresolver.h>
Detailed Description
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
*
Member Function Documentation
CancelAll ( )
void | CancelAll | ( | ) | [pure virtual] |
Cancel all outstanding resolving operations
- Since
- 2.8
ResolveEmbeddedLinkL ( const TDesC &, const TDesC &, TBrCtlLoadContentType, MBrCtlLinkContent & )
Browser plug-in calls this method when embedded link is found. Used with ECapabilityClientResolveEmbeddedURL
- Since
- 2.8
Attention: The host application makes this request by setting the ECapabilityClientResolveEmbeddedURL function.
Parameters |
---|
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 |
- Return Value
- ETrue if the host application resolves the link. EFalse if the host application does not resolve the link.
ResolveLinkL ( const TDesC &, const TDesC &, MBrCtlLinkContent & )
Browser plug-in calls this method when the user requests to load content via selecting a link, or any other way. Used with ECapabilityClientNotifyURL
- Since
- 2.8
Attention: The host application requests that the browser plug-in call this function to load new content by setting the ECapabilityClientNotifyURL function.
Parameters |
---|
aUrl | The requested url |
aCurrentUrl | The url of the current page |
aBrCtlLinkContent | a callback interface to return the embedded content |
- Return Value
- ETrue if the host application resolves the link. EFalse if the host application does not resolve the link.