wlanutilities/wlansniffer/aiplugin/inc/wsfaicontroller.h
branchRCL_3
changeset 18 981afc7d3841
parent 16 8b0eae1b1d71
child 44 a9524956f6b5
equal deleted inserted replaced
16:8b0eae1b1d71 18:981afc7d3841
   107          * to the AI model
   107          * to the AI model
   108          * @since S60 5.0
   108          * @since S60 5.0
   109          */
   109          */
   110         void StartupRefresh();
   110         void StartupRefresh();
   111         
   111         
   112 		/**
   112         /**
   113          * Propagates the network data from the engine
   113          * Propagates the network data from the engine
   114          * to the AI model
   114          * to the AI model
   115          * @since S60 5.2
   115          * @since S60 5.2
   116          */
   116          */
   117         void StartupRefreshDataReadyL();
   117         void StartupRefreshDataReadyL();
   118 
       
   119         /**
       
   120         * Dismisses the AI menu/other dialogs if there was any open
       
   121         * @since S60 5.0
       
   122         */
       
   123         void DismissDialogsL();
       
   124         
   118         
   125         /**
   119         /**
   126         * Refreshes the refreshing icon
   120         * Refreshes the refreshing icon
   127         * @since S60 5.0
   121         * @since S60 5.0
   128         */
   122         */
   132         * Refreshes the connecting icon
   126         * Refreshes the connecting icon
   133         * @since S60 5.2
   127         * @since S60 5.2
   134         */
   128         */
   135         void RefreshConnectingL();
   129         void RefreshConnectingL();
   136         
   130         
   137 		/**
   131         /**
   138          * Propagates the network data from the engine
   132          * Propagates the network data from the engine
   139          * to the AI model
   133          * to the AI model
   140          * @since S60 5.2
   134          * @since S60 5.2
   141          */
   135          */
   142         void WlanListDataReadyL();
   136         void WlanListDataReadyL();
   143         
   137         
       
   138         /**
       
   139         * Connect to the given wlan
       
   140         * @since S60 5.2
       
   141         * @param aInfo Wlaninfo to connect with
       
   142         * @param aConnectOnly ETrue if we are only connecting, 
       
   143         *                     EFalse if we should also launch the browser
       
   144         * @param aTestAccessPoint ETrue if ICT is executed, 
       
   145         *                         EFalse if ICT is not executed   
       
   146         */
       
   147         void ConnectL( TWsfWlanInfo& aInfo, TBool aConnectOnly, 
       
   148                        TBool aTestAccessPoint );
       
   149         
   144 
   150 
   145     public:     // From MWsfStateChangeObserver
   151     public:     // From MWsfStateChangeObserver
   146 
   152 
   147         /**
   153         /**
   148         * The current wlan data has changed and it is ready to be retrieved
   154         * The current wlan data has changed and it is ready to be retrieved
   237         * Start web browser with the given wlaninfo
   243         * Start web browser with the given wlaninfo
   238         * @since S60 5.2
   244         * @since S60 5.2
   239         * @param aInfo Wlaninfo to connect with
   245         * @param aInfo Wlaninfo to connect with
   240         */ 
   246         */ 
   241         void StartWebBrowserL( TWsfWlanInfo& aInfo );
   247         void StartWebBrowserL( TWsfWlanInfo& aInfo );
   242 
       
   243         /*
       
   244         * Connect to the given wlan
       
   245         * @since S60 5.0
       
   246         * @param aInfo Wlaninfo to connect with
       
   247         */ 
       
   248         void ConnectL( TWsfWlanInfo& aInfo, TBool aShoulConnectOnly );
       
   249         
   248         
   250         /**
   249         /**
   251         * Cleanup function to release connecting state
   250         * Cleanup function to release connecting state
   252         * @param aPtr Pointer for this class
   251         * @param aPtr Pointer for this class
   253         */
   252         */
   254         static void CleanUpConnectingL( TAny* aPtr );
   253         static void CleanUpConnectingL( TAny* aPtr );
   255         
       
   256         /**
       
   257         * Launches and helper application to create an accesspoint 
       
   258         * @since S60 5.2
       
   259         * @param aWlanInfo The WlanInfo object to be passed to the helper app
       
   260         */
       
   261         void LaunchAiHelperAppL( TWsfWlanInfo& aInfo );
       
   262 
   254 
   263         /*
   255         /*
   264         * Brings browser to the foreground
   256         * Brings browser to the foreground
   265         * @since S60 5.0
   257         * @since S60 5.0
   266         */
   258         */
   379         /**
   371         /**
   380          * Indicates whether access point needs testing
   372          * Indicates whether access point needs testing
   381          */
   373          */
   382         TBool iTestAccessPoint;
   374         TBool iTestAccessPoint;
   383         
   375         
   384 		/**
   376         /**
   385         * A pointer to CWsfActiveWrappers
   377         * A pointer to CWsfActiveWrappers
   386         */
   378         */
   387         CWsfActiveWrappers* iActiveWrappers;
   379         CWsfActiveWrappers* iActiveWrappers;
   388         
   380         
   389     };
   381     };