widgets/widgetinstaller/src/WidgetUIOperationsWatcher.cpp
branchRCL_3
changeset 41 4bd5176e1bc8
parent 37 ac77f89b1d9e
child 46 30342f40acbf
equal deleted inserted replaced
40:8bfb9186a8b8 41:4bd5176e1bc8
   183 // ============================================================================
   183 // ============================================================================
   184 //
   184 //
   185 void CWidgetUIOperationsWatcher::SilentInstallL(
   185 void CWidgetUIOperationsWatcher::SilentInstallL(
   186     RFile& aFile,
   186     RFile& aFile,
   187     const TDesC8& aMIME,
   187     const TDesC8& aMIME,
       
   188     TChar& aDrive,
   188     TRequestStatus& aRequestStatus )
   189     TRequestStatus& aRequestStatus )
   189     {
   190     {
   190     iSilent = ETrue;
   191     iSilent = ETrue;
       
   192     iRfs.CharToDrive(aDrive,iDrive);
   191     InstallL( aFile, aMIME, aRequestStatus );
   193     InstallL( aFile, aMIME, aRequestStatus );
   192     }
   194     }
   193 
   195 
   194 // ============================================================================
   196 // ============================================================================
   195 // CWidgetUIOperationsWatcher::InstallSubfunctionL()
   197 // CWidgetUIOperationsWatcher::InstallSubfunctionL()
  1229             userAnswer = SelectMemoryL();
  1231             userAnswer = SelectMemoryL();
  1230             }
  1232             }
  1231         }
  1233         }
  1232     else
  1234     else
  1233             {
  1235             {
  1234             TDriveUnit selectedDrive(_L("C"));        // in real should be read from install options which are ignore too at the moment.
  1236             TDriveUnit selectedDrive(iDrive);            
  1235             UpdateWidgetBasePathL( selectedDrive );
  1237             UpdateWidgetBasePathL( selectedDrive );
  1236             *(iPropertyValues[EDriveName]) = selectedDrive.Name();
  1238             *(iPropertyValues[EDriveName]) = selectedDrive.Name();
  1237             }
  1239             }
  1238 
  1240 
  1239     return userAnswer;
  1241     return userAnswer;