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

Constructor & Destructor Documentation

CMTPDataProviderConfig()

CMTPDataProviderConfig ( ) [private]

Constructor

~CMTPDataProviderConfig()

~CMTPDataProviderConfig ( ) [virtual]

Destructor.

Member Functions Documentation

BoolValue(TParameter)

TBool BoolValue ( TParameter aParam ) const

Parameters

TParameter aParam

ConstructL(TResourceReader &, const TDesC &)

void ConstructL ( 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 & aReader Resource reader opened on the corresponding RSC file.
const TDesC & aFileName

DesC8Value(TParameter)

const TDesC8 & DesC8Value ( TParameter aParam ) const

Parameters

TParameter aParam

DesCValue(TParameter)

const TDesC & DesCValue ( TParameter aParam ) const

Parameters

TParameter aParam

GetArrayValue(TParameter, RArray< TUint > &)

void GetArrayValue ( TParameter aParam,
RArray < TUint > & aArray
) const

Parameters

TParameter aParam
RArray < TUint > & aArray

ModeSupported(TMTPOperationalMode)

TBool ModeSupported ( TMTPOperationalMode aMode ) const

Indicates if the data provider supporte the specified operational mode.

Parameters

TMTPOperationalMode aMode The 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 & aReader The data provider configuration resource file reader.
const TDesC & aFileName The data provider configuration resource file name.

UintValue(TParameter)

TUint UintValue ( TParameter aParam ) 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]