phoneapp/phoneuicontrol/src/cphonestateincoming.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
--- a/phoneapp/phoneuicontrol/src/cphonestateincoming.cpp	Tue Feb 02 00:10:04 2010 +0200
+++ b/phoneapp/phoneuicontrol/src/cphonestateincoming.cpp	Fri Mar 19 09:28:42 2010 +0200
@@ -27,7 +27,9 @@
 #include <ScreensaverInternalPSKeys.h>
 #include <mpeengineinfo.h>
 #include <MediatorDomainUIDs.h>
+// <-- QT PHONE START -->
 #include <videotelcontrolmediatorapi.h>
+// <-- QT PHONE END -->
 
 #include "cphonepubsubproxy.h"
 #include "phoneui.pan"
@@ -256,7 +258,7 @@
             MPEPhoneModel::EPEMessagePhoneNumberEdited );
     
     if ( phoneNumber->Des().Length() < KPhoneValidPhoneNumberLength 
-    		&& iStateMachine->PhoneEngineInfo()->PhoneNumberIsServiceCode() ) 
+            && iStateMachine->PhoneEngineInfo()->PhoneNumberIsServiceCode() ) 
         {
         // Send a manual control sequence by providing number
         // information with dial command
@@ -443,7 +445,7 @@
         {
         resourceId = EPhoneCallHandlingIncomingSoftRejectCBA;
         }
-	iCbaManager->SetCbaL( resourceId );
+    iCbaManager->SetCbaL( resourceId );
     }
 
 // -----------------------------------------------------------
@@ -647,15 +649,18 @@
     if( IsVideoCall( iRingingCallId ) )
         {
         // Video call can be released only after we get response to VT Shutdown Command
-        CPhoneMediatorFactory::Instance()->Sender()->IssueCommand( 
-                KMediatorVideoTelephonyDomain,
-                         KCatPhoneToVideotelCommands, 
-                         EVtCmdReleaseDataport,
-               TVersion( KPhoneToVideotelCmdVersionMajor,
-                         KPhoneToVideotelCmdVersionMinor, 
-                         KPhoneToVideotelCmdVersionBuild ),
-               KNullDesC8,
-               CPhoneReleaseCommand::NewL( *iStateMachine ) );
+// <-- QT PHONE START -->
+ 
+        CPhoneMediatorFactory::Instance()->Sender()->IssueCommand( KMediatorVideoTelephonyDomain,
+                                                                             KCatPhoneToVideotelCommands, 
+                                                                             EVtCmdReleaseDataport,
+                                                                   TVersion( KPhoneToVideotelCmdVersionMajor,
+                                                                             KPhoneToVideotelCmdVersionMinor, 
+                                                                             KPhoneToVideotelCmdVersionBuild ),
+                                                                   KNullDesC8,
+                                                                   CPhoneReleaseCommand::NewL( *iStateMachine ) );
+
+// <-- QT PHONE END --> 
         }
     else
         {
@@ -881,25 +886,25 @@
     {
     __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateIncoming::HandleKeyLockEnabledL( ) ");
     if( !FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke )
-		&& CPhoneCenRepProxy::Instance()->
-			IsTelephonyFeatureSupported( KTelephonyLVFlagDisableCallControlHardKeysWhileLocked ) )
-		{
-    	if( aKeylockEnabled )
-        	{
-	        // Keylock enabled
+        && CPhoneCenRepProxy::Instance()->
+            IsTelephonyFeatureSupported( KTelephonyLVFlagDisableCallControlHardKeysWhileLocked ) )
+        {
+        if( aKeylockEnabled )
+            {
+            // Keylock enabled
             if( iStateMachine->PhoneStorage()->IsBlockedKeysListEmpty() )
                 {
                 // Disable HW Keys if needed
                 DisableHWKeysL();
                 }
-	        }
-	    else
-	        {
-	        // Keylock disabled
+            }
+        else
+            {
+            // Keylock disabled
             // Reset blocked keys list
             iStateMachine->PhoneStorage()->ResetBlockedKeysList();
-	        }
-		}
+            }
+        }
     }
 
 // End of File