equal
deleted
inserted
replaced
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" |
33 |
34 |
34 #include "xuikon_builds_cfg.hrh" |
35 #include "xuikon_builds_cfg.hrh" |
35 #include "debug.h" |
36 #include "debug.h" |
36 |
37 |
37 _LIT8( KActivateDefaultView, "activatedefault" ); |
38 _LIT8( KActivateDefaultView, "activatedefault" ); |
85 |
86 |
86 __TIME_ENDMARK( "CXnAppUiAdapter::ConstructL - BaseConstructL, done", time2 ); |
87 __TIME_ENDMARK( "CXnAppUiAdapter::ConstructL - BaseConstructL, done", time2 ); |
87 |
88 |
88 iImpl = CXnAppUiAdapterImpl::NewL( iApplicationUid, *this ); |
89 iImpl = CXnAppUiAdapterImpl::NewL( iApplicationUid, *this ); |
89 iImpl->ConstructL(); |
90 iImpl->ConstructL(); |
90 |
91 |
|
92 iViewSwitcher = CXnViewSwitcher::NewL(); |
|
93 |
91 __TIME_ENDMARK( "CXnAppUiAdapter::ConstructL, done", time ); |
94 __TIME_ENDMARK( "CXnAppUiAdapter::ConstructL, done", time ); |
92 } |
95 } |
93 |
96 |
94 // ----------------------------------------------------------------------------- |
97 // ----------------------------------------------------------------------------- |
95 // Destructor |
98 // Destructor |
96 // |
99 // |
97 // ----------------------------------------------------------------------------- |
100 // ----------------------------------------------------------------------------- |
98 // |
101 // |
99 EXPORT_C CXnAppUiAdapter::~CXnAppUiAdapter() |
102 EXPORT_C CXnAppUiAdapter::~CXnAppUiAdapter() |
100 { |
103 { |
|
104 delete iViewSwitcher; |
|
105 |
101 delete iUiEngineAppIf; |
106 delete iUiEngineAppIf; |
102 |
107 |
103 delete iImpl; |
108 delete iImpl; |
104 } |
109 } |
105 |
110 |
469 void CXnAppUiAdapter::ShowFocus() |
474 void CXnAppUiAdapter::ShowFocus() |
470 { |
475 { |
471 return iImpl->ViewAdapter().FocusControl().MakeVisible( ETrue ); |
476 return iImpl->ViewAdapter().FocusControl().MakeVisible( ETrue ); |
472 } |
477 } |
473 |
478 |
|
479 // ----------------------------------------------------------------------------- |
|
480 // CXnAppUiAdapter::ViewSwitcher |
|
481 // |
|
482 // ----------------------------------------------------------------------------- |
|
483 // |
|
484 CXnViewSwitcher* CXnAppUiAdapter::ViewSwitcher() |
|
485 { |
|
486 return iViewSwitcher; |
|
487 } |
|
488 |
474 // End of file |
489 // End of file |