368 * "Selected WLAN network has no coverage" |
368 * "Selected WLAN network has no coverage" |
369 */ |
369 */ |
370 void WLANNetworkUnavailableNote(); |
370 void WLANNetworkUnavailableNote(); |
371 |
371 |
372 /** |
372 /** |
|
373 * DEPRECATED, PLEASE USE ASYNC VERSION! |
|
374 * Confirmation note is used after the connection has been successfully |
|
375 * established via destination and connection method. |
|
376 * @param aDestId Id of used destination. |
|
377 * @param aConnMId Id of used connection method. |
|
378 */ |
|
379 void ConnectedViaDestAndConnMethodNote( const TUint32 aDestId, |
|
380 const TUint32 aConnMId ); |
|
381 |
|
382 /** |
|
383 * Confirmation note is used after the connection has been successfully |
|
384 * established via destination and connection method. |
|
385 * @param aDestId Id of used destination. |
|
386 * @param aConnMId Id of used connection method. |
|
387 * @param aStatus caller's TRequestStatus to handle asynchronous call. |
|
388 */ |
|
389 void ConnectedViaDestAndConnMethodNote( const TUint32 aDestId, |
|
390 const TUint32 aConnMId, |
|
391 TRequestStatus& aStatus ); |
|
392 |
|
393 /** |
|
394 * Cancel ConnectedViaDestAndConnMethodNote notifier. |
|
395 */ |
|
396 void CancelConnectedViaDestAndConnMethodNote(); |
|
397 |
|
398 |
|
399 /** |
|
400 * Information note is used when "Automatically" roaming is enabled. The |
|
401 * actual connection establishment take places in the background |
|
402 * (no wait note). |
|
403 * @param aConnMId Id of used connection method. |
|
404 */ |
|
405 void ChangingConnectionToNote( const TUint32 aConnMId ); |
|
406 |
|
407 /** |
|
408 * Information note is used when "Automatically" roaming is enabled. The |
|
409 * actual connection establishment take places in the background |
|
410 * (no wait note). |
|
411 * @param aConnMId Id of used connection method. |
|
412 * @param aStatus Status object of notifier. |
|
413 */ |
|
414 void ChangingConnectionToNote( const TUint32 aConnMId, |
|
415 TRequestStatus& aStatus ); |
|
416 |
|
417 /** |
|
418 * Cancel ChangingConnectionToNote notifier. |
|
419 */ |
|
420 void CancelChangingConnectionToNote(); |
|
421 |
|
422 /** |
373 * Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?" |
423 * Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?" |
374 * @param aResult Result of user selection, ETrue if user accepted |
424 * @param aResult Result of user selection, ETrue if user accepted |
375 * roaming, to more preferred method, EFlase otherwise |
425 * roaming, to more preferred method, EFlase otherwise |
376 * @param aHomeNetwork home or foreign network |
426 * @param aHomeNetwork home or foreign network |
377 * @param aStatus Status object of notifier. |
427 * @param aStatus Status object of notifier. |
384 * Cancel ConfirmMethodUsageQuery |
434 * Cancel ConfirmMethodUsageQuery |
385 */ |
435 */ |
386 void CancelConfirmMethodUsageQuery(); |
436 void CancelConfirmMethodUsageQuery(); |
387 |
437 |
388 /** |
438 /** |
389 * This note is displayed when power-save feature of the WLAN station |
439 * DEPRECATED, PLEASE USE ASYNC VERSION! |
390 * is incompatible and thus battery consumption of the mobile will increase. |
440 * Confirmation note is used after the connection has been successfully |
391 * @param aDisable ETrue if user wants to disable this note in the future. |
441 * established via a connection method. |
392 * @param aStatus Status object of notifier. |
442 * @param aConnMId Id of used connection method. |
393 */ |
443 */ |
394 void WlanPowerSaveTestNote( TBool& aDisable, TRequestStatus& aStatus ); |
444 void ConnectedViaConnMethodNote( const TUint32 aConnMId ); |
395 |
445 |
396 /** |
446 /** |
397 * Cancel WlanPowerSaveTestNote notifier. |
447 * Confirmation note is used after the connection has been successfully |
398 */ |
448 * established via a connection method. |
399 void CancelWlanPowerSaveTestNote(); |
449 * @param aConnMId Id of used connection method. |
|
450 * @param aStatus caller's TRequestStatus to handle asynchronous call. |
|
451 */ |
|
452 void ConnectedViaConnMethodNote( const TUint32 aConnMId, |
|
453 TRequestStatus& aStatus ); |
|
454 /** |
|
455 * Cancel ConnectedViaConnMethodNote notifier. |
|
456 */ |
|
457 void CancelConnectedViaConnMethodNote(); |
400 |
458 |
401 /** |
459 /** |
402 * Notifier. Query for prompting WAPI-PSK. |
460 * Notifier. Query for prompting WAPI-PSK. |
403 * Displays a query: "Enter pre-shared key for WLAN" |
461 * Displays a query: "Enter pre-shared key for WLAN" |
404 * @param aKey Key entered by user |
462 * @param aKey Key entered by user |
405 * @return ETrue if user select OK, EFalse otherwise |
463 * @return ETrue if user select OK, EFalse otherwise |
406 */ |
464 */ |
407 TBool EasyWapiDlg( TDes* aKey ); |
465 TBool EasyWapiDlg( TDes* aKey ); |
408 |
466 |
409 /** |
467 /** |
410 * Discreet popup. Shows "Connecting" discreet popup |
468 * Pops up an information note: |
411 */ |
469 * "No WLAN networks are available at the moment. Connection not available." |
412 void ConnectingViaDiscreetPopup( ); |
470 */ |
|
471 void NoWLANNetworksAvailableNote(); |
413 |
472 |
414 /** |
473 /** |
415 * Discreet popup. Shows "Connecting via %U" discreet popup |
474 * Discreet popup. Shows "Connecting via %U" discreet popup |
416 * @param aIapId IAP id of the access point. |
475 * @param aIapId IAP id of the access point. |
417 * @param aConnectionAlreadyActive True if connection is already active |
476 */ |
418 * (shared). |
477 void ConnectingViaDiscreetPopup( const TUint32& aIapId ); |
419 */ |
478 |
420 void ConnectingViaDiscreetPopup( const TUint32& aIapId, |
479 |
421 TBool aConnectionAlreadyActive ); |
|
422 |
|
423 /** |
|
424 * Cancels (hides) "Connecting via %U" discreet popup. |
|
425 */ |
|
426 void CancelConnectingViaDiscreetPopup(); |
|
427 |
|
428 /** |
480 /** |
429 * Discreet popup. Shows discreet popup about connection errors |
481 * Discreet popup. Shows discreet popup about connection errors |
430 * @param aErrorCode Error code |
482 * @param aErrorCode Error code |
431 */ |
483 */ |
432 void ConnectionErrorDiscreetPopup( const TInt& aErrorCode ); |
484 void ConnectionErrorDiscreetPopup( const TInt& aErrorCode ); |
474 CActiveWrapper* iActiveWrapper[KNumberOfWrappedDialogs]; |
526 CActiveWrapper* iActiveWrapper[KNumberOfWrappedDialogs]; |
475 |
527 |
476 // buffer for passing WAPI key between client and server |
528 // buffer for passing WAPI key between client and server |
477 TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > iWapiKey; |
529 TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > iWapiKey; |
478 |
530 |
479 // Connection status (via, error) implementation |
531 // buffer for passing connecting discreet popup info |
480 CConnectionStatusPopup* iConnStatusPopup; |
532 TPckgBuf< TConnUiConnectingViaDiscreetPopup > iConnInfo; |
481 |
533 |
482 }; |
534 }; |
483 |
535 |
484 |
536 |
485 #endif // CONNECTIONUIUTILITIESIMPL_H |
537 #endif // CONNECTIONUIUTILITIESIMPL_H |