wlanutilities/wlansniffer/aiplugin/inc/wsfaicontroller.h
branchRCL_3
changeset 16 8b0eae1b1d71
parent 15 dff6ebfd236f
child 18 981afc7d3841
equal deleted inserted replaced
15:dff6ebfd236f 16:8b0eae1b1d71
    19 #define T_WSFAICONTROLLER_H
    19 #define T_WSFAICONTROLLER_H
    20 
    20 
    21 //  EXTERNAL INCLUDES
    21 //  EXTERNAL INCLUDES
    22 #include <e32def.h>
    22 #include <e32def.h>
    23 #include <e32property.h>
    23 #include <e32property.h>
       
    24 #include <eikenv.h>
    24 
    25 
    25 //  INTERNAL INCLUDES
    26 //  INTERNAL INCLUDES
    26 #include "wsfwlaninfo.h"
    27 #include "wsfwlaninfo.h"
    27 #include "wsfstatechangeobserver.h"
    28 #include "wsfstatechangeobserver.h"
    28 #include "wsfmodelobserver.h"
    29 #include "wsfmodelobserver.h"
    69         * @since S60 5.0
    70         * @since S60 5.0
    70         * @param aModel applicaton level model reference
    71         * @param aModel applicaton level model reference
    71         * @param aAiModel model reference of AiPlugin
    72         * @param aAiModel model reference of AiPlugin
    72         * @param aActiveWrappers reference of wrappers holder
    73         * @param aActiveWrappers reference of wrappers holder
    73         */
    74         */
    74         void InitializeL( CWsfModel* aModel, CWsfAiModel* aAiModel,
    75         void InitializeL( CEikonEnv* aEnv, CWsfModel* aModel, 
    75                 CWsfDbObserver* aObserver, 
    76                           CWsfAiModel* aAiModel, CWsfDbObserver* aObserver, 
    76         		CWsfActiveWrappers* aActiveWrappers );
    77                           CWsfActiveWrappers* aActiveWrappers );
    77         
    78         
    78         /**
    79         /**
    79         * Set the UI for the controller
    80         * Set the UI for the controller
    80         * @since S60 5.0
    81         * @since S60 5.0
    81         * @param aUi reference to AiPlugin UI control
    82         * @param aUi reference to AiPlugin UI control
   109         void StartupRefresh();
   110         void StartupRefresh();
   110         
   111         
   111 		/**
   112 		/**
   112          * Propagates the network data from the engine
   113          * Propagates the network data from the engine
   113          * to the AI model
   114          * to the AI model
   114          * @since S60 5.0
   115          * @since S60 5.2
   115          */
   116          */
   116         void StartupRefreshDataReadyL();
   117         void StartupRefreshDataReadyL();
   117 
   118 
   118         /**
   119         /**
   119         * Dismisses the AI menu/other dialogs if there was any open
   120         * Dismisses the AI menu/other dialogs if there was any open
   134         void RefreshConnectingL();
   135         void RefreshConnectingL();
   135         
   136         
   136 		/**
   137 		/**
   137          * Propagates the network data from the engine
   138          * Propagates the network data from the engine
   138          * to the AI model
   139          * to the AI model
   139          * @since S60 5.0
   140          * @since S60 5.2
   140          */
   141          */
   141         void WlanListDataReadyL();
   142         void WlanListDataReadyL();
   142         
   143         
   143 
   144 
   144     public:     // From MWsfStateChangeObserver
   145     public:     // From MWsfStateChangeObserver
   169         void ScanEnabledL();
   170         void ScanEnabledL();
   170 
   171 
   171         /**
   172         /**
   172         * A WLAN connection has been established
   173         * A WLAN connection has been established
   173         * @since S60 5.0
   174         * @since S60 5.0
   174         * @param aAccesspointName The name of the active connection
   175         */
   175         */
   176         void WlanConnectionActivatedL();
   176         void WlanConnectionActivatedL( const TDesC& aAccessPointName );
       
   177         
   177         
   178         /**
   178         /**
   179         * A WLAN connection has been closed
   179         * A WLAN connection has been closed
   180         * @since S60 5.0
   180         * @since S60 5.0
   181         */
   181         */
   327         */
   327         */
   328         void HandleMskIfBrowsingL();
   328         void HandleMskIfBrowsingL();
   329         
   329         
   330             
   330             
   331     private: // data
   331     private: // data
   332 
   332         
       
   333         /**
       
   334         * Handle to Eikon environment.
       
   335         * Own.
       
   336         */
       
   337         CEikonEnv* iEnv;
       
   338 
       
   339         /**
       
   340         * Cache of the used info
       
   341         */
   333         TWsfWlanInfo iUsedInfo;
   342         TWsfWlanInfo iUsedInfo;
   334 
   343 
   335         /**
   344         /**
   336         * Reference to Wlan array
   345         * Reference to Wlan array
   337         */
   346         */