wlanutilities/wlanwizard/inc/wlanwizardscanlist.h
changeset 50 d4198dcb9983
parent 46 2fbd1d709fe7
--- a/wlanutilities/wlanwizard/inc/wlanwizardscanlist.h	Tue Jul 06 15:29:22 2010 +0300
+++ b/wlanutilities/wlanwizard/inc/wlanwizardscanlist.h	Wed Aug 18 10:52:46 2010 +0300
@@ -54,8 +54,16 @@
 class WlanSecuritySetting
 {
 public:
+    //! Enumerated value defined by CMManagerShim::WlanSecMode
     int mode;
+    
+    //! true, if passkey is required, false otherwise
     bool usePsk;
+    
+    /*! 
+     * Identifier of the next page associated with this security mode.
+     * Page ids are defined in WlanWizardPageInternal::WlanPageIds
+     */
     int nextPageId;
     
     bool operator==(const WlanSecuritySetting& setting) const {
@@ -72,8 +80,13 @@
 class WlanNetworkSetting 
 {
 public:
+    //! Enumerated value defined by CMManagerShim::WlanConnMode
     int mode;
+    
+    //! true, if hidden, false otherwise
     bool hidden;
+    
+    //! true, if supported, false otherwise
     bool wpsSupported;
     
     bool operator==(const WlanNetworkSetting& setting) const {
@@ -110,6 +123,7 @@
     int netModes() const;
     int secModes(WlanNetworkSetting netMode) const;
     QList<WlanNetworkSetting> getNetModes() const;
+    bool wpsSelected() const;
     
 private:
     // Disabling implicit assignment operator
@@ -117,6 +131,7 @@
     
 private:
     QHash<WlanNetworkSetting, QList<WlanSecuritySetting> > mOpenOptions;
+    bool mWpsSelected;
 };
 
 /*!