Remove vanished SSID's from menu.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-wi.h
index 6ec15e0ed2928cf9ca06f3d8d1ed58dcda7654f3..e484f59270b4119fbe10816f260bf2a3a29f2616 100644 (file)
@@ -46,7 +46,7 @@ public:
        DHCPCD_WPA *getWpa();
 
        DHCPCD_WI_SCAN *getScans();
-       void setScans(DHCPCD_WI_SCAN *scans);
+       bool setScans(DHCPCD_WI_SCAN *scans);
 
        void createMenu(QMenu *parent);
        QMenu *createIfMenu(QMenu *parent);
@@ -65,6 +65,7 @@ private:
        QTimer *retryOpenTimer;
 
        QMenu *menu;
+       void createMenuItem(QMenu *menu, DHCPCD_WI_SCAN *scan);
        void createMenu1(QMenu *parent);
 };