CMTPDataProviderConfig Class Reference

class CMTPDataProviderConfig : public CBase

Implements the data provider configurability parameter data interface. Each loaded data provider is required to supply a compiled resource file which implements a number of configurability parameters. These parameters are read accessible only.

Inherits from

  • CMTPDataProviderConfig

Constructor & Destructor Documentation

CMTPDataProviderConfig()

CMTPDataProviderConfig()[private]

Constructor

~CMTPDataProviderConfig()

~CMTPDataProviderConfig()[virtual]

Destructor.

Member Functions Documentation

BoolValue(TParameter)

TBool BoolValue(TParameteraParam)const

Parameters

TParameter aParam

ConstructL(TResourceReader &, const TDesC &)

voidConstructL(TResourceReader &aReader,
const TDesC &aFileName
)[private]

Second phase construction. Reads the data from the reader and configures the instance. See mtpdpinfo.rh for the definition of the MTP_DATA_PROVIDER resource structure.

Parameters

TResourceReader & aReaderResource reader opened on the corresponding RSC file.
const TDesC & aFileName

DesC8Value(TParameter)

const TDesC8 &DesC8Value(TParameteraParam)const

Parameters

TParameter aParam

DesCValue(TParameter)

const TDesC &DesCValue(TParameteraParam)const

Parameters

TParameter aParam

GetArrayValue(TParameter, RArray< TUint > &)

voidGetArrayValue(TParameteraParam,
RArray< TUint > &aArray
)const

Parameters

TParameter aParam
RArray< TUint > & aArray

ModeSupported(TMTPOperationalMode)

TBool ModeSupported(TMTPOperationalModeaMode)const

Indicates if the data provider supporte the specified operational mode.

Parameters

TMTPOperationalMode aModeThe operational mode.

NewL(TResourceReader &, const TDesC &)

CMTPDataProviderConfig *NewL(TResourceReader &aReader,
const TDesC &aFileName
)[static]
CMTPDataProviderConfig factory method.
leave
One of the system wide error codes if a processing failure occurs.

Parameters

TResourceReader & aReaderThe data provider configuration resource file reader.
const TDesC & aFileNameThe data provider configuration resource file name.

UintValue(TParameter)

TUint UintValue(TParameteraParam)const

Parameters

TParameter aParam

Member Data Documentation

TUint8 iEnumerationPhase

TUint8 iEnumerationPhase[private]

TBool iObjectEnumerationPersistent

TBool iObjectEnumerationPersistent[private]

TUint32 iOpaqueResource

TUint32 iOpaqueResource[private]

HBufC * iResourceFileName

HBufC *iResourceFileName[private]

HBufC * iServerImageName

HBufC *iServerImageName[private]

HBufC * iServerName

HBufC *iServerName[private]

TUint32 iSupportedModes

TUint32 iSupportedModes[private]

TMTPDataProviderTypes iType

TMTPDataProviderTypes iType[private]

TInt iVersion

TInt iVersion[private]