equal
deleted
inserted
replaced
23 |
23 |
24 #include <e32math.h> |
24 #include <e32math.h> |
25 |
25 |
26 #include <glxlog.h> |
26 #include <glxlog.h> |
27 #include <glxtracer.h> |
27 #include <glxtracer.h> |
|
28 #include <shwcleanupwrapper.h> |
28 |
29 |
29 #include "shweffect.h" |
30 #include "shweffect.h" |
30 #include "shwconstants.h" |
31 #include "shwconstants.h" |
31 #include "shwslideshowenginepanic.h" |
32 #include "shwslideshowenginepanic.h" |
32 |
33 |
217 void CShwDefaultEffectManager::GetActiveEffectsL( |
218 void CShwDefaultEffectManager::GetActiveEffectsL( |
218 RPointerArray< MShwEffect >& aEffects ) |
219 RPointerArray< MShwEffect >& aEffects ) |
219 { |
220 { |
220 TRACER("CShwDefaultEffectManager::GetActiveEffectsL"); |
221 TRACER("CShwDefaultEffectManager::GetActiveEffectsL"); |
221 GLX_LOG_INFO( "CShwDefaultEffectManager::GetActiveEffectsL" ); |
222 GLX_LOG_INFO( "CShwDefaultEffectManager::GetActiveEffectsL" ); |
|
223 ShwCleanupResetAndDestroyPushL(aEffects); |
222 // Retrieve each effect |
224 // Retrieve each effect |
223 for( TInt i = 0; i < iEffects.Count(); ++i ) |
225 for( TInt i = 0; i < iEffects.Count(); ++i ) |
224 { |
226 { |
225 // append the effect pointer to the given array |
227 // append the effect pointer to the given array |
226 aEffects.AppendL( iEffects[i] ); |
228 aEffects.AppendL( iEffects[i] ); |
227 } |
229 } |
|
230 CleanupStack::Pop(&aEffects); |
228 } |
231 } |
229 |
232 |
230 // ----------------------------------------------------------------------------- |
233 // ----------------------------------------------------------------------------- |
231 // CalculateEffects. |
234 // CalculateEffects. |
232 // ----------------------------------------------------------------------------- |
235 // ----------------------------------------------------------------------------- |