MDataProviderObserver Class Reference
class MDataProviderObserver |
MDataProviderObserver provides a virtual interface for any class to observe any MDataProvider, and provide data receiving services.
Member Functions Documentation
MDataProviderObserverReserved1()
void | MDataProviderObserverReserved1 | ( | ) | [private, pure virtual] |
Intended Usage : Reserved for future expansion.
- Since
- 6.0
MDataProviderObserverReserved2()
void | MDataProviderObserverReserved2 | ( | ) | [private, pure virtual] |
Intended Usage : Reserved for future expansion.
- Since
- 6.0
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
Parameters
HBufC8 & 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
Parameters
const TDesC * 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
Parameters
TInt 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
Parameters
const TDesC & 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
Parameters
const TDesC & aDataType | A reference to a descriptor with the data type |
const TDesC & 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
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.