contentstorage/casoftwareregistry/s60/src/caprogresscanner.cpp
changeset 121 0b3699f6c654
parent 115 3ab5c078b490
child 119 50e220be30d1
equal deleted inserted replaced
115:3ab5c078b490 121:0b3699f6c654
    74 void CCaProgresScanner::StartOperationHandler( TUint aKey,
    74 void CCaProgresScanner::StartOperationHandler( TUint aKey,
    75         const CSifOperationStartData& aStartData )
    75         const CSifOperationStartData& aStartData )
    76     {
    76     {
    77     //TODO: temporary solution. Some error in scr was found
    77     //TODO: temporary solution. Some error in scr was found
    78     if( aStartData.OperationPhase() == EUninstalling 
    78     if( aStartData.OperationPhase() == EUninstalling 
    79             || aStartData.OperationPhase() == EInstalling )
    79             || aStartData.OperationPhase() == EInstalling 
       
    80             || aStartData.OperationPhase() == 0)
    80         {
    81         {
    81         TRAP_IGNORE(
    82         TRAP_IGNORE(
    82                 iComponentId = iSoftwareRegistry.GetComponentIdL(
    83                 iComponentId = iSoftwareRegistry.GetComponentIdL(
    83                         aStartData.GlobalComponentId(), 
    84                         aStartData.GlobalComponentId(), 
    84                         aStartData.SoftwareType() );
    85                         aStartData.SoftwareType() );
   133 //
   134 //
   134 void CCaProgresScanner::EndOperationL( TInt aError )
   135 void CCaProgresScanner::EndOperationL( TInt aError )
   135     {
   136     {
   136     if( aError == KErrNone )
   137     if( aError == KErrNone )
   137         {
   138         {
   138         iObserver->progressChange( iComponentId, 100 );
   139         iObserver->progressChange( iComponentId, 101 );
   139         }
   140         }
   140     else
   141     else
   141         {
   142         {
   142         //information for observer that uninstallation was failed
   143         //information for observer that uninstallation was failed
   143         iObserver->progressChange( iComponentId, aError ); 
   144         iObserver->progressChange( iComponentId, aError );