camerauis/cameraapp/generic/src/CamViewBase.cpp
branchRCL_3
changeset 9 792dfc98fb3b
parent 0 1ddebce53859
child 13 38fb6f7eacd5
equal deleted inserted replaced
7:dbec5787fa68 9:792dfc98fb3b
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). 
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   385     // update softkeys
   385     // update softkeys
   386     if ( !appUi->IsConstructionComplete() )
   386     if ( !appUi->IsConstructionComplete() )
   387     	{
   387     	{
   388     	BlankSoftkeysL();
   388     	BlankSoftkeysL();
   389     	}
   389     	}
   390     else if ( appUi->StandbyStatus() == KErrInUse 
   390     else if ( appUi->StandbyStatus() == KErrInUse ||
   391 	 ||  appUi->StandbyStatus() == KErrPermissionDenied )
   391               appUi->StandbyStatus() == KErrPermissionDenied ||
       
   392               appUi->StandbyStatus() == KErrAccessDenied )
   392         {
   393         {
   393         SetSoftKeysL( R_CAM_SOFTKEYS_OPTIONS_EXIT );	
   394         SetSoftKeysL( R_CAM_SOFTKEYS_OPTIONS_EXIT );	
   394         }	
   395         }	
   395     else if ( iEmbedded )
   396     else if ( iEmbedded )
   396         {
   397         {