diff -r c2bc3f8c7777 -r dff6ebfd236f wlanutilities/wlansniffer/aiplugin/inc/wsfaicontroller.h --- a/wlanutilities/wlansniffer/aiplugin/inc/wsfaicontroller.h Fri Feb 19 23:55:42 2010 +0200 +++ b/wlanutilities/wlansniffer/aiplugin/inc/wsfaicontroller.h Fri Mar 12 15:48:54 2010 +0200 @@ -35,6 +35,7 @@ class TWsfWlanInfo; class CWsfWlanInfoArray; class CWsfDbObserver; +class CWsfActiveWrappers; /** @@ -66,11 +67,13 @@ /** * PreInitialization for this class (set the models references) * @since S60 5.0 - * @param aModel appicaton level model reference + * @param aModel applicaton level model reference * @param aAiModel model reference of AiPlugin + * @param aActiveWrappers reference of wrappers holder */ void InitializeL( CWsfModel* aModel, CWsfAiModel* aAiModel, - CWsfDbObserver* aObserver ); + CWsfDbObserver* aObserver, + CWsfActiveWrappers* aActiveWrappers ); /** * Set the UI for the controller @@ -99,11 +102,18 @@ void DisableScanL(); /** - * Propagates the connected network data from the sniffer model + * Start initial refresh * to the AI model * @since S60 5.0 */ - void StartupRefreshL(); + void StartupRefresh(); + + /** + * Propagates the network data from the engine + * to the AI model + * @since S60 5.0 + */ + void StartupRefreshDataReadyL(); /** * Dismisses the AI menu/other dialogs if there was any open @@ -123,6 +133,13 @@ */ void RefreshConnectingL(); + /** + * Propagates the network data from the engine + * to the AI model + * @since S60 5.0 + */ + void WlanListDataReadyL(); + public: // From MWsfStateChangeObserver @@ -269,11 +286,6 @@ * Refreshes the current ui when the ui changes */ void RefreshUiL(); - - /* - * Disconnect active wlan connections - */ - void DisconnectL(); /** * Handle error event @@ -359,6 +371,12 @@ * Indicates whether access point needs testing */ TBool iTestAccessPoint; + + /** + * A pointer to CWsfActiveWrappers + */ + CWsfActiveWrappers* iActiveWrappers; + }; #endif // T_WSFAICONTROLLER_H