CEComCachedDriveInfo Class Reference
class CEComCachedDriveInfo : public CBase |
class to keep track of drive attributes of interest to ECOM.
Constructor & Destructor Documentation
CEComCachedDriveInfo()
CEComCachedDriveInfo | ( | ) | [private] |
Member Functions Documentation
ConstructL(RFs &, TUint32)
void | ConstructL | ( | RFs & | aFs, |
| TUint32 | aDiscoveryDisabledMask |
| ) | [private] |
Standard two-phase construction to complete construction of CEComCachedDriveInfo.
-
leave
- KErrNoMemory if out of memory, or any of the other system wide errors.
Parameters
RFs & aFs | reference to a connected RFs session. |
TUint32 aDiscoveryDisabledMask | bits set indicate the drives contain no plug-ins and need not be scanned. There is a mechanism to allow licensees to specify this mask at ROM build time. |
DriveIsReadOnlyInternalL(const TInt)
TBool
| DriveIsReadOnlyInternalL | ( | const TInt | aDrive | ) | const |
Is EEComDrvAttrReadOnlyInternal attribute set on the given drive?
- leave
- KEComErrDriveNotFound if aDrive is not supposed to be scanned, i.e. drive absent or disabled by licensees or subst or remote. Use TEComCachedDriveInfoIterator::SetPos instead if want to test drive attribute.
Parameters
const TInt aDrive | the drive number |
DriveIsRemovableL(const TInt)
TBool
| DriveIsRemovableL | ( | const TInt | aDrive | ) | const |
Test if the EEComDrvAttrRemovable attribute for the given drive is set.
- leave
- KEComErrDriveNotFound if aDrive is not supposed to be scanned, i.e. drive absent or disabled by licensees or subst or remote. Use TEComCachedDriveInfoIterator::SetPos instead if want to test drive is removable.
Parameters
const TInt aDrive | the drive number |
DriveIsWritableL(const TInt)
TBool
| DriveIsWritableL | ( | const TInt | aDrive | ) | const |
Test if the EEComDrvAttrWritable attribute for the given drive is set.
- leave
- KEComErrDriveNotFound if aDrive is not supposed to be scanned, i.e. drive absent or disabled by licensees or subst or remote. Use TEComCachedDriveInfoIterator::SetPos instead if want to test drive is removable.
Parameters
const TInt aDrive | the drive number |
Member Data Documentation
TFixedArray< TEComDrvFlags, KMaxDrives > iDriveAttr
TBool
iInitialized
TBool
| iInitialized | [private, static] |
TInt
iLastIndex
TInt
| iLastIndex | [private, static] |
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.