equal
deleted
inserted
replaced
20 #include <QSharedPointer> |
20 #include <QSharedPointer> |
21 #include <QScopedPointer> |
21 #include <QScopedPointer> |
22 |
22 |
23 // User includes |
23 // User includes |
24 |
24 |
25 #include "wlanqtutilsconmonwrapperdisconnect_s60_p.h" |
25 #include "wlanqtutilsconmonwrapperdisconnect_symbian.h" |
26 #include "wlanqtutilsconmonwrapperinfo_s60_p.h" |
26 #include "wlanqtutilsconmonwrapperinfo_symbian.h" |
27 #include "wlanqtutilsconmonwrapperscan_s60_p.h" |
|
28 #include "wlanqtutilsconmonwrapper.h" |
27 #include "wlanqtutilsconmonwrapper.h" |
29 |
28 |
30 /*! |
29 /*! |
31 \class WlanQtUtilsConMonWrapper |
30 \class WlanQtUtilsConMonWrapper |
32 \brief Wrapper for Symbian Connection Monitor library. |
31 \brief Wrapper for Symbian Connection Monitor library. |
33 |
32 |
34 Provides functionality to scan WLAN networks, to retrieve connection |
33 Provides functionality to retrieve connection information, |
35 information, and to disconnect connections. |
34 and to disconnect connections. |
36 */ |
35 */ |
37 |
36 |
38 // External function prototypes |
37 // External function prototypes |
39 |
38 |
40 // Local constants |
39 // Local constants |
49 @param [in] parent Parent object. |
48 @param [in] parent Parent object. |
50 */ |
49 */ |
51 |
50 |
52 WlanQtUtilsConMonWrapper::WlanQtUtilsConMonWrapper(QObject *parent) : |
51 WlanQtUtilsConMonWrapper::WlanQtUtilsConMonWrapper(QObject *parent) : |
53 QObject(parent), |
52 QObject(parent), |
54 d_ptrScan(new WlanQtUtilsConMonWrapperScan(this)), |
|
55 d_ptrInfo(new WlanQtUtilsConMonWrapperInfo(this)), |
53 d_ptrInfo(new WlanQtUtilsConMonWrapperInfo(this)), |
56 d_ptrDisconnect(new WlanQtUtilsConMonWrapperDisconnect(this)) |
54 d_ptrDisconnect(new WlanQtUtilsConMonWrapperDisconnect(this)) |
57 { |
55 { |
58 } |
56 } |
59 |
57 |
61 Destructor. |
59 Destructor. |
62 */ |
60 */ |
63 |
61 |
64 WlanQtUtilsConMonWrapper::~WlanQtUtilsConMonWrapper() |
62 WlanQtUtilsConMonWrapper::~WlanQtUtilsConMonWrapper() |
65 { |
63 { |
66 } |
|
67 |
|
68 /*! |
|
69 Start a WLAN scan. |
|
70 */ |
|
71 |
|
72 void WlanQtUtilsConMonWrapper::scanAvailableWlanAPs() |
|
73 { |
|
74 d_ptrScan->ScanAvailableWlanAPs(); |
|
75 } |
|
76 |
|
77 /*! |
|
78 Stop a (possibly) ongoing WLAN scan. |
|
79 */ |
|
80 |
|
81 void WlanQtUtilsConMonWrapper::stopScan() |
|
82 { |
|
83 d_ptrScan->StopScan(); |
|
84 } |
64 } |
85 |
65 |
86 /*! |
66 /*! |
87 Return active connection information. |
67 Return active connection information. |
88 |
68 |