CRegistryData::CDriveData Class Reference
class CRegistryData::CDriveData : public CBase |
This class manages the entire data of a registered dll.
Inherits from
- CRegistryData::CDriveData
Constructor & Destructor Documentation
CDriveData(TDriveUnit, CRegistryData *)
Member Functions Documentation
AddL(const CDllData *)
Adds the specified
CDllData to this drive data in the registry.
- Pre-condition
- This object is fully constructed.
- Post-condition
- aDll is added to the list of dll on this drive.
Parameters
const CDllData * aDll | The Dll to add to this drive |
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.
DoInternalizeL(RFs &, const TDesC &)
void | DoInternalizeL | ( | RFs & | aFs, |
| const TDesC & | aFileName |
| ) | [private] |
The method internalizes the data from aRegistryStream.
- leave
- KErrNoMemory
- leave
- Some other system-wide error codes as well.
Parameters
RFs & aFs | |
const TDesC & aFileName | The ECOM registry file name. |
ExternalizeL(RFs &, const TDesC &)
void | ExternalizeL | ( | RFs & | aFs, |
| const TDesC & | aDatFileName |
| ) | |
Writes out the state of this
CDriveData to file.
- Pre-condition
- This object is fully constructed.
Parameters
RFs & aFs | A handle to an open file server session. |
const TDesC & aDatFileName | the dat file to persist to |
FindDllIndex(const TUid)
TInt
| FindDllIndex | ( | const TUid | aDllUid | ) | const |
Returns the index of the DLL with this Uid in the
Dll list.
- Pre-condition
- This object is fully constructed.
Parameters
const TUid aDllUid | the UID of to be found DLL. |
InternalizeL(RFs &, const TDesC &)
void | InternalizeL | ( | RFs & | aFs, |
| const TDesC & | aDatFileName |
| ) | |
Restores the state of this
CDriveData from file.
- Pre-condition
- This object is fully constructed.
- Post-condition
- The state of this object is restored to that specified in the file on this drive.
Parameters
RFs & aFs | A handle to an open file server session. |
const TDesC & aDatFileName | the dat file name to internalize from |
NewLC(TDriveUnit, CRegistryData *)
Member Data Documentation
TDll * iDllList
The list of Interface Implementation Collections upon the drive
TDriveUnit
iDrive
A reference to the drive.
TBool
iDriveChanged
indicate the drive has change
TBool
iRegistryChanged
indiacate the registry data on the drive has changed
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.