110 iAvkonAppUi->StatusPane()->MakeVisible(ETrue); |
110 iAvkonAppUi->StatusPane()->MakeVisible(ETrue); |
111 } |
111 } |
112 |
112 |
113 iUiUtility = CGlxUiUtility::UtilityL(); |
113 iUiUtility = CGlxUiUtility::UtilityL(); |
114 |
114 |
115 // Call the base class' two-phased constructor |
|
116 CAknDialog::ConstructL( R_IMGVWR_METADATA_MENUBAR ); |
|
117 |
|
118 } |
115 } |
119 |
116 |
120 // ----------------------------------------------------------------------------- |
117 // ----------------------------------------------------------------------------- |
121 // ~CGlxImgVwrMetadataDialog |
118 // ~CGlxImgVwrMetadataDialog |
122 // ----------------------------------------------------------------------------- |
119 // ----------------------------------------------------------------------------- |
186 // ProcessCommandL |
183 // ProcessCommandL |
187 // ----------------------------------------------------------------------------- |
184 // ----------------------------------------------------------------------------- |
188 // |
185 // |
189 void CGlxImgVwrMetadataDialog::ProcessCommandL( TInt aCommandId ) |
186 void CGlxImgVwrMetadataDialog::ProcessCommandL( TInt aCommandId ) |
190 { |
187 { |
191 |
|
192 TRACER("CGlxImgVwrMetadataDialog::ProcessCommandL"); |
188 TRACER("CGlxImgVwrMetadataDialog::ProcessCommandL"); |
193 // hide menu bar |
189 // hide menu bar |
194 iMenuBar->StopDisplayingMenuBar(); |
190 iMenuBar->StopDisplayingMenuBar(); |
195 switch( aCommandId ) |
|
196 { |
|
197 /// @todo need to put the proper help file.for the time being it will not do any thing. |
|
198 /* |
|
199 case EAknCmdHelp: |
|
200 { |
|
201 TCoeHelpContext helpContext; |
|
202 helpContext.iMajor = TUid::Uid( KGlxGalleryApplicationUid ); |
|
203 helpContext.iContext.Copy( LGAL_HLP_DETAILS_VIEW ); |
|
204 const TInt KListSz = 1; |
|
205 CArrayFix<TCoeHelpContext>* contextList = |
|
206 new (ELeave) CArrayFixFlat<TCoeHelpContext>( KListSz ); |
|
207 CleanupStack::PushL(contextList); |
|
208 contextList->AppendL(helpContext); |
|
209 HlpLauncher::LaunchHelpApplicationL( |
|
210 iEikonEnv->WsSession(), contextList ); |
|
211 CleanupStack::Pop( contextList ); |
|
212 break; |
|
213 }*/ |
|
214 |
|
215 default: |
|
216 break; |
|
217 } |
|
218 |
|
219 } |
191 } |
220 //----------------------------------------------------------------------------- |
192 //----------------------------------------------------------------------------- |
221 // CGlxImgVwrMetadataDialog::CreateCustomControlL |
193 // CGlxImgVwrMetadataDialog::CreateCustomControlL |
222 //----------------------------------------------------------------------------- |
194 //----------------------------------------------------------------------------- |
223 SEikControlInfo CGlxImgVwrMetadataDialog::CreateCustomControlL(TInt |
195 SEikControlInfo CGlxImgVwrMetadataDialog::CreateCustomControlL(TInt |