class CConnectionUiUtilities : public CBase |
Public Member Functions | |
---|---|
~CConnectionUiUtilities () | |
IMPORT_C TBool | AlwaysAskPageL ( TCuuAlwaysAskResults &) |
IMPORT_C void | CancelChangingConnectionToNote () |
IMPORT_C void | CancelConfirmMethodUsageQuery () |
IMPORT_C void | CancelConnectedViaConnMethodNote () |
IMPORT_C void | CancelConnectedViaDestAndConnMethodNote () |
IMPORT_C void | CancelEasyWepDlg () |
IMPORT_C void | CancelEasyWpaDlg () |
IMPORT_C void | CancelOffLineWlanNote () |
IMPORT_C void | CancelReconnectToMethodQuery () |
IMPORT_C void | CancelRoamingToMorePrefMethodQuery () |
IMPORT_C void | CancelSearchWLANNetwork () |
IMPORT_C TBool | ChangeConnectionL ( TUint32 &, TConnectionPrefs ) |
IMPORT_C void | ChangingConnectionToNote (const TUint32 ) |
IMPORT_C void | ChangingConnectionToNote (const TUint32 , TRequestStatus &) |
IMPORT_C void | ConfirmMethodUsageQuery (const TUint32 , const TUint32 , TBool &, TRequestStatus &) |
IMPORT_C void | ConfirmMethodUsageQuery ( TMsgQueryLinkedResults &, const TBool , TRequestStatus &) |
IMPORT_C void | ConnectedViaConnMethodNote (const TUint32 ) |
void | ConnectedViaConnMethodNote (const TUint32 , TRequestStatus &) |
IMPORT_C void | ConnectedViaDestAndConnMethodNote (const TUint32 , const TUint32 ) |
void | ConnectedViaDestAndConnMethodNote (const TUint32 , const TUint32 , TRequestStatus &) |
IMPORT_C void | ConnectingViaDiscreetPopup (const TUint32 &) |
IMPORT_C void | ConnectionErrorDiscreetPopup (const TInt &) |
IMPORT_C TBool | EasyWapiDlg ( TDes *) |
IMPORT_C TBool | EasyWepDlg ( TDes *) |
IMPORT_C TBool | EasyWepDlg ( TDes *, TBool &) |
IMPORT_C void | EasyWepDlg ( TRequestStatus &, TDes *, TBool &) |
IMPORT_C TBool | EasyWpaDlg ( TDes *) |
IMPORT_C void | EasyWpaDlg ( TRequestStatus &, TDes *) |
IMPORT_C CConnectionUiUtilities * | NewL () |
IMPORT_C void | NoWLANNetworksAvailableNote () |
IMPORT_C void | OffLineWlanDisabledNote () |
IMPORT_C TBool | OffLineWlanNote () |
IMPORT_C void | OffLineWlanNote ( TRequestStatus &) |
IMPORT_C void | ReconnectToMethodQuery (const TUint32 , TBool &, TRequestStatus &) |
IMPORT_C void | ReconnectToMethodQuery (const TUint32 , const TUint32 , const TBool , TMsgQueryLinkedResults &, TRequestStatus &) |
IMPORT_C void | RoamingToMorePrefMethodQuery (const TUint32 , TBool &, TRequestStatus &) |
IMPORT_C void | RoamingToMorePrefMethodQuery (const TUint32 , const TUint32 , const TBool , TMsgQueryLinkedResults &, TRequestStatus &) |
IMPORT_C TBool | SearchWLANNetwork ( TWlanSsid &) |
IMPORT_C TBool | SearchWLANNetwork ( TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &) |
IMPORT_C TBool | SearchWLANNetwork ( TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &) |
IMPORT_C TBool | SearchWLANNetwork ( TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &) |
IMPORT_C TBool | SearchWLANNetwork ( TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &, TBool &) |
IMPORT_C void | SearchWLANNetworkAsync ( TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &) |
IMPORT_C void | SearchWLANNetworkAsync ( TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &) |
IMPORT_C void | SearchWLANNetworkAsync ( TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &) |
IMPORT_C void | SearchWLANNetworkAsync ( TRequestStatus &, TWlanSsid &, TWlanConnectionMode &, TWlanConnectionExtentedSecurityMode &, TBool &) |
IMPORT_C TBool | SearchWLANNetworkSync ( TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &) |
IMPORT_C TBool | SearchWLANNetworkSync ( TWlanSsid &, TWlanConnectionMode &, TWlanConnectionSecurityMode &, TBool &) |
IMPORT_C void | ShowConnectionChangedNoteL (const TUint32 &) |
IMPORT_C void | WLANNetworkUnavailableNote () |
Private Attributes | |
---|---|
CConnectionUiUtilitiesImpl * | iImpl |
IMPORT_C TBool | AlwaysAskPageL | ( | TCuuAlwaysAskResults & | aResult | ) |
TCuuAlwaysAskResults & aResult | contains ECuuAlwaysAsk if always ask radio button was selected, and ECuuUserDefined if user defined radio button was selected by user It acts also as input parameter to default this setting. |
IMPORT_C void | CancelChangingConnectionToNote | ( | ) |
Cancel ChangingConnectionToNote notifier.
IMPORT_C void | CancelConfirmMethodUsageQuery | ( | ) |
Cancel ConfirmMethodUsageQuery
IMPORT_C void | CancelConnectedViaConnMethodNote | ( | ) |
Cancel ConnectedViaConnMethodNote notifier.
IMPORT_C void | CancelConnectedViaDestAndConnMethodNote | ( | ) |
Cancel ConnectedViaDestAndConnMethodNote notifier.
IMPORT_C void | CancelReconnectToMethodQuery | ( | ) |
Cancel ReconnectToMethodQuery notifier.
IMPORT_C void | CancelRoamingToMorePrefMethodQuery | ( | ) |
Cancel RoamingToMorePrefMethodQuery notifier.
IMPORT_C TBool | ChangeConnectionL | ( | TUint32 & | aIAPId, |
TConnectionPrefs | aPrefs | |||
) |
TUint32 & aIAPId | gives back the iapid of selected connection |
TConnectionPrefs aPrefs | Specifies the rank and desired direction and bearer of the connections will appear in the dialog |
IMPORT_C void | ChangingConnectionToNote | ( | const TUint32 | aConnMId | ) |
Information note is used when "Automatically" roaming is enabled. The actual connection establishment take places in the background (no wait note).
const TUint32 aConnMId | Id of used connection method. |
IMPORT_C void | ChangingConnectionToNote | ( | const TUint32 | aConnMId, |
TRequestStatus & | aStatus | |||
) |
Information note is used when "Automatically" roaming is enabled. The actual connection establishment take places in the background (no wait note). This is the asynchronous version of the previous one
const TUint32 aConnMId | Id of used connection method. |
TRequestStatus & aStatus | Status object of the notifier |
IMPORT_C void | ConfirmMethodUsageQuery | ( | const TUint32 | aDestId, |
const TUint32 | aConnMId, | |||
TBool & | aResult, | |||
TRequestStatus & | aStatus | |||
) |
Use void ConfirmMethodUsageQuery( const TUint32 aDestId, const TUint32 aConnMId, const TBool aNextBestExists, TMsgQueryLinkedResults& aResult, TRequestStatus & aStatus );
Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
TBool & aResult | Result of user selection, ETrue if user accepted query, EFalse otherwise |
TRequestStatus & aStatus | Status object of notifier. |
IMPORT_C void | ConfirmMethodUsageQuery | ( | TMsgQueryLinkedResults & | aResult, |
const TBool | aHomeNetwork, | |||
TRequestStatus & | aStatus | |||
) |
Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
TMsgQueryLinkedResults & aResult | Result of user selection |
const TBool aHomeNetwork | Home or foreign network. |
TRequestStatus & aStatus | Status object of notifier |
IMPORT_C void | ConnectedViaConnMethodNote | ( | const TUint32 | aConnMId | ) |
DEPRECATED, PLEASE USE ASYNC VERSION! Confirmation note is used after the connection has been successfully established via a connection method.
const TUint32 aConnMId | Id of used connection method. |
void | ConnectedViaConnMethodNote | ( | const TUint32 | aConnMId, |
TRequestStatus & | aStatus | |||
) |
Confirmation note is used after the connection has been successfully established via a connection method.
const TUint32 aConnMId | Id of used connection method. |
TRequestStatus & aStatus | caller's TRequestStatus to handle asynchronous call. |
IMPORT_C void | ConnectedViaDestAndConnMethodNote | ( | const TUint32 | aDestId, |
const TUint32 | aConnMId | |||
) |
DEPRECATED, PLEASE USE ASYNC VERSION! Confirmation note is used after the connection has been successfully established via destination and connection method.
void | ConnectedViaDestAndConnMethodNote | ( | const TUint32 | aDestId, |
const TUint32 | aConnMId, | |||
TRequestStatus & | aStatus | |||
) |
Confirmation note is used after the connection has been successfully established via destination and connection method.
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
TRequestStatus & aStatus | caller's TRequestStatus to handle asynchronous call. |
IMPORT_C void | ConnectingViaDiscreetPopup | ( | const TUint32 & | aIAPId | ) |
Pops up discreet popup indicating that connection is being established to the given access point. This method should only be used from the MPM in order to provide a consistent popup behavior across the platform.
const TUint32 & aIAPId | The id of the access point. |
IMPORT_C void | ConnectionErrorDiscreetPopup | ( | const TInt & | aErrorCode | ) |
Pops up a discreet popup indicating a connection error. Only appropriate error codes show the popup, otherwise (such as with general errors) the popup is not shown. This method should only be used from the MPM in order to provide a consistent popup behavior across the platform.
const TInt & aErrorCode |
IMPORT_C TBool | EasyWapiDlg | ( | TDes * | aKey | ) |
Notifier. Shows a data query prompting for WAPI pre-shared key.
TDes * aKey | Key entered by user. Default value can be passed |
IMPORT_C TBool | EasyWepDlg | ( | TDes * | aKey | ) |
Use TBool EasyWepDlg( TDes* aKey, TBool& aHex ) !
Notifier. Shows a data query, "Enter WEP key for WLAN"
TDes * aKey | Key entered by user. Default value can be passed |
IMPORT_C TBool | EasyWepDlg | ( | TDes * | aKey, |
TBool & | aHex | |||
) |
Notifier. Shows a data query, "Enter WEP key for WLAN"
IMPORT_C void | EasyWepDlg | ( | TRequestStatus & | aStatus, |
TDes * | aKey, | |||
TBool & | aHex | |||
) |
Notifier. Shows a data query, "Enter WEP key for WLAN" Async version
TRequestStatus & aStatus | caller's TRequestStatus to handle asynchronous call. |
TDes * aKey | Key entered by user. Default value can be passed |
TBool & aHex | Returns ETrue if user entered hexadecimal key, EFalse, if user entered ASCII key |
IMPORT_C TBool | EasyWpaDlg | ( | TDes * | aKey | ) |
Notifier. Shows a data query, "Enter pre-shared key for WLAN"
TDes * aKey | Key entered by user. Default value can be passed |
IMPORT_C void | EasyWpaDlg | ( | TRequestStatus & | aStatus, |
TDes * | aKey | |||
) |
Notifier. Shows a data query, "Enter pre-shared key for WLAN" Async version
TRequestStatus & aStatus | caller's TRequestStatus to handle asynchronous call. |
TDes * aKey | Key entered by user. Default value can be passed |
IMPORT_C CConnectionUiUtilities * | NewL | ( | ) | [static] |
Two-phased constructor. Leaves on failure.
IMPORT_C void | NoWLANNetworksAvailableNote | ( | ) |
Notifier. Pops up an information note: "No WLAN networks are available at the moment. Connection not available."
IMPORT_C void | OffLineWlanDisabledNote | ( | ) |
Notifier. Pops up an information note: "Operation not possible in Off-line mode"
IMPORT_C TBool | OffLineWlanNote | ( | ) |
Notifier. Shows a query, "Do you want to create a WLAN connection in Off-line mode?"
IMPORT_C void | OffLineWlanNote | ( | TRequestStatus & | aStatus | ) |
Notifier. Shows a query, "Do you want to create a WLAN connection in Off-line mode?"
TRequestStatus & aStatus | Status object of notifier. |
IMPORT_C void | ReconnectToMethodQuery | ( | const TUint32 | aConnMId, |
TBool & | aResult, | |||
TRequestStatus & | aStatus | |||
) |
Use void ReconnectToMethodQuery( const TUint32 aDestId, const TUint32 aConnMId, const TBool aNextBestExists, TMsgQueryLinkedResults& aResult, TRequestStatus & aStatus );
Confirmation query is used when current method is lost and connection is going to be established via another lower priority method.
const TUint32 aConnMId | Id of used connection method. |
TBool & aResult | Result of user selection, ETrue if user accepted roaming, to less preferred method, EFlase otherwise |
TRequestStatus & aStatus | Status object of notifier. |
IMPORT_C void | ReconnectToMethodQuery | ( | const TUint32 | aDestId, |
const TUint32 | aConnMId, | |||
const TBool | aNextBestExists, | |||
TMsgQueryLinkedResults & | aResult, | |||
TRequestStatus & | aStatus | |||
) |
Confirmation query is used when current method is lost and connection is going to be established via another lower priority method.
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
const TBool aNextBestExists | ETrue if there is another available CM inside the destination that could be used |
TMsgQueryLinkedResults & aResult | Result of user selection |
TRequestStatus & aStatus | Status object of notifier. |
IMPORT_C void | RoamingToMorePrefMethodQuery | ( | const TUint32 | aConnMId, |
TBool & | aResult, | |||
TRequestStatus & | aStatus | |||
) |
Use void RoamingToMorePrefMethodQuery( const TUint32 aDestId, const TUint32 aConnMId, const TBool aNextBestExists, TMsgQueryLinkedResults& aResult, TRequestStatus & aStatus );
Confirmation query is used when more preferred method becomes available
const TUint32 aConnMId | Id of used connection method. |
TBool & aResult | Result of user selection, ETrue if user accepted roaming, to more preferred method, EFlase otherwise |
TRequestStatus & aStatus | Status object of notifier. |
IMPORT_C void | RoamingToMorePrefMethodQuery | ( | const TUint32 | aDestId, |
const TUint32 | aConnMId, | |||
const TBool | aNextBestExists, | |||
TMsgQueryLinkedResults & | aResult, | |||
TRequestStatus & | aStatus | |||
) |
Confirmation query is used when more preferred method becomes available
const TUint32 aDestId | Id of used destination. |
const TUint32 aConnMId | Id of used connection method. |
const TBool aNextBestExists | ETrue if there is another available CM inside the destination that could be used |
TMsgQueryLinkedResults & aResult | Result of user selection |
TRequestStatus & aStatus | Status object of notifier. |
IMPORT_C TBool | SearchWLANNetwork | ( | TWlanSsid & | aSSID | ) |
Notifier. Search available WLAN networks, and user can select one of them
TWlanSsid & aSSID | the id of selected wlan network |
IMPORT_C TBool | SearchWLANNetwork | ( | TWlanSsid & | aSSID, |
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionSecurityMode & | aSecurityMode | |||
) |
Notifier. Seatrch available WLAN networks, and user can select one of them
TWlanSsid & aSSID | the id of selected wlan network |
TWlanConnectionMode & aConnectionMode | connection mode of selected wlan network |
TWlanConnectionSecurityMode & aSecurityMode | security mode of selected wlan network |
IMPORT_C TBool | SearchWLANNetwork | ( | TWlanSsid & | aSSID, |
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionExtentedSecurityMode & | aExtendedSecurityMode | |||
) |
Notifier. Search available WLAN networks, and user can select one of them
TWlanSsid & aSSID | the id of selected wlan network |
TWlanConnectionMode & aConnectionMode | connection mode of selected wlan network |
TWlanConnectionExtentedSecurityMode & aExtendedSecurityMode | extended security mode of selected wlan network |
IMPORT_C TBool | SearchWLANNetwork | ( | TWlanSsid & | aSSID, |
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionSecurityMode & | aSecurityMode, | |||
TBool & | aProtectedSetupSupported | |||
) |
Notifier. Seatrch available WLAN networks, and user can select one of them
IMPORT_C TBool | SearchWLANNetwork | ( | TWlanSsid & | aSSID, |
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionExtentedSecurityMode & | aExtendedSecurityMode, | |||
TBool & | aProtectedSetupSupported | |||
) |
Notifier. Search available WLAN networks, and user can select one of them
TWlanSsid & aSSID | the id of selected wlan network |
TWlanConnectionMode & aConnectionMode | connection mode of selected wlan network |
TWlanConnectionExtentedSecurityMode & aExtendedSecurityMode | extended security mode of selected wlan network |
TBool & aProtectedSetupSupported | if the wlan supports Protected Setup |
IMPORT_C void | SearchWLANNetworkAsync | ( | TRequestStatus & | aStatus, |
TWlanSsid & | aSSID, | |||
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionSecurityMode & | aSecurityMode | |||
) |
Notifier. Search available WLAN networks, and user can select one of them. Totally asynchronous version, to be used from Engines, not from UIs
TRequestStatus & aStatus | status object of notifier |
TWlanSsid & aSSID | the id of selected wlan network |
TWlanConnectionMode & aConnectionMode | connection mode of selected wlan network |
TWlanConnectionSecurityMode & aSecurityMode | security mode of selected wlan network |
IMPORT_C void | SearchWLANNetworkAsync | ( | TRequestStatus & | aStatus, |
TWlanSsid & | aSSID, | |||
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionExtentedSecurityMode & | aExtendedSecurityMode | |||
) |
Notifier. Search available WLAN networks, and user can select one of them. Totally asynchronous version, to be used from Engines, not from UIs
TRequestStatus & aStatus | status object of notifier |
TWlanSsid & aSSID | the id of selected wlan network |
TWlanConnectionMode & aConnectionMode | connection mode of selected wlan network |
TWlanConnectionExtentedSecurityMode & aExtendedSecurityMode | extended security mode of selected wlan network |
IMPORT_C void | SearchWLANNetworkAsync | ( | TRequestStatus & | aStatus, |
TWlanSsid & | aSSID, | |||
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionSecurityMode & | aSecurityMode, | |||
TBool & | aProtectedSetupSupported | |||
) |
Notifier. Search available WLAN networks, and user can select one of them. Totally asynchronous version, to be used from Engines, not from UIs
TRequestStatus & aStatus | status object of notifier |
TWlanSsid & aSSID | the id of selected wlan network |
TWlanConnectionMode & aConnectionMode | connection mode of selected wlan network |
TWlanConnectionSecurityMode & aSecurityMode | security mode of selected wlan network, |
TBool & aProtectedSetupSupported | if the wlan supports Protected Setup |
IMPORT_C void | SearchWLANNetworkAsync | ( | TRequestStatus & | aStatus, |
TWlanSsid & | aSSID, | |||
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionExtentedSecurityMode & | aExtendedSecurityMode, | |||
TBool & | aProtectedSetupSupported | |||
) |
Notifier. Search available WLAN networks, and user can select one of them. Totally asynchronous version, to be used from Engines, not from UIs
TRequestStatus & aStatus | status object of notifier |
TWlanSsid & aSSID | the id of selected wlan network |
TWlanConnectionMode & aConnectionMode | connection mode of selected wlan network |
TWlanConnectionExtentedSecurityMode & aExtendedSecurityMode | extended security mode of selected wlan network, |
TBool & aProtectedSetupSupported | if the wlan supports Protected Setup |
IMPORT_C TBool | SearchWLANNetworkSync | ( | TWlanSsid & | aSSID, |
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionSecurityMode & | aSecurityMode | |||
) |
Notifier. Search available WLAN networks, and user can select one of them. Totally synchronous version, to be used from Engines, not from UIs
TWlanSsid & aSSID | the id of selected wlan network |
TWlanConnectionMode & aConnectionMode | connection mode of selected wlan network |
TWlanConnectionSecurityMode & aSecurityMode | security mode of selected wlan network |
IMPORT_C TBool | SearchWLANNetworkSync | ( | TWlanSsid & | aSSID, |
TWlanConnectionMode & | aConnectionMode, | |||
TWlanConnectionSecurityMode & | aSecurityMode, | |||
TBool & | aProtectedSetupSupported | |||
) |
Notifier. Search available WLAN networks, and user can select one of them. Totally synchronous version, to be used from Engines, not from UIs
IMPORT_C void | ShowConnectionChangedNoteL | ( | const TUint32 & | aIAPId | ) |
Pops up an information note, about connection is changed to the given accespont
const TUint32 & aIAPId | The id of access point which has been selected. |
IMPORT_C void | WLANNetworkUnavailableNote | ( | ) |
Notifier. Pops up an information note: "Selected WLAN network has no coverage"
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.