mmsengine/mmsserversettings/src/mmsregisteredapplications.cpp
branchRCL_3
changeset 57 ebe688cedc25
parent 0 72b543305e3a
child 47 5b14749788d7
child 60 7fdbb852d323
equal deleted inserted replaced
54:fa1df4b99609 57:ebe688cedc25
   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;