wlanutilities/wlansniffer/mainapplication/inc/wsfmainview.h
branchRCL_3
changeset 8 c2bc3f8c7777
parent 0 56b72877c1cb
child 12 981afc7d3841
equal deleted inserted replaced
4:107412708b22 8:c2bc3f8c7777
   152         * @since S60 5.0     
   152         * @since S60 5.0     
   153         * @return controiller interface
   153         * @return controiller interface
   154         */
   154         */
   155         MWsfMainViewControllerIf& Controller();
   155         MWsfMainViewControllerIf& Controller();
   156         
   156         
   157         /*
   157         /**
   158          * Sets the iSelectionKey True
   158          * Sets the iSelectionKey True
   159          * @since S60 5.0 
   159          * @since S60 5.0 
   160          */
   160          */
   161         void SelectionKeyPressed();
   161         void SelectionKeyPressed();
   162     
   162         
   163     private:
   163         /**
       
   164          * Checks if Browser is using the active WLAN connection
       
   165          */
       
   166         void UpdateBrowserUsageInfoL();
       
   167 
       
   168     private:  //New functions
   164         
   169         
   165         /**
   170         /**
   166         * Check if the Browser application is already running and 
   171         * Check if the Browser application is already running and 
   167         * using the selected connection.
   172         * using the selected connection.
   168         * @since S60 5.0 
   173         * @since S60 5.0 
   169         * @return EFalse if Start Web Browsing menu item should be shown
   174         * @return EFalse if Start Web Browsing menu item should be shown
   170         *         ETrue if Start Web Browsing menu item should not be shown
   175         *         ETrue if Start Web Browsing menu item should not be shown
   171         */
   176         */
   172         TBool StartWebBrowsingVisibleL();
   177         TBool IsBrowserUsingWlanL();
   173         
   178         
   174     private:
   179     private:
   175 
   180 
   176         /**
   181         /**
   177         * Main view's controller
   182         * Main view's controller
   192 
   197 
   193         /**
   198         /**
   194         * Indicates FSelectionKey is pressed or not.
   199         * Indicates FSelectionKey is pressed or not.
   195         */
   200         */
   196         TBool iSelectionKey;
   201         TBool iSelectionKey;
       
   202         
       
   203         /**
       
   204          * If Browser is using the WLAN connection or not.
       
   205          */
       
   206         TBool iIsBrowserUsingWlan;
       
   207         
   197     };
   208     };
   198 
   209 
   199 
   210 
   200 #endif // C_WSFMAINVIEW_H
   211 #endif // C_WSFMAINVIEW_H