|
1 /* |
|
2 * Copyright (c) 2002 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: Declaration of class CApItemWlanData |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CAPITEMWLANDATA_H |
|
20 #define CAPITEMWLANDATA_H |
|
21 |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Wlan-specific data extension for CApAccessPointItem. |
|
32 * Access Point data which is common to all AP-s (ISP...), are not stored |
|
33 * here. |
|
34 */ |
|
35 class CApItemWlanData : public CBase |
|
36 { |
|
37 public: |
|
38 /** |
|
39 * Two-phased constructor. Leaves on failure |
|
40 * @return The constructed CApItemWlanData. |
|
41 */ |
|
42 static CApItemWlanData* NewL(); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 virtual ~CApItemWlanData(); |
|
48 |
|
49 /** |
|
50 * C++ default constructor. |
|
51 */ |
|
52 CApItemWlanData(); |
|
53 |
|
54 /** |
|
55 * Second-phase constructor. |
|
56 */ |
|
57 void ConstructL(); |
|
58 |
|
59 public: |
|
60 // data members are public for CApAccessPointItem... |
|
61 HBufC* iWlanNetworkName; ///< WLAN netwotk name, SSID |
|
62 TUint32 iWlanNetworkMode; ///< Gives network mode, TUint32 |
|
63 TUint32 iWlanSecurityMode; ///< The security mode, TUint32 |
|
64 TUint32 iWlanId; ///< Commdb_id of wlan settings, TUint32 |
|
65 TBool iIsWlan; ///< Indicates that this WLAN-capable |
|
66 ///< access point is really WLAN or not. |
|
67 TBool iScanSSID; ///< need to scan the SSID |
|
68 TUint32 iChannelId; ///< The ad-hoc channel ID |
|
69 }; |
|
70 |
|
71 #endif // CAPITEMWLANDATA_H |
|
72 |
|
73 // End of File |