connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesImpl.h
--- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesImpl.h Tue Aug 31 15:35:44 2010 +0300
+++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesImpl.h Wed Sep 01 12:23:51 2010 +0100
@@ -40,7 +40,7 @@
class CCommsDatabase;
class TConnectionPrefs;
class CAknGlobalNote;
-class CConnectionStatusPopup;
+
// CLASS DECLARATION
@@ -370,6 +370,56 @@
void WLANNetworkUnavailableNote();
/**
+ * DEPRECATED, PLEASE USE ASYNC VERSION!
+ * Confirmation note is used after the connection has been successfully
+ * established via destination and connection method.
+ * @param aDestId Id of used destination.
+ * @param aConnMId Id of used connection method.
+ */
+ void ConnectedViaDestAndConnMethodNote( const TUint32 aDestId,
+ const TUint32 aConnMId );
+
+ /**
+ * Confirmation note is used after the connection has been successfully
+ * established via destination and connection method.
+ * @param aDestId Id of used destination.
+ * @param aConnMId Id of used connection method.
+ * @param aStatus caller's TRequestStatus to handle asynchronous call.
+ */
+ void ConnectedViaDestAndConnMethodNote( const TUint32 aDestId,
+ const TUint32 aConnMId,
+ TRequestStatus& aStatus );
+
+ /**
+ * Cancel ConnectedViaDestAndConnMethodNote notifier.
+ */
+ void CancelConnectedViaDestAndConnMethodNote();
+
+
+ /**
+ * Information note is used when "Automatically" roaming is enabled. The
+ * actual connection establishment take places in the background
+ * (no wait note).
+ * @param aConnMId Id of used connection method.
+ */
+ 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).
+ * @param aConnMId Id of used connection method.
+ * @param aStatus Status object of notifier.
+ */
+ void ChangingConnectionToNote( const TUint32 aConnMId,
+ TRequestStatus& aStatus );
+
+ /**
+ * Cancel ChangingConnectionToNote notifier.
+ */
+ void CancelChangingConnectionToNote();
+
+ /**
* Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
* @param aResult Result of user selection, ETrue if user accepted
* roaming, to more preferred method, EFlase otherwise
@@ -386,17 +436,25 @@
void CancelConfirmMethodUsageQuery();
/**
- * This note is displayed when power-save feature of the WLAN station
- * is incompatible and thus battery consumption of the mobile will increase.
- * @param aDisable ETrue if user wants to disable this note in the future.
- * @param aStatus Status object of notifier.
+ * DEPRECATED, PLEASE USE ASYNC VERSION!
+ * Confirmation note is used after the connection has been successfully
+ * established via a connection method.
+ * @param aConnMId Id of used connection method.
*/
- void WlanPowerSaveTestNote( TBool& aDisable, TRequestStatus& aStatus );
-
+ void ConnectedViaConnMethodNote( const TUint32 aConnMId );
+
/**
- * Cancel WlanPowerSaveTestNote notifier.
+ * Confirmation note is used after the connection has been successfully
+ * established via a connection method.
+ * @param aConnMId Id of used connection method.
+ * @param aStatus caller's TRequestStatus to handle asynchronous call.
*/
- void CancelWlanPowerSaveTestNote();
+ void ConnectedViaConnMethodNote( const TUint32 aConnMId,
+ TRequestStatus& aStatus );
+ /**
+ * Cancel ConnectedViaConnMethodNote notifier.
+ */
+ void CancelConnectedViaConnMethodNote();
/**
* Notifier. Query for prompting WAPI-PSK.
@@ -406,25 +464,19 @@
*/
TBool EasyWapiDlg( TDes* aKey );
- /**
- * Discreet popup. Shows "Connecting" discreet popup
- */
- void ConnectingViaDiscreetPopup( );
+ /**
+ * Pops up an information note:
+ * "No WLAN networks are available at the moment. Connection not available."
+ */
+ void NoWLANNetworksAvailableNote();
/**
* Discreet popup. Shows "Connecting via %U" discreet popup
* @param aIapId IAP id of the access point.
- * @param aConnectionAlreadyActive True if connection is already active
- * (shared).
*/
- void ConnectingViaDiscreetPopup( const TUint32& aIapId,
- TBool aConnectionAlreadyActive );
+ void ConnectingViaDiscreetPopup( const TUint32& aIapId );
- /**
- * Cancels (hides) "Connecting via %U" discreet popup.
- */
- void CancelConnectingViaDiscreetPopup();
-
+
/**
* Discreet popup. Shows discreet popup about connection errors
* @param aErrorCode Error code
@@ -476,8 +528,8 @@
// buffer for passing WAPI key between client and server
TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > iWapiKey;
- // Connection status (via, error) implementation
- CConnectionStatusPopup* iConnStatusPopup;
+ // buffer for passing connecting discreet popup info
+ TPckgBuf< TConnUiConnectingViaDiscreetPopup > iConnInfo;
};