CRegistryData::CDllData Class Reference

class CRegistryData::CDllData : public CBase

This class manages the entire data of a registered dll.

Inherits from

  • CRegistryData::CDllData

Constructor & Destructor Documentation

CDllData(CDriveData *)

CDllData(CDriveData *iParent)[private]

Parameters

CDriveData * iParentThe parent drive data of this implementation

~CDllData()

~CDllData()

Member Functions Documentation

AddL(const CInterfaceData *)

voidAddL(const CInterfaceData *aInterface)
Adds the specified interface to this dll in the registry.
Pre-condition
This object is fully constructed.
Post-condition
aInterface is added to the list of interfaces in this dll.

Parameters

const CInterfaceData * aInterfaceThe interface to add to this dll

ConstructL()

voidConstructL()[private]
Standard second phase construction function.
Pre-condition
This object is fully constructed.
Post-condition
This object is fully constructed and initialized.

ConstructL(const TDesC &, const TTime &, const TUid &, const TUid &)

voidConstructL(const TDesC &aDllName,
const TTime &aDllModTime,
const TUid &aSecondUid,
const TUid &aThirdUid
)[private]

See CDllData* NewLC

Standard second phase construction function with parameter.
Pre-condition
This object is fully constructed.
Post-condition
This object is fully constructed and initialized.

Parameters

const TDesC & aDllNamethe name of this dll
const TTime & aDllModTimethe modified time of this dll
const TUid & aSecondUidDistinguishes between components having the same UID1 (which distinguishes between EXEs and DLLs) UID2 identifies Interface Implementation Collections (collection and collection 3)
const TUid & aThirdUidIdentifies a component uniquely. In order to ensure that each binary that needs a distinguishing UID is assigned a genuinely unique value. Symbian manages UID allocation through central database.

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStore)const
Writes out the state of this CDllData to aStore.
Pre-condition
This object is fully constructed.

Parameters

RWriteStream & aStoreThe stream to store the data in.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStore)
Restores this CDllData to the state specified in aStore.
Pre-condition
This object is fully constructed.
Post-condition
The state of this object is restored to that specified in aStore.

Parameters

RReadStream & aStoreThe stream to read the data from.

NewLC(CDriveData *)

CDllData *NewLC(CDriveData *iParent)[static]
Creates a new CDllData object using aParent and leaves it on the CleanupStack
Post-condition
This object is fully constructed and initialized and on the CleanupStack.

Parameters

CDriveData * iParentA pointer to the parent drive data

NewLC(const TDesC &, const TTime &, const TUid &, const TUid &, CDriveData *)

CDllData *NewLC(const TDesC &aDllName,
const TTime &aDllModTime,
const TUid &aSecondUid,
const TUid &aThirdUid,
CDriveData *iParent
)[static]
Creates a new CDllData object using aEntry and leaves it on the CleanupStack
Post-condition
This object is fully constructed and initialized and on the CleanupStack.

Parameters

const TDesC & aDllNamethe name of this dll
const TTime & aDllModTimethe modified time of this dll
const TUid & aSecondUidIdentifies type of the DLL. (PLUGIN or PLUGIN3)
const TUid & aThirdUidIdentifies a component uniquely.
CDriveData * iParentA pointer to the parent drive data

PopulateAnEntry(TEntry &)

voidPopulateAnEntry(TEntry &aEntry)const

Populate a caller-supplied TEntry instance with the data from this dll.

Parameters

TEntry & aEntryAn entry to be populated (destination)

ProcessSecurityCheckL()

TBool ProcessSecurityCheckL()
Check whether security check has been performed if not go retrieve it.
Pre-condition
This object is fully constructed.

SaveSecurityInfoL()

TBool SaveSecurityInfoL()
Set the capability,the VID and do the Security check for this DLL.
Pre-condition
This object is fully constructed.

SetResourceExtL(const TDesC &)

voidSetResourceExtL(const TDesC &aExt)
Sets the resource extension for the plugin. Not set for read only internal drives.
Pre-condition
This object is fully constructed.
Post-condition
aExt is added to the object.

Parameters

const TDesC & aExtThe resource extension to set

Member Data Documentation

TCapabilitySet iCapSet

TCapabilitySet iCapSet

Capability set of this dll

CEComEntry * iDllEntry

CEComEntry *iDllEntry

Information on the DLL

RInterfaceList * iIfList

RInterfaceList *iIfList

The list of interfaces within the dll

CDriveData * iParent

CDriveData *iParent

A pointer to the parent drive data.

HBufC * iRscFileExtension

HBufC *iRscFileExtension

The plugin resource file extension - not set for plugins residing on RO Internal drives

TBool iSecurityChecked

TBool iSecurityChecked

A flag to tell if the DLL's security has been previously checked or not.

TVendorId iVid

TVendorId iVid

The VendorId of the DLL.