secsrv_plat/security_code_ui_api/inc/SecUi.hrh
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *	 
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef SECUI_HRH
       
    22 #define SECUI_HRH
       
    23 
       
    24 
       
    25 #define SEC_C_SECURITY_CODE_MAX_LENGTH			10
       
    26 #define SEC_C_SECURITY_CODE_MIN_LENGTH			5
       
    27 #define SEC_C_SECURITY_CODE_CHANGE_MAX_LENGTH	5
       
    28 #define SEC_C_MASTER_CODE_LENGTH	10
       
    29 #define SEC_C_PIN_CODE_MAX_LENGTH	8
       
    30 #define SEC_C_PIN_CODE_MIN_LENGTH	4
       
    31 #define SEC_C_PIN2_CODE_MAX_LENGTH	8
       
    32 #define SEC_C_PIN2_CODE_MIN_LENGTH	4
       
    33 #define SEC_C_PUK_CODE_MAX_LENGTH		8
       
    34 #define SEC_C_PUK_CODE_MIN_LENGTH		8
       
    35 #define SEC_C_PUK2_CODE_MAX_LENGTH		8
       
    36 #define SEC_C_PUK2_CODE_MIN_LENGTH		8
       
    37 #define SEC_REMOTELOCK_CODE_MAX_LENGTH    20
       
    38 #define SEC_REMOTELOCK_CODE_MIN_LENGTH    5
       
    39 
       
    40 enum TSecUiCommands
       
    41 	{
       
    42 	ESecUiCodeEtelReqest = 1,
       
    43 	ESecUiNone,
       
    44 	ESecUiPukRequired
       
    45 	};
       
    46 	
       
    47 enum TSecUiEvents
       
    48 	{
       
    49 	 ESecUiEmergencyCall = 972,
       
    50 	 ESecUiDeviceLocked
       
    51 	 };
       
    52 	 
       
    53 enum TSecUiObserverType
       
    54     {
       
    55       ESecUiDeviceLockObserver,
       
    56       ESecUiRequestStateObserver,
       
    57       ESecUiCallStateObserver  
       
    58     };
       
    59 
       
    60 #endif  //  SecUi