appinstaller/AppinstUi/Plugin/CommonUI/Src/CUIDriveUtils.cpp
branchRCL_3
changeset 26 8b7f4e561641
parent 25 7333d7932ef7
equal deleted inserted replaced
25:7333d7932ef7 26:8b7f4e561641
    20 // INCLUDE FILES
    20 // INCLUDE FILES
    21 #include <StringLoader.h>
    21 #include <StringLoader.h>
    22 #include <pathinfo.h>
    22 #include <pathinfo.h>
    23 #include <data_caging_path_literals.hrh>
    23 #include <data_caging_path_literals.hrh>
    24 #include <SWInstCommonUI.rsg>
    24 #include <SWInstCommonUI.rsg>
    25 //#include <AknCommonDialogs.h> // Removed since CR 548
    25 #include <AknCommonDialogs.h>
    26 //#include <CAknMemorySelectionDialog.h> // Removed since CR 548
    26 #include <CAknMemorySelectionDialog.h>
    27 #ifdef RD_MULTIPLE_DRIVE 
    27 #ifdef RD_MULTIPLE_DRIVE 
    28 //#include <CAknMemorySelectionDialogMultiDrive.h> // Removed since CR 548
    28 #include <CAknMemorySelectionDialogMultiDrive.h>
    29 //#include <AknCommonDialogsDynMem.h> // Removed since CR 548
    29 #include <AknCommonDialogsDynMem.h>
    30 #else
    30 #else
    31 //#include <CAknMemorySelectionDialog.h> // Removed since CR 548
    31 #include <CAknMemorySelectionDialog.h>
    32 #endif //RD_MULTIPLE_DRIVE
    32 #endif //RD_MULTIPLE_DRIVE
    33 
    33 
    34 #include "CUIDriveUtils.h"
    34 #include "CUIDriveUtils.h"
    35 
    35 
    36 
    36 
   117 // Set callback for the wait dialog.
   117 // Set callback for the wait dialog.
   118 // (other items were commented in a header).
   118 // (other items were commented in a header).
   119 // -----------------------------------------------------------------------------
   119 // -----------------------------------------------------------------------------
   120 //
   120 //
   121 TBool CCUIDriveUtils::ShowSelectionDialogL( TInt& aSelectedDrive )
   121 TBool CCUIDriveUtils::ShowSelectionDialogL( TInt& aSelectedDrive )
   122     {  
   122     {       
   123 
       
   124     TBool result( EFalse );
   123     TBool result( EFalse );
   125     
   124     
   126     // Removed since CR 548   
       
   127 /*    
       
   128     aSelectedDrive = 0;    
   125     aSelectedDrive = 0;    
   129 
   126 
   130 #ifdef RD_MULTIPLE_DRIVE           
   127 #ifdef RD_MULTIPLE_DRIVE           
   131     TBool externalDriveFound = EFalse;
   128     TBool externalDriveFound = EFalse;
   132     RFs fs;
   129     RFs fs;
   231         aSelectedDrive = GetCardDriveIndex();        
   228         aSelectedDrive = GetCardDriveIndex();        
   232         }    
   229         }    
   233 
   230 
   234 #endif  //RD_MULTIPLE_DRIVE  
   231 #endif  //RD_MULTIPLE_DRIVE  
   235     CleanupStack::PopAndDestroy( 2 ); // header, memoryDialog
   232     CleanupStack::PopAndDestroy( 2 ); // header, memoryDialog
   236 */ 
   233  
   237     return result;    
   234     return result;    
   238     }    
   235     }    
   239 
   236 
   240 // -----------------------------------------------------------------------------
   237 // -----------------------------------------------------------------------------
   241 // CCUIDriveUtils::IsInternalDrivePresent
   238 // CCUIDriveUtils::IsInternalDrivePresent