connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesClient.h
branchRCL_3
changeset 58 83ca720e2b9a
parent 57 05bc53fe583b
equal deleted inserted replaced
57:05bc53fe583b 58:83ca720e2b9a
   133         * "Selected WLAN network has no coverage"
   133         * "Selected WLAN network has no coverage"
   134         */        
   134         */        
   135         void WLANNetworkUnavailableNote( TRequestStatus& aStatus );       
   135         void WLANNetworkUnavailableNote( TRequestStatus& aStatus );       
   136 
   136 
   137         /**
   137         /**
       
   138         * Confirmation note is used after the connection has been successfully 
       
   139         * established via destination and connection method.
       
   140         * @param aDestId Id of used destination.
       
   141         * @param aConnMId Id of used connection method.
       
   142         * @param aStatus Status object of notifier.
       
   143         */
       
   144         void ConnectedViaDestAndConnMethodNote( const TUint32 aDestId, 
       
   145                                                 const TUint32 aConnMId,
       
   146                                                 TRequestStatus& aStatus );
       
   147         /**
       
   148         * Cancel ConnectedViaDestAndConnMethodNote notifier.
       
   149         */
       
   150         void CancelConnectedViaDestAndConnMethodNote();
       
   151 
       
   152         /**
       
   153         * Information note is used when "Automatically" roaming is enabled
       
   154         * The actual connection establishment take places in the background
       
   155         * (no wait note).
       
   156         * @param aConnMId Id of used connection method.
       
   157         * @param aStatus Status object of notifier.
       
   158         */
       
   159         void ChangingConnectionToNote( const TUint32 aConnMId,
       
   160                                        TRequestStatus& aStatus );
       
   161 
       
   162         /**
       
   163         * Cancel ChangingConnectionToNote notifier.
       
   164         */
       
   165         void CancelChangingConnectionToNote();
       
   166 
       
   167         /**
   138         * Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
   168         * Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
   139         * @param aResult Result of user selection, ETrue if user accepted
   169         * @param aResult Result of user selection, ETrue if user accepted
   140         * roaming, to more preferred method, EFlase otherwise
   170         * roaming, to more preferred method, EFlase otherwise
   141         * @param aHomeNetwork   home or foreign network
   171         * @param aHomeNetwork   home or foreign network
   142         * @param aStatus Status object of notifier.
   172         * @param aStatus Status object of notifier.
   148         /**
   178         /**
   149         * Cancel ConfirmMethodUsageQuery
   179         * Cancel ConfirmMethodUsageQuery
   150         */
   180         */
   151         void CancelConfirmMethodUsageQuery();
   181         void CancelConfirmMethodUsageQuery();
   152 
   182 
   153         /**
   183 
   154         * This note is displayed when power-save feature of the WLAN station 
   184         /**
   155         * is incompatible and thus battery consumption of the mobile will increase.
   185         * Confirmation note is used after the connection has been successfully 
   156         * @param aDisable ETrue if user wants to disable this note in the future.
   186         * established via a connection method.
   157         * @param aStatus Status object of notifier.
   187         * @param aConnMId Id of used connection method.
   158         */
   188         * @param aStatus Status object of notifier.
   159         void WlanPowerSaveTestNote( TBool& aDisable, TRequestStatus& aStatus );
   189         */
   160         
   190         void ConnectedViaConnMethodNote( const TUint32 aConnMId,
   161         /**
   191                                         TRequestStatus& aStatus );
   162         * Cancel WlanPowerSaveTestNote notifier.
   192         /**
   163         */
   193         * Cancel ConnectedViaConnMethodNote notifier.
   164         void CancelWlanPowerSaveTestNote();
   194         */
       
   195         void CancelConnectedViaConnMethodNote();
   165         
   196         
   166         /**
   197         /**
   167         * Notifier. Prompts WAPI-PSK.
   198         * Notifier. Prompts WAPI-PSK.
   168         * Shows a data query, "Enter pre-shared key for WLAN" 
   199         * Shows a data query, "Enter pre-shared key for WLAN" 
   169         * @param aKey Key entered by user
   200         * @param aKey Key entered by user
   175         /**
   206         /**
   176         * Cancel EasyWapiDlg notifier.
   207         * Cancel EasyWapiDlg notifier.
   177         */                  
   208         */                  
   178         void CancelEasyWapiDlg();
   209         void CancelEasyWapiDlg();
   179 
   210 
       
   211         /**
       
   212         * Pops up an information note: 
       
   213         * "No WLAN networks are available at the moment. Connection not available."
       
   214         */ 
       
   215         void NoWLANNetworksAvailableNote( TRequestStatus& aStatus );                  
       
   216         
       
   217         /**
       
   218         * Discreet popup. Shows "connecting via %U" discreet popup.
       
   219         * @param aInfo Information about bearer.
       
   220         */
       
   221         void ConnectingViaDiscreetPopup( TPckgBuf< TConnUiConnectingViaDiscreetPopup>& aInfo, 
       
   222                           TRequestStatus& aStatus );
       
   223         
       
   224         /**
       
   225         * Cancel ConnectingViaDiscreetPopup notifier.
       
   226         */                  
       
   227         void CancelConnectingViaDiscreetPopup();                  
       
   228 
       
   229         /**
       
   230         * Discreet popup. Shows discreet popup about connection error.
       
   231         * @param aErrCode Error code.
       
   232         */
       
   233         void ConnectionErrorDiscreetPopup( TPckgBuf< TInt >& aErrCode, 
       
   234                           TRequestStatus& aStatus );
       
   235         
       
   236         /**
       
   237         * Cancel ConnectionErrorDiscreetPopup notifier.
       
   238         */                  
       
   239         void CancelConnectionErrorDiscreetPopup();                  
       
   240 
   180     private:
   241     private:
   181 
   242 
   182         // Pointer to the client interface
   243         // Pointer to the client interface
   183         RNotifier* iNotifier;
   244         RNotifier* iNotifier;
   184 
   245 
   197         TPckg<TBool> iBool;         // get response from Query
   258         TPckg<TBool> iBool;         // get response from Query
   198         TPckg<TMsgQueryLinkedResults> iResponseMsgQuery;
   259         TPckg<TMsgQueryLinkedResults> iResponseMsgQuery;
   199 
   260 
   200         TPckgBuf<TConnUiUiDestConnMethodNoteId> iPassedInfo;
   261         TPckgBuf<TConnUiUiDestConnMethodNoteId> iPassedInfo;
   201 
   262 
       
   263         // used for get response from notifier
       
   264         TBuf8<8> iResponseStrNoWLANNetworksAvailableNote;
   202     };
   265     };
   203 
   266 
   204 
   267 
   205 #endif /* __CONNECTIONUIUTILITIESCLIENT_H__ */
   268 #endif /* __CONNECTIONUIUTILITIESCLIENT_H__ */
   206 
   269