Reserve space for the assoicated icon.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-qt.h
index a6c70e7d9dd518dd2aef8ca18d956b02d0592f95..1a96c36e5e396291da6c6747ae7f0712668061ae 100644 (file)
@@ -56,8 +56,7 @@ public:
        DhcpcdQt();
        ~DhcpcdQt();
 
-       void closeAbout();
-
+       DHCPCD_CONNECTION *getConnection();
        static void dhcpcd_status_cb(DHCPCD_CONNECTION *con,
            const char *status, void *d);
        void statusCallback(const char *status);
@@ -66,9 +65,14 @@ public:
 
        static void dhcpcd_wpa_scan_cb(DHCPCD_WPA *wpa, void *d);
        void scanCallback(DHCPCD_WPA *wpa);
+       static void dhcpcd_wpa_status_cb(DHCPCD_WPA *wpa, const char *status,
+           void *d);
+       void wpaStatusCallback(DHCPCD_WPA *wpa, const char *status);
 
        static QIcon getIcon(QString category, QString name);
+       QList<DhcpcdWi *> *getWis();
 
+       void closeAbout();
        void dialogClosed(QDialog *dialog);
 
 protected:
@@ -99,6 +103,7 @@ private:
        QDialog *about;
        QDialog *preferences;
 
+       void processScans(DhcpcdWi *wi, DHCPCD_WI_SCAN *scans);
        void addSsidMenu(QMenu *&menu, DHCPCD_IF *ifp, DhcpcdWi *&wi);
        void createSsidMenu();