|
1 /* |
|
2 * Copyright (c) 2009-2010 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: |
|
15 * WLAN IAP (Internet Access Point, known network) class. |
|
16 */ |
|
17 |
|
18 #ifndef WLANQTUTILSIAP_H |
|
19 #define WLANQTUTILSIAP_H |
|
20 |
|
21 // System includes |
|
22 |
|
23 #include <QScopedPointer> |
|
24 |
|
25 // User includes |
|
26 |
|
27 #include "wlanqtutilsap.h" |
|
28 |
|
29 // Forward declarations |
|
30 |
|
31 class WlanQtUtilsIapPrivate; |
|
32 |
|
33 // External data types |
|
34 |
|
35 // Constants |
|
36 |
|
37 //! Library interface export macro |
|
38 #ifdef BUILD_WLANQTUTILITIES_DLL |
|
39 #define WLANQTUTILSIAP_EXPORT Q_DECL_EXPORT |
|
40 #else |
|
41 #define WLANQTUTILSIAP_EXPORT Q_DECL_IMPORT |
|
42 #endif |
|
43 |
|
44 // Class declaration |
|
45 |
|
46 class WLANQTUTILSIAP_EXPORT WlanQtUtilsIap : public WlanQtUtilsAp |
|
47 { |
|
48 |
|
49 public: |
|
50 |
|
51 // Data types |
|
52 |
|
53 /*! |
|
54 Configuration IDs that can be read and set in this class (via |
|
55 functions declared in the parent class). Values under 100 are |
|
56 reserved for the parent class. |
|
57 |
|
58 Remember to update traces/trace.properties file when modifying |
|
59 this enum (tracing is also the cause for fixing the enum values). |
|
60 |
|
61 Values available for IAPs: |
|
62 - ConfIdIapId |
|
63 - ConfIdName |
|
64 - ConfIdNetworkId |
|
65 - WlanQtUtilsAp::ConfIdSsid |
|
66 - WlanQtUtilsAp::ConfIdSignalStrength |
|
67 - WlanQtUtilsAp::ConfIdConnectionMode |
|
68 - WlanQtUtilsAp::ConfIdSecurityMode |
|
69 - WlanQtUtilsAp::ConfIdWpaPskUse |
|
70 */ |
|
71 enum ConfId { |
|
72 //! int: IAP ID |
|
73 ConfIdIapId = 100, |
|
74 //! QString: Name |
|
75 ConfIdName = 101, |
|
76 //! int: Network ID |
|
77 ConfIdNetworkId = 102 |
|
78 }; |
|
79 |
|
80 WlanQtUtilsIap(); |
|
81 |
|
82 virtual ~WlanQtUtilsIap(); |
|
83 |
|
84 signals: |
|
85 |
|
86 public slots: |
|
87 |
|
88 protected: |
|
89 |
|
90 protected slots: |
|
91 |
|
92 private: |
|
93 |
|
94 Q_DISABLE_COPY(WlanQtUtilsIap) |
|
95 |
|
96 private slots: |
|
97 |
|
98 private: // data |
|
99 |
|
100 QScopedPointer<WlanQtUtilsIapPrivate> d_ptr; //!< Private implementation |
|
101 |
|
102 // Friend classes |
|
103 }; |
|
104 |
|
105 #endif // WLANQTUTILSIAP_H |