contentstorage/casoftwareregistry/s60/src/caprogresscanner.cpp
changeset 115 3ab5c078b490
parent 109 e0aa398e6810
child 116 305818acdca4
equal deleted inserted replaced
109:e0aa398e6810 115:3ab5c078b490
   113 void CCaProgresScanner::UpdateProgressL(
   113 void CCaProgresScanner::UpdateProgressL(
   114         const CSifOperationProgressData& aProgressData )
   114         const CSifOperationProgressData& aProgressData )
   115     {
   115     {
   116     if( aProgressData.Phase() == EUninstalling )
   116     if( aProgressData.Phase() == EUninstalling )
   117         {
   117         {
   118         iObserver->progressChange( iComponentId, aProgressData.CurrentProgess() );
   118         TInt progress = (aProgressData.CurrentProgess()*100)/aProgressData.Total();
       
   119         iObserver->progressChange( iComponentId, progress );
   119         }
   120         }
   120     else
   121     else
   121     	{
   122     	{
   122         //TODO: temporary solution. Some error in scr was found
   123         //TODO: temporary solution. Some error in scr was found
   123         //Progress should be remove for different operation
   124         //Progress should be remove for different operation