equal
deleted
inserted
replaced
3892 { |
3892 { |
3893 CCamGSInterface* plugin = CCamGSInterface::NewL( KCamGSPluginUid ); |
3893 CCamGSInterface* plugin = CCamGSInterface::NewL( KCamGSPluginUid ); |
3894 CleanupStack::PushL( plugin ); |
3894 CleanupStack::PushL( plugin ); |
3895 AddViewL( plugin ); // Transfer ownership to AppUi |
3895 AddViewL( plugin ); // Transfer ownership to AppUi |
3896 CleanupStack::Pop( plugin ); |
3896 CleanupStack::Pop( plugin ); |
|
3897 iController.SetSettingsPlugin( plugin->iDtor_ID_Key ); |
3897 iPlugin = plugin; |
3898 iPlugin = plugin; |
3898 } |
3899 } |
3899 break; |
3900 break; |
3900 } |
3901 } |
3901 // ----------------------------------------------------- |
3902 // ----------------------------------------------------- |
4625 { |
4626 { |
4626 OstTrace0( CAMERAAPP_PERFORMANCE_DETAIL, CCAMAPPUI_CHECKMEMORYL, |
4627 OstTrace0( CAMERAAPP_PERFORMANCE_DETAIL, CCAMAPPUI_CHECKMEMORYL, |
4627 "e_CCamAppUi_CheckMemoryL 1" ); |
4628 "e_CCamAppUi_CheckMemoryL 1" ); |
4628 PRINT( _L("Camera => CCamAppUi::CheckMemoryL") ); |
4629 PRINT( _L("Camera => CCamAppUi::CheckMemoryL") ); |
4629 TBool capture = ETrue; |
4630 TBool capture = ETrue; |
4630 |
4631 if ( ( ECamControllerImage == iController.CurrentMode() ) && |
4631 if ( IsMemoryAvailableForCapturing() ) |
4632 IsMemoryAvailableForCapturing() ) |
4632 { |
4633 { |
4633 capture = ETrue; |
4634 capture = ETrue; |
4634 } |
4635 } |
4635 else |
4636 else |
4636 { |
4637 { |