|
1 /* |
|
2 * Copyright (c) 2004 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: Implementation of RConnectionUiUtilitiesSession |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDE FILES |
|
21 #include "ConnectionUiUtilitiesClient.h" |
|
22 #include "ConnectionUiUtilitiesCommon.h" |
|
23 #include "e32ver.h" |
|
24 #include "ConnectionDialogsUidDefs.h" |
|
25 #include "ConnectionDialogsLogger.h" |
|
26 |
|
27 |
|
28 // --------------------------------------------------------- |
|
29 // RConnectionUiUtilitiesSession::RConnectionUiUtilitiesSession() |
|
30 // --------------------------------------------------------- |
|
31 // |
|
32 RConnectionUiUtilitiesSession::RConnectionUiUtilitiesSession() |
|
33 : RSessionBase(), |
|
34 iNotifier( NULL ), |
|
35 iBool( EFalse ), |
|
36 iResponseMsgQuery( EMsgQueryCancelled ), |
|
37 iPassedInfo( TConnUiUiDestConnMethodNoteId() ) |
|
38 { |
|
39 } |
|
40 |
|
41 // --------------------------------------------------------- |
|
42 // ~RConnectionUiUtilitiesSession |
|
43 // --------------------------------------------------------- |
|
44 // |
|
45 RConnectionUiUtilitiesSession::~RConnectionUiUtilitiesSession() |
|
46 { |
|
47 delete iNotifier; |
|
48 } |
|
49 |
|
50 // --------------------------------------------------------- |
|
51 // Connect |
|
52 // |
|
53 // Create a session to the extended notifier framework |
|
54 // --------------------------------------------------------- |
|
55 // |
|
56 TInt RConnectionUiUtilitiesSession::Connect() |
|
57 { |
|
58 TInt error( KErrNone ); |
|
59 if ( !iNotifier ) |
|
60 { |
|
61 TRAP( error, iNotifier = new RNotifier() ); |
|
62 } |
|
63 if ( !error && iNotifier ) |
|
64 { |
|
65 error = iNotifier->Connect(); |
|
66 } |
|
67 return error; |
|
68 } |
|
69 |
|
70 // --------------------------------------------------------- |
|
71 // Close |
|
72 // --------------------------------------------------------- |
|
73 // |
|
74 void RConnectionUiUtilitiesSession::Close() |
|
75 { |
|
76 if ( iNotifier ) |
|
77 { |
|
78 iNotifier->Close(); |
|
79 } |
|
80 } |
|
81 |
|
82 // --------------------------------------------------------- |
|
83 // RConnectionUiUtilitiesSession::SearchWLANNetwork() |
|
84 // --------------------------------------------------------- |
|
85 // |
|
86 void RConnectionUiUtilitiesSession::SearchWLANNetwork( |
|
87 TPckgBuf<TConnUiUiWlanNetworkPrefs>& aNetworkPrefs, |
|
88 TRequestStatus& aStatus, |
|
89 TBool aIsAsyncVersion ) |
|
90 { |
|
91 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::SearchWLANNetwork" ); |
|
92 |
|
93 if ( iNotifier ) |
|
94 { |
|
95 ::new( &iBool ) TPckg<TBool>( aIsAsyncVersion ); |
|
96 iNotifier->StartNotifierAndGetResponse( aStatus, KUidSelectWLanDlg, |
|
97 iBool, aNetworkPrefs ); |
|
98 } |
|
99 |
|
100 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::SearchWLANNetwork" ); |
|
101 } |
|
102 |
|
103 // --------------------------------------------------------- |
|
104 // RConnectionUiUtilitiesSession::CancelSearchWLANNetwork() |
|
105 // --------------------------------------------------------- |
|
106 // |
|
107 void RConnectionUiUtilitiesSession::CancelSearchWLANNetwork() |
|
108 { |
|
109 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelSearchWLANNetwork" ); |
|
110 |
|
111 if ( iNotifier ) |
|
112 { |
|
113 iNotifier->CancelNotifier( KUidSelectWLanDlg ); |
|
114 } |
|
115 |
|
116 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelSearchWLANNetwork" ); |
|
117 } |
|
118 |
|
119 // --------------------------------------------------------- |
|
120 // RConnectionUiUtilitiesSession::OffLineWlanNote() |
|
121 // --------------------------------------------------------- |
|
122 // |
|
123 void RConnectionUiUtilitiesSession::OffLineWlanNote( TRequestStatus& aStatus, |
|
124 TBool aIsAsyncVersion ) |
|
125 { |
|
126 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::OffLineWlanNote" ); |
|
127 |
|
128 if ( iNotifier ) |
|
129 { |
|
130 ::new( &iBool ) TPckg<TBool>( aIsAsyncVersion ); |
|
131 iNotifier->StartNotifierAndGetResponse( aStatus, |
|
132 KUidCOfflineWlanNoteDlg, |
|
133 iBool, |
|
134 iResponseStrOffLineWlanNote ); |
|
135 } |
|
136 |
|
137 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::OffLineWlanNote" ); |
|
138 } |
|
139 |
|
140 // --------------------------------------------------------- |
|
141 // RConnectionUiUtilitiesSession::CancelOffLineWlanNote() |
|
142 // --------------------------------------------------------- |
|
143 // |
|
144 void RConnectionUiUtilitiesSession::CancelOffLineWlanNote() |
|
145 { |
|
146 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelOffLineWlanNote" ); |
|
147 |
|
148 if ( iNotifier ) |
|
149 { |
|
150 iNotifier->CancelNotifier( KUidCOfflineWlanNoteDlg ); |
|
151 } |
|
152 |
|
153 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelOffLineWlanNote" ); |
|
154 } |
|
155 |
|
156 // --------------------------------------------------------- |
|
157 // RConnectionUiUtilitiesSession::OffLineWlanDisabledNote() |
|
158 // --------------------------------------------------------- |
|
159 // |
|
160 void RConnectionUiUtilitiesSession::OffLineWlanDisabledNote( |
|
161 TRequestStatus& aStatus ) |
|
162 { |
|
163 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::OffLineWlanDisabledNote" ); |
|
164 |
|
165 if ( iNotifier ) |
|
166 { |
|
167 iNotifier->StartNotifierAndGetResponse( aStatus, |
|
168 KUidCOfflineWlanDisabledNoteDlg, |
|
169 KNullDesC8(), |
|
170 iResponseStrOffLineWlanDisabledNote ); |
|
171 } |
|
172 |
|
173 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::OffLineWlanDisabledNote" ); |
|
174 } |
|
175 |
|
176 // --------------------------------------------------------- |
|
177 // RConnectionUiUtilitiesSession::EasyWepDlg() |
|
178 // --------------------------------------------------------- |
|
179 // |
|
180 void RConnectionUiUtilitiesSession::EasyWepDlg( TPckgBuf< TWepKeyData >& aKey, |
|
181 TRequestStatus& aStatus ) |
|
182 { |
|
183 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::EasyWepDlg" ); |
|
184 |
|
185 if ( iNotifier ) |
|
186 { |
|
187 iNotifier->StartNotifierAndGetResponse( aStatus, KUidEasyWepDlg, |
|
188 aKey, aKey ); |
|
189 } |
|
190 |
|
191 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::EasyWepDlg" ); |
|
192 } |
|
193 |
|
194 // --------------------------------------------------------- |
|
195 // RConnectionUiUtilitiesSession::CancelEasyWepDlg() |
|
196 // --------------------------------------------------------- |
|
197 // |
|
198 void RConnectionUiUtilitiesSession::CancelEasyWepDlg() |
|
199 { |
|
200 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelEasyWepDlg" ); |
|
201 |
|
202 if ( iNotifier ) |
|
203 { |
|
204 iNotifier->CancelNotifier( KUidEasyWepDlg ); |
|
205 } |
|
206 |
|
207 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelEasyWepDlg" ); |
|
208 } |
|
209 |
|
210 // --------------------------------------------------------- |
|
211 // RConnectionUiUtilitiesSession::EasyWpaDlg() |
|
212 // --------------------------------------------------------- |
|
213 // |
|
214 void RConnectionUiUtilitiesSession::EasyWpaDlg( |
|
215 TPckgBuf< TBuf< KEasyWpaQueryMaxLength > >& aKey, |
|
216 TRequestStatus& aStatus ) |
|
217 { |
|
218 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::EasyWpaDlg" ); |
|
219 |
|
220 if ( iNotifier ) |
|
221 { |
|
222 iNotifier->StartNotifierAndGetResponse( aStatus, KUidEasyWpaDlg, |
|
223 aKey, aKey ); |
|
224 } |
|
225 |
|
226 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::EasyWpaDlg" ); |
|
227 } |
|
228 |
|
229 // --------------------------------------------------------- |
|
230 // RConnectionUiUtilitiesSession::CancelEasyWpaDlg() |
|
231 // --------------------------------------------------------- |
|
232 // |
|
233 void RConnectionUiUtilitiesSession::CancelEasyWpaDlg() |
|
234 { |
|
235 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelEasyWpaDlg" ); |
|
236 |
|
237 if ( iNotifier ) |
|
238 { |
|
239 iNotifier->CancelNotifier( KUidEasyWpaDlg ); |
|
240 } |
|
241 |
|
242 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelEasyWpaDlg" ); |
|
243 } |
|
244 |
|
245 // --------------------------------------------------------- |
|
246 // RConnectionUiUtilitiesSession::WLANNetworkUnavailableNote() |
|
247 // --------------------------------------------------------- |
|
248 // |
|
249 void RConnectionUiUtilitiesSession::WLANNetworkUnavailableNote( |
|
250 TRequestStatus& aStatus ) |
|
251 { |
|
252 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::WLANNetworkUnavailableNote" ); |
|
253 |
|
254 if ( iNotifier ) |
|
255 { |
|
256 iNotifier->StartNotifierAndGetResponse( aStatus, |
|
257 KUidWLANNetworkUnavailableNoteDlg, |
|
258 KNullDesC8(), |
|
259 iResponseStrWLANNetworkUnavailableNote ); |
|
260 } |
|
261 |
|
262 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::WLANNetworkUnavailableNote" ); |
|
263 } |
|
264 |
|
265 // --------------------------------------------------------- |
|
266 // RConnectionUiUtilitiesSession::ConnectedViaDestAndConnMethodNote |
|
267 // --------------------------------------------------------- |
|
268 // |
|
269 void RConnectionUiUtilitiesSession::ConnectedViaDestAndConnMethodNote( |
|
270 const TUint32 aDestId, |
|
271 const TUint32 aConnMId, |
|
272 TRequestStatus& aStatus ) |
|
273 { |
|
274 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConnectedViaDestAndConnMethodNote" ); |
|
275 |
|
276 ::new( &iPassedInfo ) TPckgBuf<TConnUiUiDestConnMethodNoteId>( |
|
277 TConnUiUiDestConnMethodNoteId() ); |
|
278 |
|
279 iPassedInfo().iDestination = aDestId; |
|
280 iPassedInfo().iConnectionMethod = aConnMId; |
|
281 iPassedInfo().iNoteId = EConnectedViaDestConnMethodConfirmationNote; |
|
282 iPassedInfo().iNextBestExists = EFalse; |
|
283 |
|
284 if ( iNotifier ) |
|
285 { |
|
286 iNotifier->StartNotifierAndGetResponse( aStatus, |
|
287 KUidConnectViaNote, |
|
288 iPassedInfo, |
|
289 iBool ); |
|
290 } |
|
291 |
|
292 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConnectedViaDestAndConnMethodNote" ); |
|
293 } |
|
294 |
|
295 // --------------------------------------------------------- |
|
296 // RConnectionUiUtilitiesSession::CancelConnectedViaDestAndConnMethodNote |
|
297 // --------------------------------------------------------- |
|
298 // |
|
299 void RConnectionUiUtilitiesSession::CancelConnectedViaDestAndConnMethodNote() |
|
300 { |
|
301 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConnectedViaDestAndConnMethodNote" ); |
|
302 |
|
303 if ( iNotifier ) |
|
304 { |
|
305 iNotifier->CancelNotifier( KUidConnectViaNote ); |
|
306 } |
|
307 |
|
308 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConnectedViaDestAndConnMethodNote" ); |
|
309 } |
|
310 |
|
311 |
|
312 // --------------------------------------------------------- |
|
313 // RConnectionUiUtilitiesSession::ChangingConnectionToNote |
|
314 // --------------------------------------------------------- |
|
315 // |
|
316 void RConnectionUiUtilitiesSession::ChangingConnectionToNote( |
|
317 const TUint32 aConnMId, |
|
318 TRequestStatus& aStatus ) |
|
319 { |
|
320 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ChangingConnectionToNote" ); |
|
321 |
|
322 ::new( &iPassedInfo ) TPckgBuf<TConnUiUiDestConnMethodNoteId>( |
|
323 TConnUiUiDestConnMethodNoteId() ); |
|
324 |
|
325 iPassedInfo().iDestination = 0; |
|
326 iPassedInfo().iConnectionMethod = aConnMId; |
|
327 iPassedInfo().iNoteId = EConnectingToConnMethodInfoNote; |
|
328 iPassedInfo().iNextBestExists = EFalse; |
|
329 |
|
330 if ( iNotifier ) |
|
331 { |
|
332 iNotifier->StartNotifierAndGetResponse( aStatus, |
|
333 KUidConnectViaNote, |
|
334 iPassedInfo, |
|
335 iBool ); |
|
336 } |
|
337 |
|
338 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ChangingConnectionToNote" ); |
|
339 } |
|
340 |
|
341 // --------------------------------------------------------- |
|
342 // RConnectionUiUtilitiesSession::CancelChangingConnectionToNote |
|
343 // --------------------------------------------------------- |
|
344 // |
|
345 void RConnectionUiUtilitiesSession::CancelChangingConnectionToNote() |
|
346 { |
|
347 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelChangingConnectionToNote" ); |
|
348 |
|
349 if ( iNotifier ) |
|
350 { |
|
351 iNotifier->CancelNotifier( KUidConnectViaNote ); |
|
352 } |
|
353 |
|
354 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelChangingConnectionToNote" ); |
|
355 } |
|
356 |
|
357 // --------------------------------------------------------- |
|
358 // RConnectionUiUtilitiesSession::ConfirmMethodUsageQuery() |
|
359 // --------------------------------------------------------- |
|
360 // |
|
361 void RConnectionUiUtilitiesSession::ConfirmMethodUsageQuery( |
|
362 TMsgQueryLinkedResults& aResult, |
|
363 TBool aHomeNetwork, |
|
364 TRequestStatus& aStatus ) |
|
365 { |
|
366 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConfirmMethodUsageQuery" ); |
|
367 |
|
368 ::new( &iResponseMsgQuery ) TPckg<TMsgQueryLinkedResults>( aResult ); |
|
369 ::new( &iPassedInfo ) TPckgBuf<TConnUiUiDestConnMethodNoteId>( |
|
370 TConnUiUiDestConnMethodNoteId() ); |
|
371 |
|
372 iPassedInfo().iNoteId = EConfirmMethodUsageQuery; |
|
373 |
|
374 // Set the dialog type depending on the location |
|
375 if ( aHomeNetwork ) |
|
376 { |
|
377 iPassedInfo().iNoteId = EConfirmMethodUsageQueryInHomeNetwork; |
|
378 } |
|
379 else |
|
380 { |
|
381 iPassedInfo().iNoteId = EConfirmMethodUsageQueryInForeignNetwork; |
|
382 } |
|
383 |
|
384 if ( iNotifier ) |
|
385 { |
|
386 iNotifier->StartNotifierAndGetResponse( aStatus, KUidConfirmationQuery, |
|
387 iPassedInfo, iResponseMsgQuery ); |
|
388 } |
|
389 |
|
390 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConfirmMethodUsageQuery" ); |
|
391 } |
|
392 |
|
393 // --------------------------------------------------------- |
|
394 // RConnectionUiUtilitiesSession::CancelConfirmMethodUsageQuery() |
|
395 // --------------------------------------------------------- |
|
396 // |
|
397 void RConnectionUiUtilitiesSession::CancelConfirmMethodUsageQuery() |
|
398 { |
|
399 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConfirmMethodUsageQuery" ); |
|
400 |
|
401 if ( iNotifier ) |
|
402 { |
|
403 iNotifier->CancelNotifier( KUidConfirmationQuery ); |
|
404 } |
|
405 |
|
406 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConfirmMethodUsageQuery" ); |
|
407 } |
|
408 |
|
409 |
|
410 // --------------------------------------------------------- |
|
411 // RConnectionUiUtilitiesSession::ConnectedViaConnMethodNote |
|
412 // --------------------------------------------------------- |
|
413 // |
|
414 void RConnectionUiUtilitiesSession::ConnectedViaConnMethodNote( |
|
415 const TUint32 aConnMId, |
|
416 TRequestStatus& aStatus ) |
|
417 { |
|
418 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConnectedViaConnMethodNote" ); |
|
419 |
|
420 ::new( &iPassedInfo ) TPckgBuf<TConnUiUiDestConnMethodNoteId>( |
|
421 TConnUiUiDestConnMethodNoteId() ); |
|
422 |
|
423 iPassedInfo().iDestination = 0; |
|
424 iPassedInfo().iConnectionMethod = aConnMId; |
|
425 iPassedInfo().iNoteId = EConnectedViaConnMethodConfirmationNote; |
|
426 iPassedInfo().iNextBestExists = EFalse; |
|
427 |
|
428 if ( iNotifier ) |
|
429 { |
|
430 iNotifier->StartNotifierAndGetResponse( aStatus, |
|
431 KUidConnectViaNote, |
|
432 iPassedInfo, |
|
433 iBool ); |
|
434 } |
|
435 |
|
436 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConnectedViaConnMethodNote" ); |
|
437 } |
|
438 |
|
439 // --------------------------------------------------------- |
|
440 // RConnectionUiUtilitiesSession::CancelConnectedViaConnMethodNote |
|
441 // --------------------------------------------------------- |
|
442 // |
|
443 void RConnectionUiUtilitiesSession::CancelConnectedViaConnMethodNote() |
|
444 { |
|
445 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConnectedViaConnMethodNote" ); |
|
446 |
|
447 if ( iNotifier ) |
|
448 { |
|
449 iNotifier->CancelNotifier( KUidConnectViaNote ); |
|
450 } |
|
451 |
|
452 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConnectedViaConnMethodNote" ); |
|
453 } |
|
454 |
|
455 // --------------------------------------------------------- |
|
456 // RConnectionUiUtilitiesSession::CWlanPowerSaveTestNote |
|
457 // --------------------------------------------------------- |
|
458 // |
|
459 void RConnectionUiUtilitiesSession::WlanPowerSaveTestNote( |
|
460 TBool& aDisable, |
|
461 TRequestStatus& aStatus ) |
|
462 { |
|
463 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::WlanPowerSaveTestNote" ); |
|
464 |
|
465 ::new( &iBool ) TPckg< TBool >( aDisable ); |
|
466 |
|
467 if ( iNotifier ) |
|
468 { |
|
469 iNotifier->StartNotifierAndGetResponse( aStatus, |
|
470 KUidWlanPowerSaveTestNote, |
|
471 KNullDesC8(), |
|
472 iBool ); |
|
473 } |
|
474 |
|
475 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::WlanPowerSaveTestNote" ); |
|
476 } |
|
477 |
|
478 // --------------------------------------------------------- |
|
479 // RConnectionUiUtilitiesSession::CancelWlanPowerSaveTestNote |
|
480 // --------------------------------------------------------- |
|
481 // |
|
482 void RConnectionUiUtilitiesSession::CancelWlanPowerSaveTestNote() |
|
483 { |
|
484 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelWlanPowerSaveTestNote" ); |
|
485 |
|
486 if ( iNotifier ) |
|
487 { |
|
488 iNotifier->CancelNotifier( KUidWlanPowerSaveTestNote ); |
|
489 } |
|
490 |
|
491 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelWlanPowerSaveTestNote" ); |
|
492 } |
|
493 |
|
494 // --------------------------------------------------------- |
|
495 // RConnectionUiUtilitiesSession::EasyWapiDlg() |
|
496 // --------------------------------------------------------- |
|
497 // |
|
498 void RConnectionUiUtilitiesSession::EasyWapiDlg( |
|
499 TPckgBuf< TBuf< KEasyWapiQueryMaxLength > >& aKey, |
|
500 TRequestStatus& aStatus ) |
|
501 { |
|
502 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::EasyWapiDlg" ); |
|
503 |
|
504 if ( iNotifier ) |
|
505 { |
|
506 iNotifier->StartNotifierAndGetResponse( aStatus, KUidEasyWapiDlg, |
|
507 aKey, aKey ); |
|
508 } |
|
509 |
|
510 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::EasyWapiDlg" ); |
|
511 } |
|
512 |
|
513 // --------------------------------------------------------- |
|
514 // RConnectionUiUtilitiesSession::CancelEasyWapiDlg() |
|
515 // --------------------------------------------------------- |
|
516 // |
|
517 void RConnectionUiUtilitiesSession::CancelEasyWapiDlg() |
|
518 { |
|
519 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelEasyWapiDlg" ); |
|
520 |
|
521 if ( iNotifier ) |
|
522 { |
|
523 iNotifier->CancelNotifier( KUidEasyWapiDlg ); |
|
524 } |
|
525 |
|
526 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelEasyWapiDlg" ); |
|
527 } |
|
528 |
|
529 // --------------------------------------------------------- |
|
530 // RConnectionUiUtilitiesSession::NoWLANNetworksAvailableNote() |
|
531 // --------------------------------------------------------- |
|
532 // |
|
533 void RConnectionUiUtilitiesSession::NoWLANNetworksAvailableNote( |
|
534 TRequestStatus& aStatus ) |
|
535 { |
|
536 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::NoWLANNetworksAvailableNote" ); |
|
537 |
|
538 if ( iNotifier ) |
|
539 { |
|
540 iNotifier->StartNotifierAndGetResponse( aStatus, |
|
541 KUidNoWLANNetworksAvailableNote, |
|
542 KNullDesC8(), |
|
543 iResponseStrNoWLANNetworksAvailableNote ); |
|
544 } |
|
545 |
|
546 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::NoWLANNetworksAvailableNote" ); |
|
547 } |
|
548 |
|
549 // --------------------------------------------------------- |
|
550 // RConnectionUiUtilitiesSession::ConnectingViaDiscreetPopup() |
|
551 // --------------------------------------------------------- |
|
552 // |
|
553 void RConnectionUiUtilitiesSession::ConnectingViaDiscreetPopup( |
|
554 TPckgBuf< TConnUiConnectingViaDiscreetPopup>& aInfo, |
|
555 TRequestStatus& aStatus ) |
|
556 { |
|
557 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConnectingViaDiscreetPopup" ); |
|
558 |
|
559 if ( iNotifier ) |
|
560 { |
|
561 iNotifier->StartNotifierAndGetResponse( aStatus, KUidConnectingViaDiscreetPopup, |
|
562 aInfo, aInfo ); |
|
563 } |
|
564 |
|
565 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConnectingViaDiscreetPopup" ); |
|
566 } |
|
567 |
|
568 // --------------------------------------------------------- |
|
569 // RConnectionUiUtilitiesSession::CancelConnectingViaDiscreetPopup() |
|
570 // --------------------------------------------------------- |
|
571 // |
|
572 void RConnectionUiUtilitiesSession::CancelConnectingViaDiscreetPopup() |
|
573 { |
|
574 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConnectingViaDiscreetPopup" ); |
|
575 |
|
576 if ( iNotifier ) |
|
577 { |
|
578 iNotifier->CancelNotifier( KUidConnectingViaDiscreetPopup ); |
|
579 } |
|
580 |
|
581 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConnectingViaDiscreetPopup" ); |
|
582 } |
|
583 |
|
584 |
|
585 // --------------------------------------------------------- |
|
586 // RConnectionUiUtilitiesSession::ConnectionErrorDiscreetPopup() |
|
587 // --------------------------------------------------------- |
|
588 // |
|
589 void RConnectionUiUtilitiesSession::ConnectionErrorDiscreetPopup( |
|
590 TPckgBuf< TInt >& aErrCode, |
|
591 TRequestStatus& aStatus ) |
|
592 { |
|
593 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConnectionErrorDiscreetPopup" ); |
|
594 |
|
595 if ( iNotifier ) |
|
596 { |
|
597 iNotifier->StartNotifierAndGetResponse( aStatus, KUidConnectionErrorDiscreetPopup, |
|
598 aErrCode, aErrCode ); |
|
599 } |
|
600 |
|
601 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConnectionErrorDiscreetPopup" ); |
|
602 } |
|
603 |
|
604 // --------------------------------------------------------- |
|
605 // RConnectionUiUtilitiesSession::CancelConnectionErrorDiscreetPopup() |
|
606 // --------------------------------------------------------- |
|
607 // |
|
608 void RConnectionUiUtilitiesSession::CancelConnectionErrorDiscreetPopup() |
|
609 { |
|
610 CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConnectionErrorDiscreetPopup" ); |
|
611 |
|
612 if ( iNotifier ) |
|
613 { |
|
614 iNotifier->CancelNotifier( KUidConnectionErrorDiscreetPopup ); |
|
615 } |
|
616 |
|
617 CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConnectionErrorDiscreetPopup" ); |
|
618 } |
|
619 |
|
620 // End of File |