wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlanscanproviderinterface.h
equal
deleted
inserted
replaced
14 * Description: This abstract class defines WLAN scan provider interface. |
14 * Description: This abstract class defines WLAN scan provider interface. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 8 % |
19 * %version: 10 % |
20 */ |
20 */ |
21 |
21 |
22 |
22 |
23 #ifndef WLANSCANPROVIDERINTERFACE_H |
23 #ifndef WLANSCANPROVIDERINTERFACE_H |
24 #define WLANSCANPROVIDERINTERFACE_H |
24 #define WLANSCANPROVIDERINTERFACE_H |
76 class MWlanBgScanProvider |
76 class MWlanBgScanProvider |
77 { |
77 { |
78 |
78 |
79 public: |
79 public: |
80 |
80 |
81 enum TWlanBgScanWlanState |
81 enum TWlanBgScanState |
82 { |
82 { |
83 EWlanStateConnected = 1, |
83 EWlanBgScanOff, |
84 EWlanStateDisconnected, |
84 EWlanBgScanOn |
85 EWlanStateMax // not used |
|
86 }; |
85 }; |
87 |
86 |
88 struct TWlanBgScanSettings |
87 struct TWlanBgScanSettings |
89 { |
88 { |
90 TUint32 backgroundScanInterval; |
89 TUint32 backgroundScanInterval; |
130 * @since S60 v5.2 |
129 * @since S60 v5.2 |
131 */ |
130 */ |
132 virtual void ScanComplete() = 0; |
131 virtual void ScanComplete() = 0; |
133 |
132 |
134 /** |
133 /** |
135 * Called to indicate that WLAN state has changed. |
134 * Called to set BG scan state (on/off). |
136 * |
135 * |
137 * @since S60 v5.2 |
136 * @since S60 v5.2 |
138 * |
137 * |
139 * @param aState New WLAN state |
138 * @param aState New WLAN state |
140 */ |
139 */ |
141 virtual void WlanStateChanged( const TWlanBgScanWlanState &aState ) = 0; |
140 virtual void SetBgScanState( const TWlanBgScanState &aState ) = 0; |
142 |
141 |
143 /** |
142 /** |
144 * Whether background scan is enabled. |
143 * Whether background scan is enabled. |
145 * |
144 * |
146 * @since S60 v5.2 |
145 * @since S60 v5.2 |