contentstorage/casoftwareregistry/s60/src/caprogresscanner.cpp
changeset 112 dbfb5e38438b
parent 107 b34d53f6acdf
child 116 305818acdca4
equal deleted inserted replaced
107:b34d53f6acdf 112:dbfb5e38438b
   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