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: 10 % |
19 * %version: 8 % |
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 TWlanBgScanState |
81 enum TWlanBgScanWlanState |
82 { |
82 { |
83 EWlanBgScanOff, |
83 EWlanStateConnected = 1, |
84 EWlanBgScanOn |
84 EWlanStateDisconnected, |
|
85 EWlanStateMax // not used |
85 }; |
86 }; |
86 |
87 |
87 struct TWlanBgScanSettings |
88 struct TWlanBgScanSettings |
88 { |
89 { |
89 TUint32 backgroundScanInterval; |
90 TUint32 backgroundScanInterval; |
129 * @since S60 v5.2 |
130 * @since S60 v5.2 |
130 */ |
131 */ |
131 virtual void ScanComplete() = 0; |
132 virtual void ScanComplete() = 0; |
132 |
133 |
133 /** |
134 /** |
134 * Called to set BG scan state (on/off). |
135 * Called to indicate that WLAN state has changed. |
135 * |
136 * |
136 * @since S60 v5.2 |
137 * @since S60 v5.2 |
137 * |
138 * |
138 * @param aState New WLAN state |
139 * @param aState New WLAN state |
139 */ |
140 */ |
140 virtual void SetBgScanState( const TWlanBgScanState &aState ) = 0; |
141 virtual void WlanStateChanged( const TWlanBgScanWlanState &aState ) = 0; |
141 |
142 |
142 /** |
143 /** |
143 * Whether background scan is enabled. |
144 * Whether background scan is enabled. |
144 * |
145 * |
145 * @since S60 v5.2 |
146 * @since S60 v5.2 |