diff -r 682dd021f9be -r 7b3e49e4608a wlanutilities/wlanqtutilities/tsrc/context/wlanqtutilstestcontext.h --- a/wlanutilities/wlanqtutilities/tsrc/context/wlanqtutilstestcontext.h Thu Jun 10 15:44:54 2010 +0300 +++ b/wlanutilities/wlanqtutilities/tsrc/context/wlanqtutilstestcontext.h Thu Jun 24 10:49:51 2010 +0300 @@ -130,16 +130,16 @@ }; /** - * This class represents WLAN APs that represent the results of WLAN scanning triggered by - * RConnectionMonitor::GetPckgAttribute() + * This class represents WLAN functionality test context. E.g. APs that + * represent the results of WLAN scanning are stored here. */ -class WlanQtUtilsWlanScanResult : public QObject +class WlanQtUtilsWlanScan : public QObject { Q_OBJECT public: - WlanQtUtilsWlanScanResult(); - ~WlanQtUtilsWlanScanResult(); + WlanQtUtilsWlanScan(); + ~WlanQtUtilsWlanScan(); /** * Initializes context. @@ -162,19 +162,20 @@ void verifyWlanScanResultList( QList< QSharedPointer > wlanApList); // TODO: Maybe boolean return value - /** - * List of WLAN access points that RConnectionMonitor stub will return in response to - * RConnectionMonitor::GetPckgAttribute(). - */ - QList wlanScanResultList_; + // Scan result list iterator. Holds the current index, starting from zero (0). + int mScanResultIterator; + + // List of WLAN access points that WLAN Management API stub will return when + // requesting for wlan scan results. + QList< QSharedPointer > mWlanScanResultList; /** * Should scan be completed immediately or not? */ - bool completeWlanScan_; + bool mCompleteWlanScan; - /** Return value of RConnectionMonitor::GetPckgAttribute(). */ - int scanRetValue_; + /** Return value of scan request. */ + int mScanRetValue; private: @@ -200,9 +201,6 @@ */ void initialize(); - /** Results of WLAN scanning. */ - WlanQtUtilsWlanScanResult wlanScanResult_; - /** List of active connections. */ WlanQtUtilsCtxActiveConnections activeConnections_; }; @@ -253,6 +251,8 @@ WlanQtUtilsCtxConnMon connMon_; /** Context for ICTS library. */ WlanQtUtilsCtxIct ict_; + /** Context for scan results. */ + WlanQtUtilsWlanScan mScan; }; #endif // WLANQTUTILSTESTCONTEXT_H