userlibandfileserver/fileserver/sfat32/sl_scan32.cpp
changeset 102 ef2a444a7410
parent 90 947f0dc9f7a8
child 109 b3a1d9898418
equal deleted inserted replaced
90:947f0dc9f7a8 102:ef2a444a7410
    92     }
    92     }
    93 
    93 
    94 //----------------------------------------------------------------------------------------------------
    94 //----------------------------------------------------------------------------------------------------
    95 /**
    95 /**
    96     FAT type-agnostic parser. Reads whole FAT and sets up a bit vector.
    96     FAT type-agnostic parser. Reads whole FAT and sets up a bit vector.
    97     for FAT12/16 it's OK, because the FAT12/16 is fully cached.
    97     For FAT12/16 it's OK, because the FAT12/16 is fully cached.
    98 */
    98 */
    99 void CScanDrive::DoParseFatL()
    99 void CScanDrive::DoParseFatL()
   100     {
   100     {
   101     const TInt KMaxClusters = MaxClusters();
   101     const TInt KMaxClusters = MaxClusters();
   102 
   102 
   253 }
   253 }
   254 
   254 
   255 
   255 
   256 //----------------------------------------------------------------------------------------------------
   256 //----------------------------------------------------------------------------------------------------
   257 /**
   257 /**
   258     Start the scanner. The this calss description about what it actually does.
   258     Starts the scanner.
   259     @param  aMode specifies the operational mode.
   259     
       
   260     @param	aMode	Specifies the operational mode.
   260 */
   261 */
   261 void CScanDrive::StartL(TScanDriveMode aMode)
   262 void CScanDrive::StartL(TScanDriveMode aMode)
   262 	{
   263 	{
   263 	__PRINT2(_L("CScanDrive::StartL(%d), drive:%d"), aMode, iMount->DriveNumber());
   264 	__PRINT2(_L("CScanDrive::StartL(%d), drive:%d"), aMode, iMount->DriveNumber());
   264     iScanDriveMode = aMode;
   265     iScanDriveMode = aMode;
   944 //----------------------------------------------------------------------------------------------------
   945 //----------------------------------------------------------------------------------------------------
   945 /**
   946 /**
   946     Read the "Rugged FAT" ID, stored in reserved2 in the Dos entry or associated with the Dos entry of the 
   947     Read the "Rugged FAT" ID, stored in reserved2 in the Dos entry or associated with the Dos entry of the 
   947     Entry at the position passed in. This is used to find which version of two matching entries should be kept.
   948     Entry at the position passed in. This is used to find which version of two matching entries should be kept.
   948 
   949 
   949 
       
   950     @param aVFatPos Position of an entry to read ID from
   950     @param aVFatPos Position of an entry to read ID from
   951     @leave System wide error codes
   951     @leave System wide error codes
   952     @return The ID found in reserved2 field of dos entry 
   952     @return The ID found in reserved2 field of dos entry 
   953 */
   953 */
   954 TInt CScanDrive::GetReservedidL(TEntryPos aVFatPos)
   954 TInt CScanDrive::GetReservedidL(TEntryPos aVFatPos)