mmshplugins/mmshaoplugin/src/muscallconferenceeventmonitor.cpp
branchRCL_3
changeset 22 73a1feb507fb
parent 21 33a5d2bbf6fc
child 23 bc78a40cd63c
equal deleted inserted replaced
21:33a5d2bbf6fc 22:73a1feb507fb
   111                  break;
   111                  break;
   112             case RMobileConferenceCall::EConferenceBuilt:
   112             case RMobileConferenceCall::EConferenceBuilt:
   113                  SetStateL( NMusSessionInformationApi::EConferenceCall ); 
   113                  SetStateL( NMusSessionInformationApi::EConferenceCall ); 
   114                  break;
   114                  break;
   115             case RMobileConferenceCall::EConferenceTerminated:
   115             case RMobileConferenceCall::EConferenceTerminated:
   116                  SetStateL( NMusSessionInformationApi::EConferenceTerminated );
       
   117                  MonitorCallL();
   116                  MonitorCallL();
   118                  break;
   117                  break;
   119             case RMobileConferenceCall::EConferenceSwapped:
   118             case RMobileConferenceCall::EConferenceSwapped:
   120                  SetStateL( NMusSessionInformationApi::EConferenceCall );	
   119                  SetStateL( NMusSessionInformationApi::EConferenceCall );	
   121                  break;
   120                  break;
   178                      aVal ));    
   177                      aVal ));    
   179         }
   178         }
   180     else
   179     else
   181         {
   180         {
   182          // No point of reporting it .
   181          // No point of reporting it .
   183          //EConferenceTerminated must be set every time to notify avaeventmonitor
       
   184         if ( aVal == NMusSessionInformationApi::EConferenceTerminated )
       
   185         	{
       
   186 			User::LeaveIfError(RProperty::Set( NMusSessionInformationApi::KCategoryUid,
       
   187 						 NMusSessionInformationApi::KMusCallEvent,
       
   188 						 aVal ));  
       
   189         	}
       
   190     
       
   191         }    
   182         }    
   192     MUS_LOG( "mus: [MUSAO]  <- CMusCallConferenceEventMonitor::SetStateL" )    
   183     MUS_LOG( "mus: [MUSAO]  <- CMusCallConferenceEventMonitor::SetStateL" )    
   193     }
   184     }
   194 
   185 
   195 // --------------------------------------------------------------------------------
   186 // --------------------------------------------------------------------------------