camerauis/cameraapp/generic/src/CamCaptureSetupViewBase.cpp
branchRCL_3
changeset 25 bf64cebf4673
parent 20 38fb6f7eacd5
child 35 e32fcfe0045f
equal deleted inserted replaced
20:38fb6f7eacd5 25:bf64cebf4673
   339 // CCamCaptureSetupViewBase::CCamCaptureSetupViewBase
   339 // CCamCaptureSetupViewBase::CCamCaptureSetupViewBase
   340 // C++ constructor
   340 // C++ constructor
   341 // ---------------------------------------------------------------------------
   341 // ---------------------------------------------------------------------------
   342 //
   342 //
   343 CCamCaptureSetupViewBase::CCamCaptureSetupViewBase( CCamAppController& aController )
   343 CCamCaptureSetupViewBase::CCamCaptureSetupViewBase( CCamAppController& aController )
   344     : CCamViewBase( aController ),iForceAvkonCBA(EFalse),
   344     : CCamViewBase( aController ),
   345       iCaptureSetupModeActive( EFalse )
   345       iForceAvkonCBA(EFalse)
   346     {
   346     {
   347     }
   347     }
   348 
   348 
   349 // ---------------------------------------------------------------------------
   349 // ---------------------------------------------------------------------------
   350 // CCamCaptureSetupViewBase::CreateCaptureSetupControlHandlerL
   350 // CCamCaptureSetupViewBase::CreateCaptureSetupControlHandlerL
  1094 void CCamCaptureSetupViewBase::SetInfoListBoxMode( TBool aActive, TBool aFullySkinned )
  1094 void CCamCaptureSetupViewBase::SetInfoListBoxMode( TBool aActive, TBool aFullySkinned )
  1095     {
  1095     {
  1096     // We need to inform the AppUi
  1096     // We need to inform the AppUi
  1097     iInfoListBoxActive = aActive;
  1097     iInfoListBoxActive = aActive;
  1098 
  1098 
  1099     CCamAppUiBase* appUi = static_cast<CCamAppUiBase*>( AppUi() );
  1099     CCamAppUi* appUi = static_cast<CCamAppUi*>( AppUi() );
  1100     
  1100     
  1101     if ( appUi)
  1101     if ( appUi)
  1102         {
  1102         {
  1103         if ( aActive )
  1103         if ( aActive )
  1104             {
  1104             {
       
  1105             iPrevCaptureMode = appUi->PreCaptureMode();
  1105             appUi->SetPreCaptureMode(ECamPreCapGenericSetting);
  1106             appUi->SetPreCaptureMode(ECamPreCapGenericSetting);
  1106             }
  1107             }
  1107         else
  1108         else
  1108             {
  1109             {
  1109             appUi->SetPreCaptureMode(ECamPreCapViewfinder);
  1110             appUi->SetPreCaptureMode( iPrevCaptureMode );
  1110             }        
  1111             }        
  1111         }
  1112         }
  1112     }    
  1113     }    
  1113     
  1114     
  1114 // ---------------------------------------------------------------------------
  1115 // ---------------------------------------------------------------------------