equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
19 #ifndef C_IKECONNECTION_H |
19 #ifndef C_IKECONNECTION_H |
20 #define C_IKECONNECTION_H |
20 #define C_IKECONNECTION_H |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include <in_sock.h> |
23 #include <in_sock.h> |
24 #include <commdbconnpref.h> |
|
25 #include <extendedconnpref.h> |
24 #include <extendedconnpref.h> |
26 #include "connobserver.h" |
25 #include "connobserver.h" |
27 #include "datatransfer.h" |
26 #include "datatransfer.h" |
28 #include "ikeconnectioninterface.h" |
27 #include "ikeconnectioninterface.h" |
29 |
28 |
126 CIkeConnection( MIkeDebug& aDebug ); |
125 CIkeConnection( MIkeDebug& aDebug ); |
127 |
126 |
128 void ConstructL(); |
127 void ConstructL(); |
129 |
128 |
130 /** |
129 /** |
131 * Creates connection preferences for SNAP usage. |
130 * Creates connection preferences. |
|
131 * @param aIapId IAP id |
132 * @param aSnapId SNAP id |
132 * @param aSnapId SNAP id |
133 * @param aForcedRoaming Indicates whether forced roaming is enabled or |
133 * @param aForcedRoaming Indicates whether forced roaming is enabled or |
134 * disabled for SNAP |
134 * disabled for SNAP |
135 */ |
135 */ |
136 void CreateSnapPreferencesL( const TUint32 aSnapId, |
136 void CreatePreferencesL( const TUint32 aIapId, |
137 const TBool aForcedRoaming ); |
137 const TUint32 aSnapId, |
138 |
138 const TBool aForcedRoaming ); |
139 /** |
139 |
140 * Cleans connection preferences created for SNAP usage. |
140 /** |
141 */ |
141 * Cleans connection preferences. |
142 void CleanSnapPreferences(); |
142 */ |
|
143 void CleanPreferences(); |
143 |
144 |
144 /** |
145 /** |
145 * Updates IAP id and NET id. |
146 * Updates IAP id and NET id. |
146 */ |
147 */ |
147 void UpdateRealIapData(); |
148 void UpdateRealIapData(); |
164 /** |
165 /** |
165 * Implements cancellation of FQDN address resolving. |
166 * Implements cancellation of FQDN address resolving. |
166 */ |
167 */ |
167 void DoCancelResolveFQDNAddress(); |
168 void DoCancelResolveFQDNAddress(); |
168 |
169 |
169 // from base class CActive |
170 // from base class CActive |
170 |
171 |
171 /** |
172 /** |
172 * From CActive. |
173 * From CActive. |
173 * Handles an active object's request completion event. |
174 * Handles an active object's request completion event. |
174 */ |
175 */ |
229 * Own. |
230 * Own. |
230 */ |
231 */ |
231 TUint32 iSnapId; |
232 TUint32 iSnapId; |
232 |
233 |
233 /** |
234 /** |
234 * Connection preferences. |
|
235 * Own. |
|
236 */ |
|
237 TCommDbConnPref iPrefs; |
|
238 |
|
239 /** |
|
240 * Extended connection preferences. |
235 * Extended connection preferences. |
241 * Own. |
236 * Own. |
242 */ |
237 */ |
243 TExtendedConnPref iExtendedPrefs; |
238 TExtendedConnPref iExtendedPrefs; |
244 |
239 |