CRegistryData::CDllData Class Reference

class CRegistryData::CDllData : public CBase

This class manages the entire data of a registered dll.

Inherits from

Constructor & Destructor Documentation

CDllData(CDriveData *)

CDllData ( CDriveData * iParent ) [private]

Parameters

CDriveData * iParent The parent drive data of this implementation

~CDllData()

~CDllData ( )

Member Functions Documentation

AddL(const CInterfaceData *)

void AddL ( 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 * aInterface The interface to add to this dll

ConstructL()

void ConstructL ( ) [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 &)

void ConstructL ( 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 & aDllName the name of this dll
const TTime & aDllModTime the modified time of this dll
const TUid & aSecondUid Distinguishes between components having the same UID1 (which distinguishes between EXEs and DLLs) UID2 identifies Interface Implementation Collections (collection and collection 3)
const TUid & aThirdUid Identifies 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 &)

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

Parameters

RWriteStream & aStore The stream to store the data in.

InternalizeL(RReadStream &)

void InternalizeL ( 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 & aStore The 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 * iParent A 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 & aDllName the name of this dll
const TTime & aDllModTime the modified time of this dll
const TUid & aSecondUid Identifies type of the DLL. (PLUGIN or PLUGIN3)
const TUid & aThirdUid Identifies a component uniquely.
CDriveData * iParent A pointer to the parent drive data

PopulateAnEntry(TEntry &)

void PopulateAnEntry ( TEntry & aEntry ) const

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

Parameters

TEntry & aEntry An 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 &)

void SetResourceExtL ( 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 & aExt The 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.