|
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: Declaration of class CWEPKeyDataTextSettingPage. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: tr1cfwln#10 % |
|
20 */ |
|
21 |
|
22 #ifndef WEPKEYDATA_TEXT_SETTING_PAGE_H |
|
23 #define WEPKEYDATA_TEXT_SETTING_PAGE_H |
|
24 |
|
25 |
|
26 // INCLUDE FILES |
|
27 #include <akntextsettingpage.h> |
|
28 #include <WEPSecuritySettingsUI.h> |
|
29 #include "WepSecuritySettingsDefs.h" |
|
30 |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /* |
|
35 * Setting page for KeyData text. Overrides standard CAknTextSettingPage |
|
36 * to set some parameters at runtime, according to the KeyFormat |
|
37 */ |
|
38 NONSHARABLE_CLASS( CWEPKeyDataTextSettingPage ) : public CAknTextSettingPage |
|
39 { |
|
40 public: // Constructors |
|
41 |
|
42 /** |
|
43 * Constructor. |
|
44 * @param aText Reference to text for editing |
|
45 * @param aMaxLength Number of characters to be entered |
|
46 * @param aWEPKeyFormat Format of data (EAscii or EHexadecimal) |
|
47 */ |
|
48 CWEPKeyDataTextSettingPage( TDes& aText, TInt aMaxLength, |
|
49 CWEPSecuritySettings::TWEPKeyFormat aWEPKeyFormat ); |
|
50 |
|
51 /** |
|
52 * Constructs the setting page. Called by ExecuteLD |
|
53 */ |
|
54 virtual void ConstructL(); |
|
55 |
|
56 private: |
|
57 |
|
58 // Number of characters to be entered |
|
59 TInt iLengthOfKeyData; |
|
60 |
|
61 // Format of data (EAscii or EHexadecimal) |
|
62 CWEPSecuritySettings::TWEPKeyFormat iWEPKeyFormat; |
|
63 }; |
|
64 |
|
65 |
|
66 #endif |
|
67 |
|
68 // End of file |