MBrCtlLinkResolver Class Reference
API published in: S60 2nd Ed FP 3
Link against: browserengine.lib
Capability Information
Required Capabilities
None
Exceptions
NetworkServices capability is required for any operation that results in loading content from the network. For example, calling LoadUrlL() with a url parameter that refers to a network location requires NetworkServices capability if the content is not available from the cache or if the specified cache mode prevents loading the cached version.
#include <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
@file BrCtlLinkResolver.h
*
|
Public Member Functions |
virtual TBool | ResolveEmbeddedLinkL (const TDesC &aEmbeddedUrl, const TDesC &aCurrentUrl, TBrCtlLoadContentType aLoadContentType, MBrCtlLinkContent &aEmbeddedLinkContent)=0 |
| Browser plug-in calls this method when embedded link is found.
|
virtual TBool | ResolveLinkL (const TDesC &aUrl, const TDesC &aCurrentUrl, MBrCtlLinkContent &aBrCtlLinkContent)=0 |
| Browser plug-in calls this method when the user requests to load content via selecting a link, or any other way.
|
virtual void | CancelAll ()=0 |
| Cancel all outstanding resolving operations.
|
Member Function Documentation
virtual void MBrCtlLinkResolver::CancelAll | ( | | ) | [pure virtual] |
|
|
Cancel all outstanding resolving operations.
- Returns:
- void
|
virtual TBool MBrCtlLinkResolver::ResolveEmbeddedLinkL | ( | const TDesC & | aEmbeddedUrl, | | | const TDesC & | aCurrentUrl, | | | TBrCtlLoadContentType | aLoadContentType, | | | MBrCtlLinkContent & | aEmbeddedLinkContent | | ) | [pure virtual] |
|
|
Browser plug-in calls this method when embedded link is found.
Used with ECapabilityClientResolveEmbeddedURL - 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 |
- Returns:
- ETrue if the host application resolves the link. EFalse if the host application does not resolve the link.
- Attention:
- The host application makes this request by setting the ECapabilityClientResolveEmbeddedURL function.
|
virtual TBool MBrCtlLinkResolver::ResolveLinkL | ( | const TDesC & | aUrl, | | | const TDesC & | aCurrentUrl, | | | MBrCtlLinkContent & | aBrCtlLinkContent | | ) | [pure virtual] |
|
|
Browser plug-in calls this method when the user requests to load content via selecting a link, or any other way.
Used with ECapabilityClientNotifyURL - Parameters:
-
| 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.
- Attention:
- The host application requests that the browser plug-in call this function to load new content by setting the ECapabilityClientNotifyURL function.
|
The documentation for this class was generated from the following file: