omaprovisioning/provisioning/ProvisioningEngine/Src/CWPMultiContextManager.cpp
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
   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     if ( contexts.FirstL())
   408     contexts.FirstL();
   409     {    	
   409     while( contexts.AtRow() )
   410     	while( contexts.AtRow() )
       
   411         {
   410         {
   412         FLOG( _L( "[Provisioning] CWPMultiContextManager::ContextUidsL contexts.GetL()" ) );
   411         FLOG( _L( "[Provisioning] CWPMultiContextManager::ContextUidsL contexts.GetL()" ) );
   413         contexts.GetL();
   412         contexts.GetL();
   414 
   413 
   415         TUint32 uid( contexts.ColUint32( uidCol ) );
   414         TUint32 uid( contexts.ColUint32( uidCol ) );
   416         array->AppendL( uid );
   415         array->AppendL( uid );
   417         contexts.NextL();
   416         contexts.NextL();
   418         }
   417         }
   419      }
       
   420 
   418 
   421     CleanupStack::Pop(); // array
   419     CleanupStack::Pop(); // array
   422     CleanupStack::PopAndDestroy(); // contexts
   420     CleanupStack::PopAndDestroy(); // contexts
   423 
   421 
   424     return array;
   422     return array;
   788         iObservers[i]->ContextChangeL( RDbNotifier::TEvent( iStatus.Int() ) );
   786         iObservers[i]->ContextChangeL( RDbNotifier::TEvent( iStatus.Int() ) );
   789         }
   787         }
   790     IssueRequest();
   788     IssueRequest();
   791     }
   789     }
   792 
   790 
       
   791 // ----------------------------------------------------------------------------
       
   792 // CWPMultiContextManager::RunError
       
   793 // ----------------------------------------------------------------------------
   793 TInt CWPMultiContextManager::RunError ( TInt /*aError*/ )
   794 TInt CWPMultiContextManager::RunError ( TInt /*aError*/ )
   794     {
   795     {
   795         return KErrNone;
   796         return KErrNone;
   796     }	
   797     }	
       
   798     
       
   799     
   797 // -----------------------------------------------------------------------------
   800 // -----------------------------------------------------------------------------
   798 // CWPMultiContextManager::DoCancel
   801 // CWPMultiContextManager::DoCancel
   799 // -----------------------------------------------------------------------------
   802 // -----------------------------------------------------------------------------
   800 //
   803 //
   801 void CWPMultiContextManager::DoCancel()
   804 void CWPMultiContextManager::DoCancel()