equal
deleted
inserted
replaced
42 #include <glxfetcherdialog.rsg> // FOR GETTING VIEW ID AND RESOURCE ID |
42 #include <glxfetcherdialog.rsg> // FOR GETTING VIEW ID AND RESOURCE ID |
43 #include "glxfetcherdialog.h" |
43 #include "glxfetcherdialog.h" |
44 #include "glxfetchercontainer.h" |
44 #include "glxfetchercontainer.h" |
45 #include "glxfetcher.hrh" |
45 #include "glxfetcher.hrh" |
46 |
46 |
47 #define GetAppUi() (dynamic_cast<CAknAppUi*>(iEikonEnv->EikAppUi())) |
|
48 const TInt KControlId = 1; |
47 const TInt KControlId = 1; |
49 |
48 |
50 //----------------------------------------------------------------------------- |
49 //----------------------------------------------------------------------------- |
51 // C++ default constructor. |
50 // C++ default constructor. |
52 //----------------------------------------------------------------------------- |
51 //----------------------------------------------------------------------------- |
90 { |
89 { |
91 TRACER("CGlxFetcherDialog::~CGlxFetcherDialog"); |
90 TRACER("CGlxFetcherDialog::~CGlxFetcherDialog"); |
92 if(iFetcherContainer) |
91 if(iFetcherContainer) |
93 { |
92 { |
94 // Restore the Toolbar as it was in the Calling application |
93 // Restore the Toolbar as it was in the Calling application |
95 if(GetAppUi()->CurrentFixedToolbar()) // there is Hardware Specific Output for Fixed ToolBar |
94 if(iAvkonAppUi->CurrentFixedToolbar()) // there is Hardware Specific Output for Fixed ToolBar |
96 { |
95 { |
97 GetAppUi()->CurrentFixedToolbar()->SetToolbarVisibility(ETrue); |
96 iAvkonAppUi->CurrentFixedToolbar()->SetToolbarVisibility(ETrue); |
98 } |
97 } |
99 |
98 |
100 TRAP_IGNORE(iFetcherContainer->SetPreviousTitleL()); |
99 TRAP_IGNORE(iFetcherContainer->SetPreviousTitleL()); |
101 } |
100 } |
102 if (iUiUtility) |
101 if (iUiUtility) |
114 TRACER("CGlxFetcherDialog::ConstructL"); |
113 TRACER("CGlxFetcherDialog::ConstructL"); |
115 // always first call the base class |
114 // always first call the base class |
116 CAknDialog::ConstructL( R_MULTISELECT_FETCHER_MENUBAR ); |
115 CAknDialog::ConstructL( R_MULTISELECT_FETCHER_MENUBAR ); |
117 |
116 |
118 // Get the Instance of the toolbar and disable it as it is note required in the Fetcher Application |
117 // Get the Instance of the toolbar and disable it as it is note required in the Fetcher Application |
119 if(GetAppUi()->CurrentFixedToolbar()) // there is Hardware Specific Output for Fixed ToolBar |
118 if (iAvkonAppUi->CurrentFixedToolbar()) // there is Hardware Specific Output for Fixed ToolBar |
120 { |
119 { |
121 GetAppUi()->CurrentFixedToolbar()->SetToolbarVisibility(EFalse); |
120 iAvkonAppUi->CurrentFixedToolbar()->SetToolbarVisibility(EFalse); |
122 } |
121 } |
123 // Get the Hitchcock environment. |
122 // Get the Hitchcock environment. |
124 iUiUtility = CGlxUiUtility::UtilityL(); |
123 iUiUtility = CGlxUiUtility::UtilityL(); |
125 iEnv = iUiUtility->Env(); |
124 iEnv = iUiUtility->Env(); |
126 iFetchUri = EFalse; |
125 iFetchUri = EFalse; |