coreapplicationuis/SysAp/Src/SysApShutdownAnimation.cpp
branchRCL_3
changeset 19 924385140d98
parent 9 332e7bf3b42f
child 20 c2c61fdca848
equal deleted inserted replaced
18:0818dd463d41 19:924385140d98
    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 <secondarydisplay/SecondaryDisplayStartupAPI.h>
    25 #include <sysapappui.h>
       
    26 #include <SecondaryDisplay/SecondaryDisplayStartupAPI.h>
    26 #include <startupdomaincrkeys.h>
    27 #include <startupdomaincrkeys.h>
    27 
    28 
    28 #include "SysApShutdownAnimation.h"
    29 #include "SysApShutdownAnimation.h"
    29 #include "SysApShutdownImage.h"
    30 #include "SysApShutdownImage.h"
    30 #include "SysAp.hrh"
    31 #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())
    31 
    39 
    32 // ======== MEMBER FUNCTIONS ========
    40 // ======== MEMBER FUNCTIONS ========
    33 
    41 
    34 // ---------------------------------------------------------------------------
    42 // ---------------------------------------------------------------------------
    35 // CSysApShutdownAnimation::NewL
    43 // CSysApShutdownAnimation::NewL
    97             {
   105             {
    98             delete iCtrl;
   106             delete iCtrl;
    99             iCtrl = NULL;
   107             iCtrl = NULL;
   100             }
   108             }
   101 
   109 
   102         iAvkonAppUi->StatusPane()->MakeVisible( EFalse );
   110 //        iAvkonAppUi->StatusPane()->MakeVisible( EFalse );
   103         iView.SetRect( iAvkonAppUi->ApplicationRect() );
   111 //        iView.SetRect( iAvkonAppUi->ApplicationRect() );
       
   112 //      iAvkonAppUi->StatusPane()->MakeVisible( EFalse );
       
   113 //        iSysApUiHandle->StatusPane()->MakeVisible( EFalse );
       
   114         iView.SetRectForAnimation(); 
   104         iState = ELoading;
   115         iState = ELoading;
   105 
   116 
   106         TRAPD( errorCode, iCtrl = CSAnimStartupCtrl::NewL( iView.Rect(), iView ) );
   117         TRAPD( errorCode, iCtrl = CSAnimStartupCtrl::NewL( iView.Rect(), iView ) );
   107         if ( errorCode == KErrNone )
   118         if ( errorCode == KErrNone )
   108             {
   119             {