mmsengine/mmsserversettings/src/mmsregisteredapplications.cpp
changeset 79 2981cb3aa489
parent 23 238255e8b033
equal deleted inserted replaced
25:84d9eb65b26f 79:2981cb3aa489
   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;