coreapplicationuis/SysAp/Src/SysApShutdownAnimation.cpp
branchRCL_3
changeset 20 c2c61fdca848
parent 19 924385140d98
child 21 9af619316cbf
equal deleted inserted replaced
19:924385140d98 20:c2c61fdca848
    19 
    19 
    20 
    20 
    21 
    21 
    22 #ifdef RD_STARTUP_ANIMATION_CUSTOMIZATION
    22 #ifdef RD_STARTUP_ANIMATION_CUSTOMIZATION
    23 
    23 
    24 //#include <aknappui.h>
    24 #include <aknappui.h>
    25 #include <sysapappui.h>
    25 #include <secondarydisplay/SecondaryDisplayStartupAPI.h>
    26 #include <SecondaryDisplay/SecondaryDisplayStartupAPI.h>
       
    27 #include <startupdomaincrkeys.h>
    26 #include <startupdomaincrkeys.h>
    28 
    27 
    29 #include "SysApShutdownAnimation.h"
    28 #include "SysApShutdownAnimation.h"
    30 #include "SysApShutdownImage.h"
    29 #include "SysApShutdownImage.h"
    31 #include "SysAp.hrh"
    30 #include "SysAp.hrh"
    32 #include <eikdef.h>
       
    33 #include <eikenv.h>
       
    34 #include <coemain.h>
       
    35 #include <coecntrl.h>
       
    36 #include <coeaui.h>
       
    37 
       
    38 #define iSysApUiHandle ((CSysApAppUi*)CEikonEnv::Static()->EikAppUi())
       
    39 
    31 
    40 // ======== MEMBER FUNCTIONS ========
    32 // ======== MEMBER FUNCTIONS ========
    41 
    33 
    42 // ---------------------------------------------------------------------------
    34 // ---------------------------------------------------------------------------
    43 // CSysApShutdownAnimation::NewL
    35 // CSysApShutdownAnimation::NewL
   105             {
    97             {
   106             delete iCtrl;
    98             delete iCtrl;
   107             iCtrl = NULL;
    99             iCtrl = NULL;
   108             }
   100             }
   109 
   101 
   110 //        iAvkonAppUi->StatusPane()->MakeVisible( EFalse );
   102         iAvkonAppUi->StatusPane()->MakeVisible( EFalse );
   111 //        iView.SetRect( iAvkonAppUi->ApplicationRect() );
   103         iView.SetRect( iAvkonAppUi->ApplicationRect() );
   112 //      iAvkonAppUi->StatusPane()->MakeVisible( EFalse );
       
   113 //        iSysApUiHandle->StatusPane()->MakeVisible( EFalse );
       
   114         iView.SetRectForAnimation(); 
       
   115         iState = ELoading;
   104         iState = ELoading;
   116 
   105 
   117         TRAPD( errorCode, iCtrl = CSAnimStartupCtrl::NewL( iView.Rect(), iView ) );
   106         TRAPD( errorCode, iCtrl = CSAnimStartupCtrl::NewL( iView.Rect(), iView ) );
   118         if ( errorCode == KErrNone )
   107         if ( errorCode == KErrNone )
   119             {
   108             {