idlehomescreen/xmluirendering/uiengine/src/xnappuiadapter.cpp
branchRCL_3
changeset 102 ba63c83f4716
parent 88 3321d3e205b6
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
    28 #include "xnuiengineappif.h"
    28 #include "xnuiengineappif.h"
    29 #include "xnfocuscontrol.h"
    29 #include "xnfocuscontrol.h"
    30 #include "hscontentcontrolfactory.h"
    30 #include "hscontentcontrolfactory.h"
    31 #include "xnviewadapter.h"
    31 #include "xnviewadapter.h"
    32 #include "xnnode.h"
    32 #include "xnnode.h"
    33 #include "xnviewswitcher.h"
       
    34 
    33 
    35 #include "xuikon_builds_cfg.hrh"
    34 #include "xuikon_builds_cfg.hrh"
    36 #include "debug.h"
    35 #include "debug.h"
    37 
    36 
    38 _LIT8( KActivateDefaultView, "activatedefault" );
    37 _LIT8( KActivateDefaultView, "activatedefault" );
    86 
    85 
    87     __TIME_ENDMARK( "CXnAppUiAdapter::ConstructL - BaseConstructL, done", time2 );
    86     __TIME_ENDMARK( "CXnAppUiAdapter::ConstructL - BaseConstructL, done", time2 );
    88     
    87     
    89     iImpl = CXnAppUiAdapterImpl::NewL( iApplicationUid, *this );
    88     iImpl = CXnAppUiAdapterImpl::NewL( iApplicationUid, *this );
    90     iImpl->ConstructL();
    89     iImpl->ConstructL();
    91 
    90      
    92     iViewSwitcher = CXnViewSwitcher::NewL(); 
       
    93     
       
    94     __TIME_ENDMARK( "CXnAppUiAdapter::ConstructL, done", time );
    91     __TIME_ENDMARK( "CXnAppUiAdapter::ConstructL, done", time );
    95     }
    92     }
    96 
    93 
    97 // -----------------------------------------------------------------------------
    94 // -----------------------------------------------------------------------------
    98 // Destructor
    95 // Destructor
    99 //
    96 //
   100 // -----------------------------------------------------------------------------
    97 // -----------------------------------------------------------------------------
   101 //
    98 //
   102 EXPORT_C CXnAppUiAdapter::~CXnAppUiAdapter()
    99 EXPORT_C CXnAppUiAdapter::~CXnAppUiAdapter()
   103     {       
   100     {       
   104     delete iViewSwitcher;
       
   105 
       
   106     delete iUiEngineAppIf;
   101     delete iUiEngineAppIf;
   107     
   102     
   108     delete iImpl;    
   103     delete iImpl;    
   109     }
   104     }
   110 
   105 
   474 void CXnAppUiAdapter::ShowFocus()
   469 void CXnAppUiAdapter::ShowFocus()
   475     {
   470     {
   476     return iImpl->ViewAdapter().FocusControl().MakeVisible( ETrue );
   471     return iImpl->ViewAdapter().FocusControl().MakeVisible( ETrue );
   477     }
   472     }
   478 
   473 
   479 // -----------------------------------------------------------------------------
       
   480 // CXnAppUiAdapter::ViewSwitcher
       
   481 //
       
   482 // -----------------------------------------------------------------------------
       
   483 //
       
   484 CXnViewSwitcher* CXnAppUiAdapter::ViewSwitcher()
       
   485     {
       
   486     return iViewSwitcher;
       
   487     }
       
   488 
       
   489 // End of file
   474 // End of file