|
1 /* |
|
2 * ============================================================================ |
|
3 * Name : wapisecuritysettingsuiimpl.h |
|
4 * Part of : WAPI Security Settings UI |
|
5 * |
|
6 * Description: |
|
7 * Declaration of class CWAPISecuritySettingsUiImpl. |
|
8 * |
|
9 * Version: %version: 3 % |
|
10 * |
|
11 * Copyright (C) 2008 Nokia Corporation. |
|
12 * This material, including documentation and any related |
|
13 * computer programs, is protected by copyright controlled by |
|
14 * Nokia Corporation. All rights are reserved. Copying, |
|
15 * including reproducing, storing, adapting or translating, any |
|
16 * or all of this material requires the prior written consent of |
|
17 * Nokia Corporation. This material also contains confidential |
|
18 * information which may not be disclosed to others without the |
|
19 * prior written consent of Nokia Corporation. |
|
20 * |
|
21 * ============================================================================ |
|
22 */ |
|
23 |
|
24 #ifndef WAPISECURITYSETTINGSUIIMPL_H |
|
25 #define WAPISECURITYSETTINGSUIIMPL_H |
|
26 |
|
27 // INCLUDES |
|
28 |
|
29 #include <e32base.h> |
|
30 |
|
31 |
|
32 // FORWARD DECLARATIONS |
|
33 |
|
34 class CEikonEnv; |
|
35 class CWAPISecuritySettings; |
|
36 class CWAPISecuritySettingsUiImpl; |
|
37 class CWAPISecuritySettingsImpl; |
|
38 |
|
39 |
|
40 // CLASS DECLARATION |
|
41 |
|
42 /** |
|
43 * WAPI Security Settings UI implementation (behind proxy class |
|
44 * CWAPISecuritySettingsUi) |
|
45 */ |
|
46 NONSHARABLE_CLASS( CWAPISecuritySettingsUiImpl ) : public CBase |
|
47 { |
|
48 |
|
49 public: // Constructors and destructor |
|
50 |
|
51 /** |
|
52 * Two-phased constructor. Leaves on failure. |
|
53 * @param aEikEnv Eikon environment. |
|
54 * @return The constructed CWAPISecuritySettingsUiImpl object. |
|
55 */ |
|
56 static CWAPISecuritySettingsUiImpl* NewL( CEikonEnv& aEikEnv ); |
|
57 |
|
58 /** |
|
59 * Destructor. |
|
60 */ |
|
61 virtual ~CWAPISecuritySettingsUiImpl(); |
|
62 |
|
63 protected: // Constructors |
|
64 |
|
65 /** |
|
66 * Constructor. |
|
67 * @param aEikEnv Eikon environment. |
|
68 */ |
|
69 CWAPISecuritySettingsUiImpl( CEikonEnv& aEikEnv ); |
|
70 |
|
71 /** |
|
72 * Second-phase constructor. |
|
73 */ |
|
74 void ConstructL(); |
|
75 |
|
76 public: // New methods |
|
77 |
|
78 /** |
|
79 * Edit the settings. |
|
80 * @param aSettings Settings to edit. |
|
81 * @param aTitle Title Pane text to display during edit. |
|
82 * @return Exit code. Value from CWAPISecuritySettings::TEvent bits |
|
83 * combined. |
|
84 */ |
|
85 TInt EditL( CWAPISecuritySettingsImpl& aSettings, const TDesC& aTitle ); |
|
86 |
|
87 |
|
88 private: // Data |
|
89 |
|
90 // To hold the events |
|
91 TInt iEventStore; |
|
92 |
|
93 // Resource file offset. |
|
94 TInt iResOffset; |
|
95 |
|
96 // Eikon environment. Not owned. |
|
97 CEikonEnv* iEikEnv; |
|
98 }; |
|
99 |
|
100 #endif |