|
1 /* |
|
2 * Copyright (c) 2009 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 */ |
|
16 |
|
17 #include "wlanqtutilswlanap.h" |
|
18 #include "wlanqtutilswlaniap.h" |
|
19 |
|
20 #include "wlanqtutils_p.h" |
|
21 #include "wlanqtutils.h" |
|
22 |
|
23 WlanQtUtils::WlanQtUtils() |
|
24 { |
|
25 d_ptr = new WlanQtUtilsPrivate(this); |
|
26 } |
|
27 |
|
28 WlanQtUtils::~WlanQtUtils() |
|
29 { |
|
30 delete d_ptr; |
|
31 } |
|
32 |
|
33 void WlanQtUtils::availableWlanAps( |
|
34 QList<WlanQtUtilsWlanIap *> &wlanIapList, |
|
35 QList<WlanQtUtilsWlanAp *> &wlanApList) |
|
36 { |
|
37 d_ptr->availableWlanAps(wlanIapList, wlanApList); |
|
38 } |
|
39 |
|
40 int WlanQtUtils::createWlanIap(const WlanQtUtilsWlanAp *wlanAp) |
|
41 { |
|
42 return d_ptr->createWlanIap(wlanAp); |
|
43 } |
|
44 |
|
45 void WlanQtUtils::connectIap(int iapId) |
|
46 { |
|
47 d_ptr->connectIap(iapId); |
|
48 } |
|
49 |
|
50 void WlanQtUtils::disconnectIap(int iapId) |
|
51 { |
|
52 d_ptr->disconnectIap(iapId); |
|
53 } |
|
54 |
|
55 WlanQtUtilsIap *WlanQtUtils::iap(int iapId) const |
|
56 { |
|
57 return d_ptr->iap(iapId); |
|
58 } |
|
59 |
|
60 bool WlanQtUtils::masterWlan() const |
|
61 { |
|
62 return d_ptr->masterWlan(); |
|
63 } |
|
64 |
|
65 void WlanQtUtils::setMasterWlan(bool enabled) |
|
66 { |
|
67 d_ptr->setMasterWlan(enabled); |
|
68 } |
|
69 |
|
70 int WlanQtUtils::connectedWlanId() const |
|
71 { |
|
72 return d_ptr->connectedWlanId(); |
|
73 } |
|
74 |
|
75 void WlanQtUtils::scanWlans() |
|
76 { |
|
77 d_ptr->scanWlans(); |
|
78 } |
|
79 |
|
80 // End of File |