Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanmodule.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanmodule.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanmodule.h b/noncore/settings/networksettings/wlan/wlanmodule.h new file mode 100644 index 0000000..1fbf6a9 --- a/dev/null +++ b/noncore/settings/networksettings/wlan/wlanmodule.h @@ -0,0 +1,38 @@ +#ifndef WLAN_MODULE_H +#define WLAN_MODULE_H + +#include "module.h" + +class WLANModule : Module{ + +signals: + void updateInterface(Interface *i); + +public: + WLANModule(); + + virtual bool isOwner(Interface *); + virtual QWidget *configure(QTabWidget **tabWidget); + virtual QWidget *information(QTabWidget **tabWidget); + virtual QList<Interface> getInterfaces(); + virtual QMap<QString, QString> possibleNewInterfaces(); + virtual Interface *addNewInterface(QString name); + virtual bool remove(Interface* i); + virtual QString getPixmapName(Interface* i); + +private: + QList<Interface> list; + +}; + +extern "C" +{ + void* create_plugin() { + return new WLANModule(); + } +}; + +#endif + +// wlanmodule.h + |