--- a/kerneltest/f32test/testfsys/t_tfsys3.cpp Wed Dec 23 11:43:31 2009 +0000
+++ b/kerneltest/f32test/testfsys/t_tfsys3.cpp Thu Jan 07 13:38:45 2010 +0200
@@ -86,37 +86,6 @@
return (KErrNone);
}
-void CTestFileSystem::DriveInfo(TDriveInfo& anInfo,TInt aDriveNumber) const
-//
-// Return drive info - iDriveAtt and iBatteryState are already set
-//
- {
- if(!IsValidLocalDriveMapping(aDriveNumber))
- return;
-
- TLocalDriveCapsV2Buf localDriveCaps;
-
- // is the drive local?
- if (!IsProxyDrive(aDriveNumber))
- {
- // if not valid local drive, use default values in localDriveCaps
- // if valid local drive and not locked, use TBusLocalDrive::Caps() values
- // if valid drive and locked, hard-code attributes
- (void)GetLocalDrive(aDriveNumber).Caps(localDriveCaps);
- }
- else // this need to be made a bit nicer
- {
- CExtProxyDrive* pD = GetProxyDrive(aDriveNumber);
- if(pD)
- {
- (void)pD->Caps(localDriveCaps);
- }
- }
-
- anInfo.iMediaAtt=localDriveCaps().iMediaAtt;
- anInfo.iType=localDriveCaps().iType;
- anInfo.iDriveAtt=localDriveCaps().iDriveAtt;
- }
/**
Reports whether the specified interface is supported - if it is,