diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-09-28 20:34:48 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-09-29 15:43:05 +0200 |
commit | ae9ede926a1747216b54e22398edde203ec9a03c (patch) | |
tree | c6d1c405982051497ed78fbbfc7cbb6a3f16e5e4 /test | |
parent | c4a584416ab4af81b6cae653625c78f9158de1e6 (diff) |
core: use the kernel device object in the port object and the plugin interface
The mm_base_modem_grab_port() now receives a MMKernelDevice directly from the
plugin, which is then stored in the MMPort corresponding to the port.
This means that we have direct access to e.g. all properties set by udev rules
everywhere, and we don't need additional GUdevClient objects (e.g. like the one
used in the Huawei plugin to detect NDISDUP support during runtime).
For virtual ports (e.g. generated during unit tests), we have a new 'generic'
kernel device object which just provides the values from the kernel device
properties given during its creation.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index 4f6028b7..ae526cbb 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -24,6 +24,7 @@ mmtty_CPPFLAGS = \ $(MM_CFLAGS) \ -I$(top_srcdir) \ -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/kerneldevice \ -I$(top_srcdir)/include \ -I$(top_builddir)/include \ -I$(top_srcdir)/libmm-glib \ @@ -33,7 +34,6 @@ mmtty_CPPFLAGS = \ mmtty_LDADD = \ $(MM_LIBS) \ - $(top_builddir)/src/libhelpers.la \ $(top_builddir)/src/libport.la \ $(NULL) |