wlansecuritysettings/wepsecuritysettingsui/inc/WepSecuritySettingsDefs.h
branchRCL_3
changeset 46 c74b3d9f6b9e
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
       
     1 /*
       
     2 * Copyright (c) 2001-2009 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 the License "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: Definitions. 
       
    15 *
       
    16 */
       
    17 
       
    18 /*
       
    19 * %version: tr1cfwln#10 %
       
    20 */
       
    21 
       
    22 #ifndef WEPSECURITYSETTINGSDEFS_H
       
    23 #define WEPSECURITYSETTINGSDEFS_H
       
    24 
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // Empty key
       
    29 LOCAL_D const TUint KKeyDataLengthEmpty = 0;
       
    30 
       
    31 // Number of characters for a 40 bits key
       
    32 LOCAL_D const TUint KKeyDataLength40Bits  = 10;
       
    33 
       
    34 // Number of characters for a 104 bits key
       
    35 LOCAL_D const TUint KKeyDataLength104Bits = 26;
       
    36 
       
    37 // Number of characters for a 232 bits key
       
    38 LOCAL_D const TUint KKeyDataLength232Bits = 58;
       
    39 
       
    40 // The maximum length of key data
       
    41 LOCAL_D const TUint KMaxLengthOfKeyData = KKeyDataLength232Bits;
       
    42                                             
       
    43 // Number of keys
       
    44 LOCAL_D const TUint KMaxNumberofKeys = 4;
       
    45 
       
    46 // Invalid id
       
    47 LOCAL_D const TUint32 KUidNone = 0;
       
    48 
       
    49 
       
    50 // UID of application containing help texts (General Settings).
       
    51 LOCAL_D const TUid KWEPSecuritySettingsUiHelpMajor = { 0x100058EC };
       
    52 
       
    53 // Error code for invalid length of key data
       
    54 LOCAL_D const TInt KErrInvalidLength = 101;
       
    55 
       
    56 // Error code for key data containing invalid characters
       
    57 LOCAL_D const TInt KErrInvalidChar = 102;
       
    58 
       
    59 
       
    60 #endif  // WEPSECURITYSETTINGSDEFS_H