mmserv/voipaudioservices/VoIPServer/src/VoIPECallEventHandler.cpp
branchRCL_3
changeset 3 4f62049db6ac
parent 0 71ca22bcf22a
child 8 e35735ece90c
equal deleted inserted replaced
0:71ca22bcf22a 3:4f62049db6ac
    41     {
    41     {
    42     TRACE_PRN_FN_ENT;
    42     TRACE_PRN_FN_ENT;
    43     CActiveScheduler::Add(this);
    43     CActiveScheduler::Add(this);
    44     User::LeaveIfError(iProperty.Attach(KPSUidCtsyEmergencyCallInfo,
    44     User::LeaveIfError(iProperty.Attach(KPSUidCtsyEmergencyCallInfo,
    45             KCTSYEmergencyCallInfo));
    45             KCTSYEmergencyCallInfo));
       
    46     iStatus = KRequestPending;
    46     iProperty.Subscribe(iStatus);
    47     iProperty.Subscribe(iStatus);
    47     SetActive();
    48     SetActive();
    48     TRACE_PRN_FN_EXT;
    49     TRACE_PRN_FN_EXT;
    49     }
    50     }
    50 
    51 
    96     TRACE_PRN_FN_ENT;
    97     TRACE_PRN_FN_ENT;
    97     // Subscribe immediately before analyzing the notification to ensure that we
    98     // Subscribe immediately before analyzing the notification to ensure that we
    98     // don't miss further updates.
    99     // don't miss further updates.
    99     if (iStatus.Int() == KErrNone)
   100     if (iStatus.Int() == KErrNone)
   100         {
   101         {
       
   102         iStatus = KRequestPending;
   101         iProperty.Subscribe(iStatus);
   103         iProperty.Subscribe(iStatus);
   102         SetActive();
   104         SetActive();
   103 
   105 
   104         TInt eCall = 0;
   106         TInt eCall = 0;
   105         iProperty.Get(eCall);
   107         iProperty.Get(eCall);