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