connectionutilities/ConnectionDialogs/ConnectionUiUtilities/inc/ConnectionUiUtilitiesClient.h
changeset 20 9c97ad6591ae
parent 0 5a93021fdf25
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
   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 
       
   184         /**
       
   185         * Confirmation note is used after the connection has been successfully 
       
   186         * established via a connection method.
       
   187         * @param aConnMId Id of used connection method.
       
   188         * @param aStatus Status object of notifier.
       
   189         */
       
   190         void ConnectedViaConnMethodNote( const TUint32 aConnMId,
       
   191                                         TRequestStatus& aStatus );
       
   192         /**
       
   193         * Cancel ConnectedViaConnMethodNote notifier.
       
   194         */
       
   195         void CancelConnectedViaConnMethodNote();
       
   196         
       
   197         /**
   153         /**
   198         * This note is displayed when power-save feature of the WLAN station 
   154         * This note is displayed when power-save feature of the WLAN station 
   199         * is incompatible and thus battery consumption of the mobile will increase.
   155         * is incompatible and thus battery consumption of the mobile will increase.
   200         * @param aDisable ETrue if user wants to disable this note in the future.
   156         * @param aDisable ETrue if user wants to disable this note in the future.
   201         * @param aStatus Status object of notifier.
   157         * @param aStatus Status object of notifier.
   219         /**
   175         /**
   220         * Cancel EasyWapiDlg notifier.
   176         * Cancel EasyWapiDlg notifier.
   221         */                  
   177         */                  
   222         void CancelEasyWapiDlg();
   178         void CancelEasyWapiDlg();
   223 
   179 
   224         /**
       
   225         * Pops up an information note: 
       
   226         * "No WLAN networks are available at the moment. Connection not available."
       
   227         */ 
       
   228         void NoWLANNetworksAvailableNote( TRequestStatus& aStatus );                  
       
   229         
       
   230         /**
       
   231         * Discreet popup. Shows "connecting via %U" discreet popup.
       
   232         * @param aInfo Information about bearer.
       
   233         */
       
   234         void ConnectingViaDiscreetPopup( TPckgBuf< TConnUiConnectingViaDiscreetPopup>& aInfo, 
       
   235                           TRequestStatus& aStatus );
       
   236         
       
   237         /**
       
   238         * Cancel ConnectingViaDiscreetPopup notifier.
       
   239         */                  
       
   240         void CancelConnectingViaDiscreetPopup();                  
       
   241 
       
   242         /**
       
   243         * Discreet popup. Shows discreet popup about connection error.
       
   244         * @param aErrCode Error code.
       
   245         */
       
   246         void ConnectionErrorDiscreetPopup( TPckgBuf< TInt >& aErrCode, 
       
   247                           TRequestStatus& aStatus );
       
   248         
       
   249         /**
       
   250         * Cancel ConnectionErrorDiscreetPopup notifier.
       
   251         */                  
       
   252         void CancelConnectionErrorDiscreetPopup();                  
       
   253 
       
   254     private:
   180     private:
   255 
   181 
   256         // Pointer to the client interface
   182         // Pointer to the client interface
   257         RNotifier* iNotifier;
   183         RNotifier* iNotifier;
   258 
   184 
   271         TPckg<TBool> iBool;         // get response from Query
   197         TPckg<TBool> iBool;         // get response from Query
   272         TPckg<TMsgQueryLinkedResults> iResponseMsgQuery;
   198         TPckg<TMsgQueryLinkedResults> iResponseMsgQuery;
   273 
   199 
   274         TPckgBuf<TConnUiUiDestConnMethodNoteId> iPassedInfo;
   200         TPckgBuf<TConnUiUiDestConnMethodNoteId> iPassedInfo;
   275 
   201 
   276         // used for get response from notifier
       
   277         TBuf8<8> iResponseStrNoWLANNetworksAvailableNote;
       
   278     };
   202     };
   279 
   203 
   280 
   204 
   281 #endif /* __CONNECTIONUIUTILITIESCLIENT_H__ */
   205 #endif /* __CONNECTIONUIUTILITIESCLIENT_H__ */
   282 
   206