instantmsgindicatorplugin/src/instantmsgindicatorpluginimplementation.cpp
branchRCL_3
changeset 14 9fdee5e1da30
parent 0 5e5d6b214f4f
equal deleted inserted replaced
13:796276a1bdcc 14:9fdee5e1da30
   174 // CInstantMsgIndicatorPluginImplementation::MessageInfoL
   174 // CInstantMsgIndicatorPluginImplementation::MessageInfoL
   175 // ---------------------------------------------------------------------------
   175 // ---------------------------------------------------------------------------
   176 //
   176 //
   177  void CInstantMsgIndicatorPluginImplementation::MessageInfoL(TInt aNewMessages, TInt aSeriveId,
   177  void CInstantMsgIndicatorPluginImplementation::MessageInfoL(TInt aNewMessages, TInt aSeriveId,
   178                                                          const TDesC& aSenderId ,
   178                                                          const TDesC& aSenderId ,
   179                                                          TInt aMultipleSender)
   179                                                          TInt aMultipleSender,
       
   180                                                          TBool aCloseConversation /*= EFalse*/)
   180     {
   181     {
   181     
   182     
   182     ShowIMIndicatorL(aNewMessages, aSeriveId,aSenderId, aMultipleSender);
   183     ShowIMIndicatorL(aNewMessages, aSeriveId,aSenderId, aMultipleSender);
   183     PlayMsgToneL(aNewMessages,aSeriveId);
   184     // this event is not from close conversation hence play the tone, 
       
   185     // else do not play the tone.
       
   186     if(!aCloseConversation)
       
   187         {
       
   188         PlayMsgToneL(aNewMessages,aSeriveId);
       
   189         }
   184   	}
   190   	}
   185 
   191 
   186 //end of file
   192 //end of file
   187 
   193 
   188 
   194