connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesImpl.h
changeset 20 9c97ad6591ae
parent 0 5a93021fdf25
child 61 8b0c979bbe8c
--- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesImpl.h	Fri Apr 16 15:21:37 2010 +0300
+++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesImpl.h	Mon May 03 12:53:07 2010 +0300
@@ -40,7 +40,7 @@
 class CCommsDatabase;
 class TConnectionPrefs;
 class CAknGlobalNote;
-
+class CConnectionStatusPopup;
 
 // CLASS DECLARATION
 
@@ -370,56 +370,6 @@
         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
@@ -436,27 +386,6 @@
         void CancelConfirmMethodUsageQuery();
 
         /**
-        * 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 ConnectedViaConnMethodNote( const TUint32 aConnMId );
-
-        /**
-        * 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 ConnectedViaConnMethodNote( const TUint32 aConnMId, 
-                                         TRequestStatus& aStatus );
-                /**
-        * Cancel ConnectedViaConnMethodNote notifier.
-        */
-        void CancelConnectedViaConnMethodNote();
-        
-        /**
         * 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.
@@ -477,20 +406,25 @@
         */
         TBool EasyWapiDlg( TDes* aKey );
 
-        /**
-        * Pops up an information note: 
-        * "No WLAN networks are available at the moment. Connection not available."
-        */        
-        void NoWLANNetworksAvailableNote();
+        /**           
+        * Discreet popup. Shows "Connecting" discreet popup 
+        */
+        void ConnectingViaDiscreetPopup( );
 
         /**           
         * 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 );
 
-        
+        /**           
+        * Cancels (hides) "Connecting via %U" discreet popup. 
+        */
+        void CancelConnectingViaDiscreetPopup();
+
         /**           
         * Discreet popup. Shows discreet popup about connection errors 
         * @param aErrorCode Error code
@@ -542,8 +476,8 @@
         // buffer for passing WAPI key between client and server
         TPckgBuf< TBuf< KEasyWapiQueryMaxLength > > iWapiKey;
         
-        // buffer for passing connecting discreet popup info
-        TPckgBuf< TConnUiConnectingViaDiscreetPopup > iConnInfo;
+        // Connection status (via, error) implementation
+        CConnectionStatusPopup* iConnStatusPopup;
         
     };