|
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 CWEPSecuritySettingsUiImpl. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef WEPSECURITYSETTINGSUIIMPL_H |
|
20 #define WEPSECURITYSETTINGSUIIMPL_H |
|
21 |
|
22 // INCLUDES |
|
23 |
|
24 #include <e32base.h> |
|
25 |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 class CEikonEnv; |
|
30 class CWEPSecuritySettings; |
|
31 class CWEPSecuritySettingsUiImpl; |
|
32 class CWEPSecuritySettingsImpl; |
|
33 |
|
34 |
|
35 // CLASS DECLARATION |
|
36 |
|
37 /** |
|
38 * WEP Security Settings UI implementation (behind proxy class |
|
39 * CWEPSecuritySettingsUi) |
|
40 */ |
|
41 NONSHARABLE_CLASS( CWEPSecuritySettingsUiImpl ) : public CBase |
|
42 { |
|
43 |
|
44 public: // Constructors and destructor |
|
45 |
|
46 /** |
|
47 * Two-phased constructor. Leaves on failure. |
|
48 * @param aEikEnv Eikon environment. |
|
49 * @return The constructed CWEPSecuritySettingsUiImpl object. |
|
50 */ |
|
51 static CWEPSecuritySettingsUiImpl* NewL( CEikonEnv& aEikEnv ); |
|
52 |
|
53 /** |
|
54 * Destructor. |
|
55 */ |
|
56 virtual ~CWEPSecuritySettingsUiImpl(); |
|
57 |
|
58 protected: // Constructors |
|
59 |
|
60 /** |
|
61 * Constructor. |
|
62 * @param aEikEnv Eikon environment. |
|
63 */ |
|
64 CWEPSecuritySettingsUiImpl( CEikonEnv& aEikEnv ); |
|
65 |
|
66 /** |
|
67 * Second-phase constructor. |
|
68 */ |
|
69 void ConstructL(); |
|
70 |
|
71 public: // New methods |
|
72 |
|
73 /** |
|
74 * Edit the settings. |
|
75 * @param aSettings Settings to edit. |
|
76 * @param aTitle Title Pane text to display during edit. |
|
77 * @return Exit code. Value from CWEPSecuritySettings::TEvent bits |
|
78 * combined. |
|
79 */ |
|
80 TInt EditL( CWEPSecuritySettingsImpl& aSettings, const TDesC& aTitle ); |
|
81 |
|
82 |
|
83 private: // Data |
|
84 |
|
85 // To hold the events |
|
86 TInt iEventStore; |
|
87 |
|
88 // Resource file offset. |
|
89 TInt iResOffset; |
|
90 |
|
91 // Eikon environment. Not owned. |
|
92 CEikonEnv* iEikEnv; |
|
93 }; |
|
94 |
|
95 #endif |