phoneapp/phoneuivoipextension/src/cphonestateidlevoip.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
   122     __LOGMETHODSTARTEND( PhoneUIVoIPExtension, "CPhoneStateIdleVoIP::HandleCommandL() ");
   122     __LOGMETHODSTARTEND( PhoneUIVoIPExtension, "CPhoneStateIdleVoIP::HandleCommandL() ");
   123 
   123 
   124     TBool commandStatus( ETrue );
   124     TBool commandStatus( ETrue );
   125 
   125 
   126     switch( aCommand )
   126     switch( aCommand )
   127         {     	
   127         {       
   128         case EPhoneNumberAcqCmdInternetCall:
   128         case EPhoneNumberAcqCmdInternetCall:
   129             {
   129             {
   130             StateUtils().SelectServiceAndDialL();
   130             StateUtils().SelectServiceAndDialL();
   131             }
   131             }
   132         	break;
   132             break;
   133 
   133 
   134         default:
   134         default:
   135             commandStatus = CPhoneIdle::HandleCommandL( aCommand );
   135             commandStatus = CPhoneIdle::HandleCommandL( aCommand );
   136             break;
   136             break;
   137         }
   137         }
   188 // -----------------------------------------------------------
   188 // -----------------------------------------------------------
   189 // CPhoneStateIdleVoIP::HandleDialingL
   189 // CPhoneStateIdleVoIP::HandleDialingL
   190 // -----------------------------------------------------------
   190 // -----------------------------------------------------------
   191 //
   191 //
   192 void CPhoneStateIdleVoIP::HandleDialingL( TInt aCallId )
   192 void CPhoneStateIdleVoIP::HandleDialingL( TInt aCallId )
   193 	{
   193     {
   194     __LOGMETHODSTARTEND( PhoneUIVoIPExtension, "CPhoneStateIdleVoIP::HandleDialingL( ) ");
   194     __LOGMETHODSTARTEND( PhoneUIVoIPExtension, "CPhoneStateIdleVoIP::HandleDialingL( ) ");
   195 
   195 
   196 	if( iStateMachine->PhoneEngineInfo()->CallType( aCallId ) == EPECallTypeVoIP )
   196     if( iStateMachine->PhoneEngineInfo()->CallType( aCallId ) == EPECallTypeVoIP )
   197 		{
   197         {
   198 		SetCallHeaderType( CBubbleManager::EVoIPCall );			
   198 // <-- QT PHONE START --> 
   199 		}
   199         SetCallHeaderType( EPECallTypeVoIP );       
   200 
   200 // <-- QT PHONE END -->     
   201 	CPhoneIdle::HandleDialingL( aCallId );
   201         }
   202 	}
   202 
       
   203     CPhoneIdle::HandleDialingL( aCallId );
       
   204     }
   203 
   205 
   204 
   206 
   205 // -----------------------------------------------------------
   207 // -----------------------------------------------------------
   206 // CPhoneStateIdleVoIP::DialL
   208 // CPhoneStateIdleVoIP::DialL
   207 // -----------------------------------------------------------
   209 // -----------------------------------------------------------