Location:
mchfdiscoveryservice.h
Link against: chf.lib
class MCHFDiscoveryService;
Description
Base interface used for the CHF discovery service.
This is also the interface that must be provided by applications that use the discovery service. This allows applications to hook into the discovery service and provide CCHFDataSupplier and CCHFContentHandler objects directly.
Members
Defined in MCHFDiscoveryService:
ContentHandlerL(), DataSupplierL(), MCHFDiscoveryService_Reserved_1(), MCHFDiscoveryService_Reserved_2(), MCHFDiscoveryService_Reserved_3(), MCHFDiscoveryService_Reserved_4()
virtual CCHFDataSupplier *DataSupplierL(const TDesC8 &aUri, TUint aBufferSizeInBytes)=0;
Description
Finds a data supplier for a given URI.
Parameters
const TDesC8 &aUri |
A URI of the resource that you wish the data supplier to retrieve. |
TUint aBufferSizeInBytes |
The size of the buffer that the data supplier should use when retrieving data |
|
Return value
CCHFDataSupplier * |
A pointer to the data supplier that was found. NULL is returned if no data supplier could be found |
|
virtual CCHFContentHandler *ContentHandlerL(const TCHFContentHandlerParams &aContentHandlerParams)=0;
Description
Finds a content handler based on the Content Type part of passed in parameters.
Parameters
const TCHFContentHandlerParams &aContentHandlerParams |
A class encapsulating the initial parameters of a content handler. The data supplier is passed across so that the new content handler owns it. It should only do this if it sucessfully creates the content handler. If a content handler could not be found or the function leaves, then the data supplier is still owned by the caller. |
|
Return value
CCHFContentHandler * |
A pointer to the content handler that was found. NULL is returned if no content handler could be found. |
|
private: virtual IMPORT_C void MCHFDiscoveryService_Reserved_1();
Description
private: virtual IMPORT_C void MCHFDiscoveryService_Reserved_2();
Description
private: virtual IMPORT_C void MCHFDiscoveryService_Reserved_3();
Description
private: virtual IMPORT_C void MCHFDiscoveryService_Reserved_4();
Description