skins/AknSkins/src/AknsUtils.cpp
branchRCL_3
changeset 58 a2f9480e2280
parent 0 05e9090e2422
child 106 e4e3998ddda2
equal deleted inserted replaced
55:33ddb261ab37 58:a2f9480e2280
   900 EXPORT_C TInt AknsUtils::Reserved()
   900 EXPORT_C TInt AknsUtils::Reserved()
   901     {
   901     {
   902     return 0;
   902     return 0;
   903     }
   903     }
   904 
   904 
       
   905 // -----------------------------------------------------------------------------
       
   906 // AknsUtils::SetAnimationBackgroundDisabledL
       
   907 // -----------------------------------------------------------------------------
       
   908 //
       
   909 AKNS_EXPORTED_METHOD(AknsUtils::SetAnimationBackgroundDisabledL)
       
   910 EXPORT_C void AknsUtils::SetAnimationBackgroundDisabledL( TBool aDisabled )
       
   911     {
       
   912     
       
   913     CAknsAppSkinInstance* skin = static_cast<CAknsAppSkinInstance*> 
       
   914                 ( CCoeEnv::Static( KAknsSkinInstanceTls ) );
       
   915     if( skin )
       
   916         {
       
   917         skin->SetAnimationBackgroundDisabledL( aDisabled);
       
   918         }
       
   919     }
       
   920 
       
   921 
       
   922 // -----------------------------------------------------------------------------
       
   923 // AknsUtils::AnimationBackgroundDisabled
       
   924 // -----------------------------------------------------------------------------
       
   925 //
       
   926 AKNS_EXPORTED_METHOD(AknsUtils::AnimationBackgroundDisabled)
       
   927 EXPORT_C TBool AknsUtils::AnimationBackgroundDisabled()
       
   928     {
       
   929     CAknsAppSkinInstance* skin = static_cast<CAknsAppSkinInstance*> 
       
   930             ( CCoeEnv::Static( KAknsSkinInstanceTls ) );
       
   931     if (skin)
       
   932         {
       
   933         return skin->AnimationBackgroundDisabled();
       
   934         }
       
   935     
       
   936     // animation background is ON by default.
       
   937     return EFalse;
       
   938     }
       
   939 
   905 //  End of File
   940 //  End of File