telephonyserverplugins/common_tsy/commontsy/src/mmgsmwcdma/cmmcallgsmwcdmaext.cpp
branchRCL_3
changeset 14 7ef16719d8cb
parent 0 3553901f7fa8
child 17 3f227a47ad75
equal deleted inserted replaced
9:962e6306d9d2 14:7ef16719d8cb
   121     iMobileCallInfo.iBCRepeatIndicator = RMobileCall::EBCAlternateMode;
   121     iMobileCallInfo.iBCRepeatIndicator = RMobileCall::EBCAlternateMode;
   122  
   122  
   123     TInt err = iFeatureControl.Open();
   123     TInt err = iFeatureControl.Open();
   124 	iUsingFeatureManager = (err == KErrNone);
   124 	iUsingFeatureManager = (err == KErrNone);
   125 	
   125 	
   126 	//Create the SSM Plugin Handler on creation rather than on demand to avoid problems 
   126 	iSystemStatePluginHandler = iMmCallTsy->Phone()->SystemStatePluginHandler();
   127 	//with Emergency Calls in Out Of Memory situations.
       
   128 	iSystemStatePluginHandler = CCtsySystemStatePluginHandler::NewL();
       
   129 
   127 
   130 	ResetInternalAttributes();
   128 	ResetInternalAttributes();
   131     }
   129     }
   132 
   130 
   133 CMmCallGsmWcdmaExt* CMmCallGsmWcdmaExt::NewL(
   131 CMmCallGsmWcdmaExt* CMmCallGsmWcdmaExt::NewL(
   171         }
   169         }
   172     iCurrentHSCSDInfo = NULL;
   170     iCurrentHSCSDInfo = NULL;
   173 
   171 
   174     iMmCallTsy = NULL;
   172     iMmCallTsy = NULL;
   175     iMessageManager = NULL;
   173     iMessageManager = NULL;
   176     
       
   177     if ( iSystemStatePluginHandler )
       
   178         {
       
   179         delete iSystemStatePluginHandler;
       
   180         }
       
   181     iSystemStatePluginHandler = NULL;
       
   182     
   174     
   183     }
   175     }
   184     
   176     
   185 // ---------------------------------------------------------------------------
   177 // ---------------------------------------------------------------------------
   186 // CMmCallGsmWcdmaExt::ResetInternalAttributes
   178 // CMmCallGsmWcdmaExt::ResetInternalAttributes