equal
deleted
inserted
replaced
200 break; |
200 break; |
201 |
201 |
202 case ECamCmdPrintIntent: |
202 case ECamCmdPrintIntent: |
203 { |
203 { |
204 // we are 'embedding' Edit & Print apps |
204 // we are 'embedding' Edit & Print apps |
205 PRINT( _L("Camera => CCamStillPostCaptureView::HandleCommandL ECamCmdPrintIntent")) |
205 PRINT( _L("Camera => CCamStillPostCaptureView::HandleCommandL ECamCmdPrintIntent")) |
206 static_cast<CCamAppUiBase*>( AppUi() ) ->SetEmbedding( ETrue ); |
206 static_cast<CCamAppUiBase*>( AppUi() ) ->SetEmbedding( ETrue ); |
207 } |
207 } |
208 break; |
208 break; |
209 |
209 |
210 default: |
210 default: |
211 { |
211 { |
|
212 PRINT1( _L("Camera => CCamStillPostCaptureView::HandleCommandL default cmd (%d)"), aCommand ) |
212 // Handle AIW commands |
213 // Handle AIW commands |
213 TInt aiwServiceCmd = iAiwServiceHandler->ServiceCmdByMenuCmd( aCommand ); |
214 TInt aiwServiceCmd = iAiwServiceHandler->ServiceCmdByMenuCmd( aCommand ); |
214 if ( aiwServiceCmd != KAiwCmdNone ) |
215 if ( aiwServiceCmd != KAiwCmdNone ) |
215 { |
216 { |
216 PRINT( _L("CCamStillPostCaptureView::HandleCommandL AIW command enabling prevention of timeout") ); |
217 PRINT( _L("CCamStillPostCaptureView::HandleCommandL AIW command enabling prevention of timeout") ); |
338 R_CAM_SHARE_ON_OVI_INTEREST ); |
339 R_CAM_SHARE_ON_OVI_INTEREST ); |
339 |
340 |
340 // SHARE_AIW |
341 // SHARE_AIW |
341 iAiwServiceHandler->AttachMenuL( ROID( R_CAM_STILL_POST_CAPTURE_MENU_ID), |
342 iAiwServiceHandler->AttachMenuL( ROID( R_CAM_STILL_POST_CAPTURE_MENU_ID), |
342 R_CAM_AIW_VIEW_INTEREST ); |
343 R_CAM_AIW_VIEW_INTEREST ); |
343 |
344 |
344 if ( iController.IntegerSettingValue(ECamSettingItemPhotoEditorSupport) ) |
345 if ( iController.IntegerSettingValue(ECamSettingItemPhotoEditorSupport) ) |
345 { |
346 { |
346 iAiwServiceHandler->AttachMenuL( ROID( R_CAM_STILL_POST_CAPTURE_MENU_ID), |
347 iAiwServiceHandler->AttachMenuL( ROID( R_CAM_STILL_POST_CAPTURE_MENU_ID), |
347 R_CAM_SET_AS_CALL_IMAGE_INTEREST_EDITOR ); |
348 R_CAM_SET_AS_CALL_IMAGE_INTEREST_EDITOR ); |
348 } |
349 } |
436 void CCamStillPostCaptureView::ConstructL() |
437 void CCamStillPostCaptureView::ConstructL() |
437 { |
438 { |
438 BaseConstructL( ROID(R_CAM_STILL_POST_CAPTURE_VIEW_ID)); |
439 BaseConstructL( ROID(R_CAM_STILL_POST_CAPTURE_VIEW_ID)); |
439 CCamPostCaptureViewBase::ConstructL(); |
440 CCamPostCaptureViewBase::ConstructL(); |
440 |
441 |
441 iAiwServiceHandler->AttachMenuL( ROID( R_CAM_STILL_POST_CAPTURE_MENU_ID), R_CAM_SHARE_ON_OVI_INTEREST ); |
|
442 // SHARE_AIW |
|
443 iAiwServiceHandler->AttachMenuL( ROID( R_CAM_STILL_POST_CAPTURE_MENU_ID), R_CAM_AIW_VIEW_INTEREST ); |
|
444 |
|
445 iRockerKeyPress = EFalse; |
442 iRockerKeyPress = EFalse; |
446 } |
443 } |
447 |
444 |
448 |
445 |
449 // --------------------------------------------------------------------------- |
446 // --------------------------------------------------------------------------- |