equal
deleted
inserted
replaced
367 // |
367 // |
368 TBool CMmsRegisteredApplications::Registered( const TDesC& aApplicationId, TInt& aIndex ) |
368 TBool CMmsRegisteredApplications::Registered( const TDesC& aApplicationId, TInt& aIndex ) |
369 { |
369 { |
370 aIndex = -1; |
370 aIndex = -1; |
371 TInt count = iAppIdArray->MdcaCount(); |
371 TInt count = iAppIdArray->MdcaCount(); |
372 for( TInt i = 0; i < count && aIndex == -1; i++ ) |
372 for( TInt i = 0; i < count && aIndex == -1; ++i ) |
373 { |
373 { |
374 TPtrC16 ptr = iAppIdArray->MdcaPoint( i ); |
374 TPtrC16 ptr = iAppIdArray->MdcaPoint( i ); |
375 if ( ptr.Compare( aApplicationId ) == 0 ) |
375 if ( ptr.Compare( aApplicationId ) == 0 ) |
376 { |
376 { |
377 aIndex = i; |
377 aIndex = i; |