MDataProviderObserver Class Reference
#include
<mw/mdataproviderobserver.h>
class MDataProviderObserver |
Detailed Description
MDataProviderObserver provides a virtual interface for any class to observe any MDataProvider, and provide data receiving services. Deprecated
Member Function Documentation
ProcessDataL ( HBufC8 & )
void | ProcessDataL | ( | HBufC8 & | aBuffer | ) | [pure virtual] |
Intended Usage : Called by the data provider to request processing of the data within the buffer.
- Since
- 6.0
Parameter | Description | aBuffer | A reference to the buffer with the data to process |
SetBaseUriL ( const TDesC * )
void | SetBaseUriL | ( | const TDesC * | aBaseUri | ) | [pure virtual] |
Intended Usage : Set the URI that the DataProvider considers the base URI for the current data.
- Since
- 6.0
Parameter | Description | aBaseUri | A const pointer to the uri |
SetDataExpected ( TInt )
void | SetDataExpected | ( | TInt | aAmountExpected | ) | [pure virtual] |
Intended Usage : The report of how many bytes of data is expected to be passed to ProcessDataL, enabling age reporting capabilities.
- Since
- 6.0
Parameter | Description | aAmountExpected | An integer value of the expected amount |
SetDocumentTypeL ( const TDesC & )
void | SetDocumentTypeL | ( | const TDesC & | aDataType | ) | [pure virtual] |
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.
- Since
- 6.0
Parameter | Description | aDataType | A reference to a descriptor with the data type |
SetDocumentTypeL ( const TDesC &, const TDesC & )
void | SetDocumentTypeL | ( | const TDesC & | aDataType, |
| const TDesC & | aContentType |
| ) | [pure virtual] |
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.
- Since
- 6.0
Parameter | Description | aDataType | A reference to a descriptor with the data type |
aContentType | A reference to a descriptor with the content type |
SetStatus ( TInt )
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.
- Since
- 6.0
Parameter | Description | aStatusCode | The status of the data provider |