summaryrefslogtreecommitdiff
path: root/noncore/net/networksetup/wlan/wlanmodule.h
blob: 1fbf6a96e00514ff6a7c8b9541f6de43b94f0427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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