mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 05:18:23 +02:00
introspection: add missing NMDeviceType enum (bgo #569934)
This commit is contained in:
parent
5f7cbe5ee9
commit
65c4eff185
1 changed files with 30 additions and 4 deletions
|
|
@ -47,11 +47,9 @@
|
|||
Whether or not this device is managed by NetworkManager.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
|
||||
<!-- Ugh, but I see no other way of getting the type on the caller
|
||||
based on dbus object path only -->
|
||||
<property name="DeviceType" type="u" access="read">
|
||||
<property name="DeviceType" type="u" access="read" tp:type="NM_DEVICE_TYPE">
|
||||
<tp:docstring>
|
||||
The general type of the network device; ie Ethernet, WiFi, etc.
|
||||
</tp:docstring>
|
||||
</property>
|
||||
|
||||
|
|
@ -127,6 +125,34 @@
|
|||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
<tp:enum name="NM_DEVICE_TYPE" type="u">
|
||||
<tp:enumvalue suffix="UNKNOWN" value="0">
|
||||
<tp:docstring>
|
||||
The device type is unknown.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="ETHERNET" value="1">
|
||||
<tp:docstring>
|
||||
The device is wired Ethernet device.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="WIFI" value="2">
|
||||
<tp:docstring>
|
||||
The device is an 802.11 WiFi device.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="GSM" value="3">
|
||||
<tp:docstring>
|
||||
The device is a GSM-based cellular WAN device.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
<tp:enumvalue suffix="CDMA" value="4">
|
||||
<tp:docstring>
|
||||
The device is a CDMA/IS-95-based cellular WAN device.
|
||||
</tp:docstring>
|
||||
</tp:enumvalue>
|
||||
</tp:enum>
|
||||
|
||||
<tp:flags name="NM_DEVICE_CAP" value-prefix="NM_DEVICE_CAP" type="u">
|
||||
<tp:flag suffix="NONE" value="0x0">
|
||||
<tp:docstring>Null capability.</tp:docstring>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue