diff options
author | Gatis Paeglis <gatis.paeglis@digia.com> | 2014-01-02 15:57:14 +0100 |
---|---|---|
committer | Gatis Paeglis <gatis.paeglis@digia.com> | 2014-01-28 12:01:04 +0200 |
commit | 696510db8f43427a9bb6ff249f688851f531cd12 (patch) | |
tree | 37fcf832449de02879b7ce3a7287588c53c6bbd5 /src/imports/wifi/qwifimodule.pro | |
parent | 95a00d27cda8b8bea27192f7ee9eb2b5ae6eb405 (diff) |
Fix dhcp issues and improve public API
- Use qconnectivity daemon for dhcp requests. Since dhcp requests are
executed in other process we don't block gui thread for this lengthy
operation.
- Why not to use "do_dhcp_request" - it is a legacy implementation of a
dhcp client and is not used anywhere in the Android source code itself.
It appears that do_dhcp_request was not removed from the libhardware_legacy
to keep compatibility for others, whose code might still depend on it.
- Differnet changes to the internal implementation and the public API.
- Add 'Interface' singleton type, installing a singleton type allows
developers to provide arbitrary functionality to a client without requiring
individual instances of the type to be instantiated by the client. We use
this to determine if Android has wifi interface.
Change-Id: I836f3a2a587b1ebf9f670ed08b10fe3483504b9e
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com>
Diffstat (limited to 'src/imports/wifi/qwifimodule.pro')
-rw-r--r-- | src/imports/wifi/qwifimodule.pro | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/imports/wifi/qwifimodule.pro b/src/imports/wifi/qwifimodule.pro deleted file mode 100644 index 449617f..0000000 --- a/src/imports/wifi/qwifimodule.pro +++ /dev/null @@ -1,21 +0,0 @@ -CXX_MODULE = qml -QT += qml quick -TARGET = qwifimodule -TARGETPATH = Qt/labs/wifi -IMPORT_VERSION = 0.1 - -SOURCES += \ - pluginmain.cpp \ - qwifimanager.cpp \ - qwifinetwork.cpp \ - qwifinetworklist.cpp - -HEADERS += \ - qwifimanager.h \ - qwifinetwork.h \ - qwifinetworklist.h - -LIBS += -lhardware_legacy -lcutils - -load(qml_plugin) - |