CImplementationInformationType Class Reference

class CImplementationInformationType : public CBase

Class used to manage various information about an implementation which is stored in resource files.

CImplementationInformation

Inherits from

  • CImplementationInformationType

Constructor & Destructor Documentation

CImplementationInformationType()

CImplementationInformationType ( ) [private]

Default constructor.

This member is internal and not intended for use.

~CImplementationInformationType()

IMPORT_C ~CImplementationInformationType ( )

Destructor.

Frees all resources owned by the object prior to its destruction.

Member Functions Documentation

DataType()

IMPORT_C const TDesC8 & DataType ( ) const

Returns the data type supported by the implementation.

DisplayName()

IMPORT_C const TDesC & DisplayName ( ) const

Returns the display name of the implementation.

Drive()

IMPORT_C TDriveUnit Drive ( )

Returns the drive location information for the implementation.

ImplementationUid()

IMPORT_C TUid ImplementationUid ( ) const

Returns the implementation UID.

NewL()

CImplementationInformationType * NewL ( ) [static]

Constructs a new implementation information object.

NewLC()

CImplementationInformationType * NewLC ( ) [static]

Constructs a new implementation information object. The new object is left on the clean-up stack.

OpaqueData()

IMPORT_C const TDesC8 & OpaqueData ( ) const

Returns the opaque binary data for the implementation.

SetDataL(TUid, TInt, const TDesC &, const TDesC8 &, const TDesC8 &, TDriveUnit)

void SetDataL ( TUid aImplementationUid,
TInt aVersion,
const TDesC & aDisplayName,
const TDesC8 & aDataType,
const TDesC8 & aOpaqueData,
TDriveUnit aDrive
)

Sets the contents of the CImplementationInformationType object.

Use this variant of SetDataL() if the plugin is installed on a drive other than the default, which is zero.

Parameters

TUid aImplementationUid The unique ID of the implementation.
TInt aVersion The version number of the implementation.
const TDesC & aDisplayName The display name of the implementation.
const TDesC8 & aDataType The data type supported by the implementation.
const TDesC8 & aOpaqueData Additional data for this implementation. This data is not used by the ECom framework.
TDriveUnit aDrive The drive on which the plugin is installed.

Version()

IMPORT_C TInt Version ( ) const

Returns the version number of the implementation.

Member Data Documentation

HBufC8 * iDataType

HBufC8 * iDataType [private]

HBufC * iDisplayName

HBufC * iDisplayName [private]

TDriveUnit iDrive

TDriveUnit iDrive [private]

TUid iImplementationUid

TUid iImplementationUid [private]

HBufC8 * iOpaqueData

HBufC8 * iOpaqueData [private]

TInt iVersion

TInt iVersion [private]