telephonyserverplugins/simtsy/src/CSimCallForwarding.cpp
branchRCL_3
changeset 6 fc69e1e37771
parent 0 3553901f7fa8
child 19 630d2f34d719
equal deleted inserted replaced
5:7ef16719d8cb 6:fc69e1e37771
   650 			}
   650 			}
   651 		}//end for (another)
   651 		}//end for (another)
   652 	}
   652 	}
   653 	
   653 	
   654 	
   654 	
   655 void CSimCallForwarding::UpdateCFQuiescentCondition(TBool aActivate, 
   655 void CSimCallForwarding::UpdateCFQuiescentConditionL(TBool aActivate, 
   656 													RMobilePhone::TMobilePhoneCFCondition aCF)
   656 													RMobilePhone::TMobilePhoneCFCondition aCF)
   657 	{
   657 	{
   658 	// only the Call Forward Unconditional can alter any other CF condition
   658 	// only the Call Forward Unconditional can alter any other CF condition
   659 	if(aCF == RMobilePhone::ECallForwardingUnconditional)
   659 	if(aCF == RMobilePhone::ECallForwardingUnconditional)
   660 		{		
   660 		{		
   826 		}
   826 		}
   827 	
   827 	
   828 	if(callForwardActivated)
   828 	if(callForwardActivated)
   829 		{
   829 		{
   830 		// only need to check quiescent status if an activation has occurred
   830 		// only need to check quiescent status if an activation has occurred
   831 		UpdateCFQuiescentCondition(ETrue, theNewEntry.iCondition);	
   831 		UpdateCFQuiescentConditionL(ETrue, theNewEntry.iCondition);	
   832 		}
   832 		}
   833 
   833 
   834 	CleanupStack::PopAndDestroy(thePrevCFList);
   834 	CleanupStack::PopAndDestroy(thePrevCFList);
   835 	}
   835 	}
   836 
   836 
   998 	// this method will check if any de-activation has caused another Condition to become 
   998 	// this method will check if any de-activation has caused another Condition to become 
   999 	// cleared of the quiescent state
   999 	// cleared of the quiescent state
  1000 	if(callForwardDeactivated)
  1000 	if(callForwardDeactivated)
  1001 		{		
  1001 		{		
  1002 		// pass a FALSE to the function to notify of a service de-activation
  1002 		// pass a FALSE to the function to notify of a service de-activation
  1003 		UpdateCFQuiescentCondition(EFalse, theNewEntry.iCondition);
  1003 		UpdateCFQuiescentConditionL(EFalse, theNewEntry.iCondition);
  1004 		}
  1004 		}
  1005 
  1005 
  1006 	// now delete the old memory	
  1006 	// now delete the old memory	
  1007 	CleanupStack::PopAndDestroy(thePrevCFList);
  1007 	CleanupStack::PopAndDestroy(thePrevCFList);
  1008 	}
  1008 	}