equal
deleted
inserted
replaced
297 // ----------------------------------------------------------------------------- |
297 // ----------------------------------------------------------------------------- |
298 // CCcSrv::SendMsgL |
298 // CCcSrv::SendMsgL |
299 // ----------------------------------------------------------------------------- |
299 // ----------------------------------------------------------------------------- |
300 // |
300 // |
301 void CCcSrv::SendMsgL( |
301 void CCcSrv::SendMsgL( |
302 TUint32 aSender, |
|
303 TUint32 aReceiver, |
|
304 CCcSrvMsg& aMessage ) |
302 CCcSrvMsg& aMessage ) |
305 { |
303 { |
306 TBool found( EFalse ); |
304 TBool found( EFalse ); |
307 for ( TUint32 i = 0; i < iSessions.Count() && !found; i++ ) |
305 for ( TUint32 i = 0; i < iSessions.Count() && !found; i++ ) |
308 { |
306 { |
309 if ( iSessions[ i ]->Id() == aReceiver ) |
307 if ( iSessions[ i ]->Id() == aMessage.Receiver() ) |
310 { |
308 { |
311 iSessions[ i ]->ReceiveMsgL( aSender, aReceiver, aMessage ); |
309 iSessions[ i ]->ReceiveMsgL( aMessage ); |
312 found = ETrue; |
310 found = ETrue; |
313 } |
311 } |
314 } |
312 } |
315 if ( !found ) |
313 if ( !found ) |
316 { |
314 { |