photosgallery/viewframework/medialists/tsrc/t_cglxgarbagecollector/t_cglxgarbagecollector.cpp
branchRCL_3
changeset 25 191387a8b767
parent 18 bcb43dc84c44
equal deleted inserted replaced
22:2dac0fdba72b 25:191387a8b767
  2258 
  2258 
  2259 void T_CGlxGarbageCollector::CGlxMediaUserTest::GetRequiredAttributesL(
  2259 void T_CGlxGarbageCollector::CGlxMediaUserTest::GetRequiredAttributesL(
  2260         TInt /*aIndex*/, 
  2260         TInt /*aIndex*/, 
  2261         RArray<TMPXAttribute>& aAttributes)
  2261         RArray<TMPXAttribute>& aAttributes)
  2262     {
  2262     {
       
  2263     CleanupClosePushL(aAttributes);
  2263     TInt attributeCount = iAttributes.Count();
  2264     TInt attributeCount = iAttributes.Count();
  2264     for (TInt i = 0; i < attributeCount; ++i)
  2265     for (TInt i = 0; i < attributeCount; ++i)
  2265         {
  2266         {
  2266         aAttributes.AppendL(iAttributes[i]);
  2267         aAttributes.AppendL(iAttributes[i]);
  2267         }
  2268         }
       
  2269     CleanupStack::Pop(&aAttributes);
  2268     }
  2270     }
  2269 
  2271 
  2270 void T_CGlxGarbageCollector::CGlxMediaUserTest::RemoveReference(TInt aIndex)
  2272 void T_CGlxGarbageCollector::CGlxMediaUserTest::RemoveReference(TInt aIndex)
  2271     {
  2273     {
  2272     EUNIT_PRINT(_L("Call remove Reference on T_CGlxGaarbageCollector")); 
  2274     EUNIT_PRINT(_L("Call remove Reference on T_CGlxGaarbageCollector"));