#include <MDataProviderObserver.h>
Class MDataProviderObserver
Interface status: |
deprecated |
|
class MDataProviderObserver;
Description
MDataProviderObserver provides a virtual interface for any class to observe any MDataProvider, and provide data receiving
services.
Members
Defined in MDataProviderObserver
:
Member functions
Interface status: |
deprecated |
Inherited from: MDataProviderObserver |
virtual void ProcessDataL(HBufC8 &aBuffer)=0;
Description
Intended Usage : Called by the data provider to request processing of the data within the buffer.
Parameters
HBufC8 &aBuffer |
A reference to the buffer with the data to process
|
|
Interface status: |
deprecated |
Inherited from: MDataProviderObserver |
virtual void SetStatus(TInt aStatusCode=KErrNone)=0;
Description
Intended Usage : Called by the data provider to report its status to its observer. A status code which is either a standard
error condition, (i.e. < 0), a percentage complete value, ( 0 > aStatus < 100), OR a TPluginStatus value.
Parameters
TInt aStatusCode |
The status of the data provider
|
|
SetDocumentTypeL(const TDesC &)
Interface status: |
deprecated |
Inherited from: MDataProviderObserver |
virtual void SetDocumentTypeL(const TDesC &aDataType)=0;
Description
Intended Usage : The request to construct a CDataHandler to process data of aDataType, where aDataType is a string to match
against some plugins declared data handling ability.
Parameters
const TDesC16 &aDataType |
A reference to a descriptor with the data type
|
|
SetDocumentTypeL(const TDesC &,const TDesC &)
Interface status: |
deprecated |
Inherited from: MDataProviderObserver |
virtual void SetDocumentTypeL(const TDesC &aDataType, const TDesC &aContentType)=0;
Description
Intended Usage : The request to construct a CDataHandler for aDataType with non default document encoding where aDataType
is a string to match against some plugins declared data handling ability.
Parameters
const TDesC16 &aDataType |
A reference to a descriptor with the data type
|
const TDesC16 &aContentType |
A reference to a descriptor with the content type
|
|
Interface status: |
deprecated |
Inherited from: MDataProviderObserver |
virtual void SetDataExpected(TInt aAmountExpected)=0;
Description
Intended Usage : The report of how many bytes of data is expected to be passed to ProcessDataL, enabling age reporting capabilities.
Parameters
TInt aAmountExpected |
An integer value of the expected amount
|
|
SetBaseUriL(const TDesC *)
Interface status: |
deprecated |
Inherited from: MDataProviderObserver |
virtual void SetBaseUriL(const TDesC *aBaseUri)=0;
Description
Intended Usage : Set the URI that the DataProvider considers the base URI for the current data.
Parameters
const TDesC16 *aBaseUri |
A const pointer to the uri
|
|
MDataProviderObserverReserved1()
Interface status: |
deprecated |
Inherited from: MDataProviderObserver |
private: virtual void MDataProviderObserverReserved1()=0;
Description
Intended Usage : Reserved for future expansion.
MDataProviderObserverReserved2()
Interface status: |
deprecated |
Inherited from: MDataProviderObserver |
private: virtual void MDataProviderObserverReserved2()=0;
Description
Intended Usage : Reserved for future expansion.