equal
deleted
inserted
replaced
464 CMdSNotifier::TEntry& CMdSNotifier::CreateEntryL( TInt aId, |
464 CMdSNotifier::TEntry& CMdSNotifier::CreateEntryL( TInt aId, |
465 TConditionType aType, CMdCSerializationBuffer* aSerializedBuffer, |
465 TConditionType aType, CMdCSerializationBuffer* aSerializedBuffer, |
466 TDefId aNamespaceDefId, CMdSServerSession& aSession, TBool aConfidential ) |
466 TDefId aNamespaceDefId, CMdSServerSession& aSession, TBool aConfidential ) |
467 { |
467 { |
468 TEntry entry = TEntry( aId, aType, aSerializedBuffer, aNamespaceDefId, aSession, aConfidential ); |
468 TEntry entry = TEntry( aId, aType, aSerializedBuffer, aNamespaceDefId, aSession, aConfidential ); |
469 User::LeaveIfError( iEntries.InsertInOrder( entry, TLinearOrder<TEntry>(CMdSNotifier::Compare) ) ); |
469 User::LeaveIfError( iEntries.InsertInOrderAllowRepeats( entry, TLinearOrder<TEntry>(CMdSNotifier::Compare) ) ); |
470 |
470 |
471 return FindEntryL( aId ); |
471 return FindEntryL( aId ); |
472 } |
472 } |
473 |
473 |
474 // ------------------------------------------------ |
474 // ------------------------------------------------ |
546 { |
546 { |
547 if ( e->IsPending() ) |
547 if ( e->IsPending() ) |
548 { |
548 { |
549 e->TriggerError( KErrCancel ); |
549 e->TriggerError( KErrCancel ); |
550 } |
550 } |
551 |
|
552 if ( e->iSerializedCondition ) |
551 if ( e->iSerializedCondition ) |
553 { |
552 { |
554 delete e->iSerializedCondition; |
553 delete e->iSerializedCondition; |
555 e->iSerializedCondition = NULL; |
554 e->iSerializedCondition = NULL; |
556 } |
555 } |