summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/wlan/wlan.pro
authorkergoth <kergoth>2003-04-14 23:31:22 (UTC)
committer kergoth <kergoth>2003-04-14 23:31:22 (UTC)
commitfb07cc161b4adc5bc250569599a7164af2d7caba (patch) (side-by-side diff)
tree1f391e35146e81835af5e0a395896b3fe3c0d46b /noncore/settings/networksettings/wlan/wlan.pro
parent68c558ca78e5416145b64ca87fd01361f033ef34 (diff)
downloadopie-fb07cc161b4adc5bc250569599a7164af2d7caba.zip
opie-fb07cc161b4adc5bc250569599a7164af2d7caba.tar.gz
opie-fb07cc161b4adc5bc250569599a7164af2d7caba.tar.bz2
Add new wireless parser that uses the wireless-tools if-pre-up.d
script to handle wireless configuration, as opposed to pcmcia-cs wireless.opts. This has a number of benefits. In addition to improving clarity, this means one can now configure their wireless non-pcmcia interfaces using networksettings. The only real question is, how to handle the fact that its largely useless without the if-pre-up.d script? I'll adapt the existing wlanimp.(cpp|h) to the new .ui, and leave it as a compiletime selection for now.
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlan.pro') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/wlan/wlan.pro14
1 files changed, 12 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/wlan/wlan.pro b/noncore/settings/networksettings/wlan/wlan.pro
index f193bcc..9ddc154 100644
--- a/noncore/settings/networksettings/wlan/wlan.pro
+++ b/noncore/settings/networksettings/wlan/wlan.pro
@@ -2,8 +2,8 @@ TEMPLATE = lib
CONFIG += qt warn_on release
#CONFIG += qt warn_on debug
DESTDIR = $(OPIEDIR)/plugins/networksettings
-HEADERS = wlanimp.h infoimp.h wlanmodule.h wextensions.h
-SOURCES = wlanimp.cpp infoimp.cpp wlanmodule.cpp wextensions.cpp
+HEADERS = infoimp.h wlanmodule.h wextensions.h
+SOURCES = infoimp.cpp wlanmodule.cpp wextensions.cpp
INCLUDEPATH += $(OPIEDIR)/include ../ ../interfaces/
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -L../interfaces/ -linterfaces
@@ -11,6 +11,16 @@ INTERFACES = wlan.ui info.ui
TARGET = wlanplugin
VERSION = 1.0.0
+#CONFIG += wirelessopts
+wirelessopts {
+ HEADERS += wlanimp.h
+ SOURCES += wlanimp.cpp
+}
+
+! wirelessopts {
+ HEADERS += wlanimp2.h
+ SOURCES += wlanimp2.cpp
+}
include ( $(OPIEDIR)/include.pro )