equal
deleted
inserted
replaced
487 // ----------------------------------------------------------------------------- |
487 // ----------------------------------------------------------------------------- |
488 // |
488 // |
489 void CSipAlrSnapMonitor::NotifyInitializedObservers( |
489 void CSipAlrSnapMonitor::NotifyInitializedObservers( |
490 TUint32 aIapId, |
490 TUint32 aIapId, |
491 MSipAlrObserver::TEvent aEvent ) |
491 MSipAlrObserver::TEvent aEvent ) |
492 { |
492 { |
493 for ( TInt i = 0; i < iObservers.Count(); i++ ) |
493 for (TInt i = iObservers.Count() - 1; i >= 0; --i) |
494 { |
494 { |
495 if ( iObservers[i].iInitialEventDone ) |
495 if ( iObservers[i].iInitialEventDone ) |
496 { |
496 { |
497 PROFILE_DEBUG3( "CSipAlrSnapMonitor::NotifyIntitializedObservers", |
497 PROFILE_DEBUG3( "CSipAlrSnapMonitor::NotifyIntitializedObservers", |
498 iSnapId ) |
498 iSnapId ) |
506 // CSipAlrSnapMonitor::NotifyNewObservers |
506 // CSipAlrSnapMonitor::NotifyNewObservers |
507 // ----------------------------------------------------------------------------- |
507 // ----------------------------------------------------------------------------- |
508 // |
508 // |
509 void CSipAlrSnapMonitor::NotifyNewObservers( TUint32 aIapId ) |
509 void CSipAlrSnapMonitor::NotifyNewObservers( TUint32 aIapId ) |
510 { |
510 { |
511 for ( TInt i = 0; i < iObservers.Count(); i++ ) |
511 for ( TInt i = iObservers.Count() - 1; i >= 0; --i ) |
512 { |
512 { |
513 if ( !iObservers[i].iInitialEventDone ) |
513 if ( !iObservers[i].iInitialEventDone ) |
514 { |
514 { |
515 PROFILE_DEBUG3( "CSipAlrSnapMonitor::NotifyNewObservers", iSnapId ) |
515 PROFILE_DEBUG3( "CSipAlrSnapMonitor::NotifyNewObservers", iSnapId ) |
516 |
516 |