MBrCtlLinkResolver Class Reference

class MBrCtlLinkResolver

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 Functions Documentation

CancelAll()

voidCancelAll()[pure virtual]
Cancel all outstanding resolving operations
Since
2.8

ResolveEmbeddedLinkL(const TDesC &, const TDesC &, TBrCtlLoadContentType, MBrCtlLinkContent &)

TBool ResolveEmbeddedLinkL(const TDesC &aEmbeddedUrl,
const TDesC &aCurrentUrl,
TBrCtlLoadContentTypeaLoadContentType,
MBrCtlLinkContent &aEmbeddedLinkContent
)[pure virtual]
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

const TDesC & aEmbeddedUrlThe url of the embedded content
const TDesC & aCurrentUrlThe url of the current page
TBrCtlLoadContentType aLoadContentTypeType of the embedded content Values: One of the following: ELoadContentTypeAny, ELoadContentTypeMarkup, ELoadContentTypeImage ELoadContentTypeCss, ELoadContentTypeJavascript, ELoadContentTypePlug-in
MBrCtlLinkContent & aEmbeddedLinkContenta callback interface to return the embedded content

ResolveLinkL(const TDesC &, const TDesC &, MBrCtlLinkContent &)

TBool 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
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

const TDesC & aUrlThe requested url
const TDesC & aCurrentUrlThe url of the current page
MBrCtlLinkContent & aBrCtlLinkContenta callback interface to return the embedded content