2 * wpa_gui - AddInterface class
3 * Copyright (c) 2008, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
12 * See README and COPYING for more details.
15 #ifndef ADDINTERFACE_H
16 #define ADDINTERFACE_H
20 #include <QtGui/QDialog>
21 #include <QtGui/QTreeWidget>
22 #include <QtGui/QVBoxLayout>
26 class AddInterface
: public QDialog
31 AddInterface(WpaGui
*_wpagui
, QWidget
*parent
= 0);
34 virtual void interfaceSelected(QTreeWidgetItem
*sel
);
38 bool addRegistryInterface(const QString
&ifname
);
40 QVBoxLayout
*vboxLayout
;
41 QTreeWidget
*interfaceWidget
;
45 #endif /* ADDINTERFACE_H */