filesystemuis/memscaneng/serversrc/msengscanner.cpp
branchRCL_3
changeset 20 efe289f793e7
parent 0 6a9f87576119
child 23 18e505e3f370
equal deleted inserted replaced
19:5181328fad28 20:efe289f793e7
   179     // data files that are not scanned in normal way.
   179     // data files that are not scanned in normal way.
   180 
   180 
   181     RResourceReader theReader;  
   181     RResourceReader theReader;  
   182     
   182     
   183     TBool somethingToDo = EFalse;
   183     TBool somethingToDo = EFalse;
   184     if(CMseng::IsInternalDrive(aFsSession, aDrive))
   184     if( CMseng::IsInternalDrive( aFsSession, aDrive )
       
   185         && !CMseng::IsMassStorageDrive( aFsSession, aDrive ) )
   185         {
   186         {
   186         theReader.OpenLC( &iResFile, C_EXTRADATAFILES );
   187         theReader.OpenLC( &iResFile, C_EXTRADATAFILES );
   187         somethingToDo = ETrue;
   188         somethingToDo = ETrue;
   188         }
   189         }
   189     else if(CMseng::IsRemovableDrive(aFsSession, aDrive))
   190     else
   190         {
   191         {
   191         theReader.OpenLC( &iResFile, E_EXTRADATAFILES );
   192         theReader.OpenLC( &iResFile, E_EXTRADATAFILES );
   192         somethingToDo = ETrue;
   193         somethingToDo = ETrue;
   193         }
   194         }
       
   195     
   194     if(somethingToDo)
   196     if(somethingToDo)
   195         {
   197         {
   196         //the first WORD contains the number of elements in the resource
   198         //the first WORD contains the number of elements in the resource
   197         const TInt length = theReader.ReadInt16L();
   199         const TInt length = theReader.ReadInt16L();
   198 
   200