camerauis/cameraapp/generic/src/CamViewBase.cpp
branchRCL_3
changeset 27 53c8aa5d97a3
parent 25 bf64cebf4673
child 35 e32fcfe0045f
equal deleted inserted replaced
25:bf64cebf4673 27:53c8aa5d97a3
   860 // Sets the softkeys to the specified Resource ID
   860 // Sets the softkeys to the specified Resource ID
   861 // ---------------------------------------------------------------------------
   861 // ---------------------------------------------------------------------------
   862 //
   862 //
   863 void CCamViewBase::SetSoftKeysL(TInt aResource)
   863 void CCamViewBase::SetSoftKeysL(TInt aResource)
   864 	{
   864 	{
       
   865     PRINT1( _L("Camera => CCamViewBase::SetSoftKeysL SoftKeys:0x%x"), aResource );
       
   866 
   865     CCamAppUi* appUi = static_cast<CCamAppUi*>( AppUi() );	  
   867     CCamAppUi* appUi = static_cast<CCamAppUi*>( AppUi() );	  
   866     // If courtesy softkeys are enabled, check whether the UI can be drawn without being explicitly raised
   868     // If courtesy softkeys are enabled, check whether the UI can be drawn without being explicitly raised
   867     // (rare, but possible: e.g. when video recording starts
   869     // (rare, but possible: e.g. when video recording starts
   868     if(aResource == R_CAM_SOFTKEYS_BLANK &&
   870     if(aResource == R_CAM_SOFTKEYS_BLANK &&
   869        appUi->IsSecondCameraEnabled() &&
   871        appUi->IsSecondCameraEnabled() &&
   900 
   902 
   901         Cba()->SetCommandSetL( aResource );
   903         Cba()->SetCommandSetL( aResource );
   902         Cba()->DrawDeferred();
   904         Cba()->DrawDeferred();
   903 
   905 
   904         }
   906         }
       
   907 
       
   908     PRINT( _L("Camera <= CCamViewBase::SetSoftKeysL") );
   905 	}
   909 	}
   906 
   910 
   907 
   911 
   908 // ---------------------------------------------------------------------------
   912 // ---------------------------------------------------------------------------
   909 // CCamViewBase::SetCourtesySoftKeysL
   913 // CCamViewBase::SetCourtesySoftKeysL