skins/AknSkins/src/AknsUtils.cpp
branchRCL_3
changeset 58 a2f9480e2280
parent 0 05e9090e2422
child 106 e4e3998ddda2
--- a/skins/AknSkins/src/AknsUtils.cpp	Tue May 11 17:09:13 2010 +0300
+++ b/skins/AknSkins/src/AknsUtils.cpp	Tue May 25 13:47:21 2010 +0300
@@ -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