skins/AknSkins/src/AknsUtils.cpp
branchRCL_3
changeset 107 9f95a5546443
parent 106 e4e3998ddda2
--- a/skins/AknSkins/src/AknsUtils.cpp	Tue Aug 31 16:13:36 2010 +0300
+++ b/skins/AknSkins/src/AknsUtils.cpp	Wed Sep 01 12:19:53 2010 +0100
@@ -902,4 +902,39 @@
     return 0;
     }
 
+// -----------------------------------------------------------------------------
+// AknsUtils::SetAnimationBackgroundDisabledL
+// -----------------------------------------------------------------------------
+//
+AKNS_EXPORTED_METHOD(AknsUtils::SetAnimationBackgroundDisabledL)
+EXPORT_C void AknsUtils::SetAnimationBackgroundDisabledL( TBool aDisabled )
+    {
+    
+    CAknsAppSkinInstance* skin = static_cast<CAknsAppSkinInstance*> 
+                ( CCoeEnv::Static( KAknsSkinInstanceTls ) );
+    if( skin )
+        {
+        skin->SetAnimationBackgroundDisabledL( aDisabled);
+        }
+    }
+
+
+// -----------------------------------------------------------------------------
+// AknsUtils::AnimationBackgroundDisabled
+// -----------------------------------------------------------------------------
+//
+AKNS_EXPORTED_METHOD(AknsUtils::AnimationBackgroundDisabled)
+EXPORT_C TBool AknsUtils::AnimationBackgroundDisabled()
+    {
+    CAknsAppSkinInstance* skin = static_cast<CAknsAppSkinInstance*> 
+            ( CCoeEnv::Static( KAknsSkinInstanceTls ) );
+    if (skin)
+        {
+        return skin->AnimationBackgroundDisabled();
+        }
+    
+    // animation background is ON by default.
+    return EFalse;
+    }
+
 //  End of File