Location:
mchfparent.h
Link against: chf.lib
class MCHFParent;
Interface for parents of content handlers.
It is used by content handlers for making requests, reporting errors and resolving URI's. An MCHFParent would usually be provided by either the application using CHF or a Content Handler that embeds other content handlers.
Defined in MCHFParent
:
HandleDrawRequestL()
, HandleError()
, HandleGenericRequestL()
, HandleResizeRequestL()
, MCHFParent_Reserved_1()
, MCHFParent_Reserved_2()
, MCHFParent_Reserved_3()
, MCHFParent_Reserved_4()
, ResolveUriL()
virtual HBufC8 *ResolveUriL(CCHFContentHandler &aRequester, const TDesC8 &aRelativeUri)=0;
Resolves relative URIs.
This is called by a content handler if it has a relative URI that it doesn't know how to resolve.
|
|
|
virtual void HandleError(CCHFContentHandler &aSource, TInt aErrorCode)=0;
Handles errors from a content handler.
|
virtual void HandleDrawRequestL(CCHFContentHandler &aRequester)=0;
Handles a request to draw from a content handler.
The request may be handled immediately or it may be queued or silently refused by the parent. Content handlers may call this to indicate they they should be redrawn because their contents have changed.
|
virtual void HandleResizeRequestL(CCHFContentHandler &aRequester, TRect aRequestedSize)=0;
Handles a resize request from a content handler. The request may be handled immediately or it may be queued or silently refused by the parent.
|
virtual TInt HandleGenericRequestL(CCHFContentHandler &aRequester, const TCHFMessage &aRequestMessage, TCHFValue &aRequestResponse)=0;
Handle a generic request from a content handler.
|
|
private: virtual IMPORT_C void MCHFParent_Reserved_4();