phoneapp/phoneuivoipextension/src/cphoneunattendedtransfercmdhandler.cpp
changeset 21 92ab7f8d0eab
parent 4 c84cf270c54f
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
   138             iStateMachine.PhoneEngineInfo()->
   138             iStateMachine.PhoneEngineInfo()->
   139                 SetTransferTargetCommand( fetchContent );
   139                 SetTransferTargetCommand( fetchContent );
   140             iStateMachine.SendPhoneEngineMessage( 
   140             iStateMachine.SendPhoneEngineMessage( 
   141                 MPEPhoneModel::EPEMessageDoUnattendedTransfer );
   141                 MPEPhoneModel::EPEMessageDoUnattendedTransfer );
   142             
   142             
   143             if ( KErrNone == iStateMachine.PhoneEngineInfo()->
   143             ShowWaitingAcceptanceNoteL();
   144                     ErrorInfo().iErrorCode )
       
   145                 {
       
   146                 ShowWaitingAcceptanceNoteL();
       
   147                 }
       
   148             }
   144             }
   149             break;
   145             break;
   150         
   146         
   151         default:
   147         default:
   152             __PHONELOG( EOnlyFatal, PhoneUIVoIPExtension, 
   148             __PHONELOG( EOnlyFatal, PhoneUIVoIPExtension, 
   261     // Set transfer to address to the phoneengine
   257     // Set transfer to address to the phoneengine
   262     iStateMachine.PhoneEngineInfo()->SetTransferTargetCommand( ptr );
   258     iStateMachine.PhoneEngineInfo()->SetTransferTargetCommand( ptr );
   263     iStateMachine.SendPhoneEngineMessage( 
   259     iStateMachine.SendPhoneEngineMessage( 
   264         MPEPhoneModel::EPEMessageDoUnattendedTransfer );
   260         MPEPhoneModel::EPEMessageDoUnattendedTransfer );
   265     
   261     
   266     if ( KErrNone == iStateMachine.PhoneEngineInfo()->ErrorInfo().iErrorCode )
   262     ShowWaitingAcceptanceNoteL();
   267         {
       
   268         ShowWaitingAcceptanceNoteL();
       
   269         }
       
   270     CleanupStack::PopAndDestroy( content );
   263     CleanupStack::PopAndDestroy( content );
   271     }
   264     }
   272 
   265 
   273 
   266 
   274 // ---------------------------------------------------------------------------
   267 // ---------------------------------------------------------------------------