equal
deleted
inserted
replaced
14 * Description: Contains the class for handling platform-specific functionality. |
14 * Description: Contains the class for handling platform-specific functionality. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 /* |
18 /* |
19 * %version: 12 % |
19 * %version: 13 % |
20 */ |
20 */ |
21 |
21 |
22 #ifndef WLMPLATFORM_H |
22 #ifndef WLMPLATFORM_H |
23 #define WLMPLATFORM_H |
23 #define WLMPLATFORM_H |
24 |
24 |
101 /** |
101 /** |
102 * WLAN region cache is always cleared after defined time. |
102 * WLAN region cache is always cleared after defined time. |
103 */ |
103 */ |
104 virtual void ClearRegionCache() = 0; |
104 virtual void ClearRegionCache() = 0; |
105 |
105 |
|
106 /** |
|
107 * WLAN has been set ON. |
|
108 */ |
|
109 virtual void WlanOn() = 0; |
|
110 |
|
111 /** |
|
112 * WLAN has been set OFF. |
|
113 */ |
|
114 virtual void WlanOff() = 0; |
|
115 |
106 }; |
116 }; |
107 |
117 |
108 /** |
118 /** |
109 * Class for handling platform specific functionality. |
119 * Class for handling platform specific functionality. |
110 * @lib wlmplatform.dll |
120 * @lib wlmplatform.dll |
183 /** |
193 /** |
184 * Publishes WLAN background scan interval. |
194 * Publishes WLAN background scan interval. |
185 * @param aInterval WLAN BG scan interval in seconds. |
195 * @param aInterval WLAN BG scan interval in seconds. |
186 */ |
196 */ |
187 IMPORT_C void PublishBgScanInterval( TUint32& aInterval ); |
197 IMPORT_C void PublishBgScanInterval( TUint32& aInterval ); |
|
198 |
|
199 /** |
|
200 * Get current WLAN on/off state. |
|
201 * @return WLAN on/off state. |
|
202 */ |
|
203 IMPORT_C TWlanOnOffState GetWlanOnOffState(); |
188 |
204 |
189 protected: // Methods |
205 protected: // Methods |
190 |
206 |
191 // Methods from base classes |
207 // Methods from base classes |
192 |
208 |
217 |
233 |
218 /** |
234 /** |
219 * (From MWlmSystemNotify) BT connection has been disconnected. |
235 * (From MWlmSystemNotify) BT connection has been disconnected. |
220 */ |
236 */ |
221 void BtConnectionDisabled(); |
237 void BtConnectionDisabled(); |
|
238 |
|
239 /** |
|
240 * (From MWlmSystemNotify) WLAN has been set ON. |
|
241 */ |
|
242 void WlanOn(); |
|
243 |
|
244 /** |
|
245 * (From MWlmSystemNotify) WLAN has been set OFF. |
|
246 */ |
|
247 void WlanOff(); |
222 |
248 |
223 /** |
249 /** |
224 * (From MWlanSystemTimeCallback) |
250 * (From MWlanSystemTimeCallback) |
225 * User has changed the time and therefore cached WLAN region is not valid anymore. |
251 * User has changed the time and therefore cached WLAN region is not valid anymore. |
226 */ |
252 */ |