coreapplicationuis/SysAp/Src/sysapdefaultkeyhandler.cpp
branchRCL_3
changeset 18 0818dd463d41
parent 17 5e7d68cc22e0
child 19 924385140d98
equal deleted inserted replaced
17:5e7d68cc22e0 18:0818dd463d41
     1 /*
     1 /*
     2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2006-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".
   235 								case EPSCTsyCallStateUninitialized:
   235 								case EPSCTsyCallStateUninitialized:
   236 								case EPSCTsyCallStateNone:
   236 								case EPSCTsyCallStateNone:
   237 									{
   237 									{
   238     
   238     
   239 									TInt keyGuardSetting;
   239 									TInt keyGuardSetting;
   240 									iSlideRepository->Get( KSlideKeyguard, keyGuardSetting );
   240 									User::LeaveIfError(iSlideRepository->Get( KSlideKeyguard, keyGuardSetting ));
   241 									switch( ( TSlideSettingKeyguard ) keyGuardSetting )
   241 									switch( ( TSlideSettingKeyguard ) keyGuardSetting )
   242 										{
   242 										{
   243 										case ESlideSettingsKeyguardActivatingOn: 
   243 										case ESlideSettingsKeyguardActivatingOn: 
   244 											iKeylock->EnableKeyLock();
   244 											iKeylock->EnableKeyLock();
   245 											break;
   245 											break;