equal
deleted
inserted
replaced
403 |
403 |
404 CArrayFix<TUint32>* array = |
404 CArrayFix<TUint32>* array = |
405 new(ELeave) CArrayFixFlat<TUint32>( Max( 1, contexts.CountL() ) ); |
405 new(ELeave) CArrayFixFlat<TUint32>( Max( 1, contexts.CountL() ) ); |
406 CleanupStack::PushL( array ); |
406 CleanupStack::PushL( array ); |
407 FTRACE(RDebug::Print(_L("[Provisioning] CWPMultiContextManager::ContextUidsL: count (%d)"), contexts.CountL())); |
407 FTRACE(RDebug::Print(_L("[Provisioning] CWPMultiContextManager::ContextUidsL: count (%d)"), contexts.CountL())); |
408 contexts.FirstL(); |
408 if ( contexts.FirstL()) |
409 while( contexts.AtRow() ) |
409 { |
|
410 while( contexts.AtRow() ) |
410 { |
411 { |
411 FLOG( _L( "[Provisioning] CWPMultiContextManager::ContextUidsL contexts.GetL()" ) ); |
412 FLOG( _L( "[Provisioning] CWPMultiContextManager::ContextUidsL contexts.GetL()" ) ); |
412 contexts.GetL(); |
413 contexts.GetL(); |
413 |
414 |
414 TUint32 uid( contexts.ColUint32( uidCol ) ); |
415 TUint32 uid( contexts.ColUint32( uidCol ) ); |
415 array->AppendL( uid ); |
416 array->AppendL( uid ); |
416 contexts.NextL(); |
417 contexts.NextL(); |
417 } |
418 } |
|
419 } |
418 |
420 |
419 CleanupStack::Pop(); // array |
421 CleanupStack::Pop(); // array |
420 CleanupStack::PopAndDestroy(); // contexts |
422 CleanupStack::PopAndDestroy(); // contexts |
421 |
423 |
422 return array; |
424 return array; |
786 iObservers[i]->ContextChangeL( RDbNotifier::TEvent( iStatus.Int() ) ); |
788 iObservers[i]->ContextChangeL( RDbNotifier::TEvent( iStatus.Int() ) ); |
787 } |
789 } |
788 IssueRequest(); |
790 IssueRequest(); |
789 } |
791 } |
790 |
792 |
791 // ---------------------------------------------------------------------------- |
|
792 // CWPMultiContextManager::RunError |
|
793 // ---------------------------------------------------------------------------- |
|
794 TInt CWPMultiContextManager::RunError ( TInt /*aError*/ ) |
793 TInt CWPMultiContextManager::RunError ( TInt /*aError*/ ) |
795 { |
794 { |
796 return KErrNone; |
795 return KErrNone; |
797 } |
796 } |
798 |
|
799 |
|
800 // ----------------------------------------------------------------------------- |
797 // ----------------------------------------------------------------------------- |
801 // CWPMultiContextManager::DoCancel |
798 // CWPMultiContextManager::DoCancel |
802 // ----------------------------------------------------------------------------- |
799 // ----------------------------------------------------------------------------- |
803 // |
800 // |
804 void CWPMultiContextManager::DoCancel() |
801 void CWPMultiContextManager::DoCancel() |