camerauis/cameraapp/generic/src/CamAppui.cpp
branchRCL_3
changeset 62 f0c0788c4de2
parent 57 2c87b2808fd7
child 67 756ad29ed18e
equal deleted inserted replaced
57:2c87b2808fd7 62:f0c0788c4de2
  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         {