connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesClient.h
branchRCL_3
changeset 24 05bc53fe583b
parent 12 4dc3bb0099b0
child 25 83ca720e2b9a
equal deleted inserted replaced
23:fc7b30ed2058 24:05bc53fe583b
   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         /**
       
   168         * Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
   138         * Notifier. Shows a query, "Connect to\n '%0U' via\n '%1U'?"
   169         * @param aResult Result of user selection, ETrue if user accepted
   139         * @param aResult Result of user selection, ETrue if user accepted
   170         * roaming, to more preferred method, EFlase otherwise
   140         * roaming, to more preferred method, EFlase otherwise
   171         * @param aHomeNetwork   home or foreign network
   141         * @param aHomeNetwork   home or foreign network
   172         * @param aStatus Status object of notifier.
   142         * @param aStatus Status object of notifier.
   178         /**
   148         /**
   179         * Cancel ConfirmMethodUsageQuery
   149         * Cancel ConfirmMethodUsageQuery
   180         */
   150         */
   181         void CancelConfirmMethodUsageQuery();
   151         void CancelConfirmMethodUsageQuery();
   182 
   152 
   183 
   153         /**
   184         /**
   154         * This note is displayed when power-save feature of the WLAN station 
   185         * Confirmation note is used after the connection has been successfully 
   155         * is incompatible and thus battery consumption of the mobile will increase.
   186         * established via a connection method.
   156         * @param aDisable ETrue if user wants to disable this note in the future.
   187         * @param aConnMId Id of used connection method.
       
   188         * @param aStatus Status object of notifier.
   157         * @param aStatus Status object of notifier.
   189         */
   158         */
   190         void ConnectedViaConnMethodNote( const TUint32 aConnMId,
   159         void WlanPowerSaveTestNote( TBool& aDisable, TRequestStatus& aStatus );
   191                                         TRequestStatus& aStatus );
   160         
   192         /**
   161         /**
   193         * Cancel ConnectedViaConnMethodNote notifier.
   162         * Cancel WlanPowerSaveTestNote notifier.
   194         */
   163         */
   195         void CancelConnectedViaConnMethodNote();
   164         void CancelWlanPowerSaveTestNote();
   196         
   165         
   197         /**
   166         /**
   198         * Notifier. Prompts WAPI-PSK.
   167         * Notifier. Prompts WAPI-PSK.
   199         * Shows a data query, "Enter pre-shared key for WLAN" 
   168         * Shows a data query, "Enter pre-shared key for WLAN" 
   200         * @param aKey Key entered by user
   169         * @param aKey Key entered by user
   206         /**
   175         /**
   207         * Cancel EasyWapiDlg notifier.
   176         * Cancel EasyWapiDlg notifier.
   208         */                  
   177         */                  
   209         void CancelEasyWapiDlg();
   178         void CancelEasyWapiDlg();
   210 
   179 
   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 
       
   241     private:
   180     private:
   242 
   181 
   243         // Pointer to the client interface
   182         // Pointer to the client interface
   244         RNotifier* iNotifier;
   183         RNotifier* iNotifier;
   245 
   184 
   258         TPckg<TBool> iBool;         // get response from Query
   197         TPckg<TBool> iBool;         // get response from Query
   259         TPckg<TMsgQueryLinkedResults> iResponseMsgQuery;
   198         TPckg<TMsgQueryLinkedResults> iResponseMsgQuery;
   260 
   199 
   261         TPckgBuf<TConnUiUiDestConnMethodNoteId> iPassedInfo;
   200         TPckgBuf<TConnUiUiDestConnMethodNoteId> iPassedInfo;
   262 
   201 
   263         // used for get response from notifier
       
   264         TBuf8<8> iResponseStrNoWLANNetworksAvailableNote;
       
   265     };
   202     };
   266 
   203 
   267 
   204 
   268 #endif /* __CONNECTIONUIUTILITIESCLIENT_H__ */
   205 #endif /* __CONNECTIONUIUTILITIESCLIENT_H__ */
   269 
   206