homescreenpluginsrv/hspsmanager/src/hspsthemeserversession.cpp
branchRCL_3
changeset 31 8baec10861af
parent 30 a5a39a295112
equal deleted inserted replaced
30:a5a39a295112 31:8baec10861af
   779 // -----------------------------------------------------------------------------
   779 // -----------------------------------------------------------------------------
   780 void ChspsThemeServerSession::FindWidgetUidsL(
   780 void ChspsThemeServerSession::FindWidgetUidsL(
   781         ChspsODT& aAppODT,
   781         ChspsODT& aAppODT,
   782         RArray<TInt>& aUidArray ) 
   782         RArray<TInt>& aUidArray ) 
   783     {    
   783     {    
   784     aUidArray.Reset();       
   784     aUidArray.Reset();
   785     const TInt resourceCount = aAppODT.ResourceCount();
   785     const TInt resourceCount = aAppODT.ResourceCount();
   786     for( TInt resourceIndex = 0; resourceIndex < resourceCount; resourceIndex++ )
   786     for( TInt resourceIndex = 0; resourceIndex < resourceCount; resourceIndex++ )
   787         {      
   787         {      
   788         ChspsResource& r = aAppODT.ResourceL( resourceIndex );
   788         ChspsResource& r = aAppODT.ResourceL( resourceIndex );
   789         const TInt uid = r.ConfigurationUid();        
   789         const TInt uid = r.ConfigurationUid();        
   790         if ( uid > 0 &&
   790         if ( uid > 0 &&
   791              aUidArray.Find( uid ) == KErrNotFound )
   791              aUidArray.Find( uid ) == KErrNotFound )
   792             {
   792             {
   793             aUidArray.Append( uid );
   793             aUidArray.AppendL( uid );
   794             }
   794             }
   795         }                       
   795         }
   796     }
   796     }
   797 
   797 
   798 // -----------------------------------------------------------------------------
   798 // -----------------------------------------------------------------------------
   799 // ChspsThemeServerSession::CopyResourceFilesL
   799 // ChspsThemeServerSession::CopyResourceFilesL
   800 // (other items were commented in a header).
   800 // (other items were commented in a header).