|
1 /* |
|
2 * Copyright (c) 2004 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 "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: PEC client plugin. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __CCNUICLIENTPLUGINPEC_H |
|
19 #define __CCNUICLIENTPLUGINPEC_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <E32Base.h> |
|
23 #include "CCnUiClientPluginBase.h" |
|
24 |
|
25 class CPEngNWSessionSlotID2; |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * PEC client plugin. |
|
30 * |
|
31 * NOTE!! |
|
32 * PEC project has responsibility to maintain / change implementation |
|
33 * of this class as they need. |
|
34 * |
|
35 * @since 2.1 |
|
36 */ |
|
37 NONSHARABLE_CLASS( CCnUiClientPluginPEC ) : public CCnUiClientPluginBase |
|
38 { |
|
39 public: // Two-phased constructors and destructor |
|
40 |
|
41 /** |
|
42 * Two-phased constructor. |
|
43 */ |
|
44 static CCnUiClientPluginPEC* NewL( CPEngNWSessionSlotID2& aNWSessionSlotID ); |
|
45 |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 ~CCnUiClientPluginPEC(); |
|
51 |
|
52 private: |
|
53 |
|
54 /** |
|
55 * C++ constructor. |
|
56 */ |
|
57 CCnUiClientPluginPEC(); |
|
58 |
|
59 /** |
|
60 * Symbian OS constructor. |
|
61 */ |
|
62 void ConstructL( CPEngNWSessionSlotID2& aNWSessionSlotID ); |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 private: //From MCnUiClientPlugin |
|
68 |
|
69 /** |
|
70 * From MCnUiClientPlugin |
|
71 * @see MCnUiClientPlugin |
|
72 * @since 2.1 |
|
73 */ |
|
74 TCnUiConnectionMode CurrentConnectionModeSettingL(); |
|
75 |
|
76 |
|
77 /** |
|
78 * From MCnUiClientPlugin |
|
79 * @see MCnUiClientPlugin |
|
80 * @since 2.1 |
|
81 */ |
|
82 void ReWakeAutomaticConnectionModeL(); |
|
83 |
|
84 |
|
85 /** |
|
86 * From MCnUiClientPlugin |
|
87 * Overloaded from CCnUiClientPluginBase |
|
88 * @see MCnUiClientPlugin |
|
89 * @since 2.1 |
|
90 */ |
|
91 void ConnectionOpenInitL( TBool aSapConnectionOpen, const CIMPSSAPSettings& aSap ); |
|
92 |
|
93 |
|
94 /** |
|
95 * From MCnUiClientPlugin |
|
96 * Overloaded from CCnUiClientPluginBase |
|
97 * @see MCnUiClientPlugin |
|
98 * @since 2.1 |
|
99 */ |
|
100 void DoPostLoginProsessingL( TRequestStatus& aStatus ); |
|
101 |
|
102 |
|
103 /** |
|
104 * From MCnUiClientPlugin |
|
105 * Overloaded from CCnUiClientPluginBase |
|
106 * @see MCnUiClientPlugin |
|
107 * @since 2.1 |
|
108 */ |
|
109 void DoPreLogoutProsessingL( TRequestStatus& aStatus ); |
|
110 |
|
111 |
|
112 |
|
113 public: //Template methods from CCnUiClientPluginBase |
|
114 |
|
115 /** |
|
116 * Template method from CCnUiClientPluginBase |
|
117 * @see CCnUiClientPluginBase |
|
118 * @since 2.1 |
|
119 */ |
|
120 TBool DoVerifySapCapabilities( TPEngWVCspServicesTree2 aCurrenServices ); |
|
121 |
|
122 |
|
123 /** |
|
124 * Template method from CCnUiClientPluginBase |
|
125 * @see CCnUiClientPluginBase |
|
126 * @since 2.1 |
|
127 */ |
|
128 CDesCArray* DoClientKnownCntListsLC(); |
|
129 |
|
130 |
|
131 /** |
|
132 * Template method from CCnUiClientPluginBase |
|
133 * @see CCnUiClientPluginBase |
|
134 * @since 2.1 |
|
135 */ |
|
136 void DoStartExplicitPostLoginSyncL(); |
|
137 |
|
138 /** |
|
139 * Template method from CCnUiClientPluginBase |
|
140 * @see CCnUiClientPluginBase |
|
141 * @since 2.1 |
|
142 */ |
|
143 void DoHandleExplicitPostLoginSyncStepCompleteL( TStepId aStepId, TInt& aStepStatus ); |
|
144 |
|
145 |
|
146 /** |
|
147 * Template method from CCnUiClientPluginBase |
|
148 * @see CCnUiClientPluginBase |
|
149 * @since 2.1 |
|
150 */ |
|
151 void DoStartPreLogoutPublishL(); |
|
152 |
|
153 |
|
154 /** |
|
155 * Template method from CCnUiClientPluginBase |
|
156 * @see CCnUiClientPluginBase |
|
157 * @since 2.1 |
|
158 */ |
|
159 void DoHandlePreLogoutPublishStepCompleteL( TStepId aStepId, TInt& aStepStatus ); |
|
160 |
|
161 |
|
162 /** |
|
163 * Calls ResetAndDestroy to given array |
|
164 * @since 3.0 |
|
165 * @param aObject Array (RPointerArray<MPEngPresenceAttrModel2>) |
|
166 */ |
|
167 static void DestroyCloseModelArray( TAny* aObject ); |
|
168 |
|
169 private: // New methods |
|
170 /** |
|
171 * Update PECui Attributes |
|
172 * @since 3.0 |
|
173 */ |
|
174 void UpdateAttributesL(); |
|
175 |
|
176 |
|
177 private: // data |
|
178 |
|
179 }; |
|
180 |
|
181 #endif //__CCNUICLIENTPLUGINPEC_H |
|
182 // End of File |
|
183 |
|
184 |