00001 #ifndef WLAN_MODULE_H 00002 #define WLAN_MODULE_H 00003 00004 #include "module.h" 00005 00006 class WLANImp; 00007 00008 class WLANModule : Module{ 00009 00010 signals: 00011 void updateInterface(Interface *i); 00012 00013 public: 00014 WLANModule(); 00015 ~WLANModule(); 00016 00017 00018 virtual const QString type() {return "wlan";}; 00019 void setProfile(const QString &newProfile); 00020 bool isOwner(Interface *); 00021 QWidget *configure(Interface *i); 00022 QWidget *information(Interface *i); 00023 QList<Interface> getInterfaces(); 00024 void possibleNewInterfaces(QMap<QString, QString> &){}; 00025 Interface *addNewInterface(const QString &name); 00026 bool remove(Interface* i); 00027 QString getPixmapName(Interface* i); 00028 virtual void receive(const QCString&, const QByteArray&); 00029 00030 private: 00031 QWidget *getInfo(Interface*); 00032 WLANImp *wlanconfigWiget; 00033 QList<Interface> list; 00034 QString profile; 00035 00036 }; 00037 00038 extern "C" 00039 { 00040 void* create_plugin() { 00041 return new WLANModule(); 00042 } 00043 }; 00044 00045 #endif 00046 00047 // wlanmodule.h 00048
1.4.2