wlanutilities/wlansniffer/aiplugin/inc/wsfaicontroller.h
branchRCL_3
changeset 10 dff6ebfd236f
parent 0 56b72877c1cb
child 11 8b0eae1b1d71
equal deleted inserted replaced
8:c2bc3f8c7777 10:dff6ebfd236f
    33 class CWsfAiModel;
    33 class CWsfAiModel;
    34 class MWsfAiUiObserver;
    34 class MWsfAiUiObserver;
    35 class TWsfWlanInfo;
    35 class TWsfWlanInfo;
    36 class CWsfWlanInfoArray;
    36 class CWsfWlanInfoArray;
    37 class CWsfDbObserver;
    37 class CWsfDbObserver;
       
    38 class CWsfActiveWrappers;
    38 
    39 
    39 
    40 
    40 /**
    41 /**
    41  *  The controller class of the component. All functionality is reached
    42  *  The controller class of the component. All functionality is reached
    42  *  through this class and all needed events are observed by this.
    43  *  through this class and all needed events are observed by this.
    64         void DeInitializeL();
    65         void DeInitializeL();
    65 
    66 
    66         /**
    67         /**
    67         * PreInitialization for this class (set the models references)
    68         * PreInitialization for this class (set the models references)
    68         * @since S60 5.0
    69         * @since S60 5.0
    69         * @param aModel appicaton level model reference
    70         * @param aModel applicaton level model reference
    70         * @param aAiModel model reference of AiPlugin
    71         * @param aAiModel model reference of AiPlugin
       
    72         * @param aActiveWrappers reference of wrappers holder
    71         */
    73         */
    72         void InitializeL( CWsfModel* aModel, CWsfAiModel* aAiModel,
    74         void InitializeL( CWsfModel* aModel, CWsfAiModel* aAiModel,
    73         		           CWsfDbObserver* aObserver );
    75                 CWsfDbObserver* aObserver, 
       
    76         		CWsfActiveWrappers* aActiveWrappers );
    74         
    77         
    75         /**
    78         /**
    76         * Set the UI for the controller
    79         * Set the UI for the controller
    77         * @since S60 5.0
    80         * @since S60 5.0
    78         * @param aUi reference to AiPlugin UI control
    81         * @param aUi reference to AiPlugin UI control
    97         * @since S60 5.0
   100         * @since S60 5.0
    98         */ 
   101         */ 
    99         void DisableScanL();
   102         void DisableScanL();
   100         
   103         
   101         /**
   104         /**
   102          * Propagates the connected network data from the sniffer model
   105          * Start initial refresh
   103          * to the AI model
   106          * to the AI model
   104          * @since S60 5.0
   107          * @since S60 5.0
   105          */
   108          */
   106         void StartupRefreshL();
   109         void StartupRefresh();
       
   110         
       
   111 		/**
       
   112          * Propagates the network data from the engine
       
   113          * to the AI model
       
   114          * @since S60 5.0
       
   115          */
       
   116         void StartupRefreshDataReadyL();
   107 
   117 
   108         /**
   118         /**
   109         * Dismisses the AI menu/other dialogs if there was any open
   119         * Dismisses the AI menu/other dialogs if there was any open
   110         * @since S60 5.0
   120         * @since S60 5.0
   111         */
   121         */
   120         /**
   130         /**
   121         * Refreshes the connecting icon
   131         * Refreshes the connecting icon
   122         * @since S60 5.2
   132         * @since S60 5.2
   123         */
   133         */
   124         void RefreshConnectingL();
   134         void RefreshConnectingL();
       
   135         
       
   136 		/**
       
   137          * Propagates the network data from the engine
       
   138          * to the AI model
       
   139          * @since S60 5.0
       
   140          */
       
   141         void WlanListDataReadyL();
   125         
   142         
   126 
   143 
   127     public:     // From MWsfStateChangeObserver
   144     public:     // From MWsfStateChangeObserver
   128 
   145 
   129         /**
   146         /**
   267         
   284         
   268         /*
   285         /*
   269         *  Refreshes the current ui when the ui changes
   286         *  Refreshes the current ui when the ui changes
   270         */ 
   287         */ 
   271         void RefreshUiL();
   288         void RefreshUiL();
   272         
       
   273         /*
       
   274         *  Disconnect active wlan connections
       
   275         */ 
       
   276         void DisconnectL();
       
   277 
   289 
   278         /**
   290         /**
   279         * Handle error event
   291         * Handle error event
   280         * @since S60 5.0
   292         * @since S60 5.0
   281         * @param aError System wide error code
   293         * @param aError System wide error code
   357         
   369         
   358         /**
   370         /**
   359          * Indicates whether access point needs testing
   371          * Indicates whether access point needs testing
   360          */
   372          */
   361         TBool iTestAccessPoint;
   373         TBool iTestAccessPoint;
       
   374         
       
   375 		/**
       
   376         * A pointer to CWsfActiveWrappers
       
   377         */
       
   378         CWsfActiveWrappers* iActiveWrappers;
       
   379         
   362     };
   380     };
   363 
   381 
   364 #endif      //  T_WSFAICONTROLLER_H
   382 #endif      //  T_WSFAICONTROLLER_H
   365 
   383 
   366 // End of file
   384 // End of file