introspection: deprecate Carrier properties

Deprecate the 'Carrier' property present in some Device sub-interfaces
in favor of the 'Carrier' flag in the InterfaceFlags property, which
is more general as it is available for all interfaces.
This commit is contained in:
Beniamino Galvani 2019-10-10 10:18:25 +02:00
parent 2b7def052f
commit b232b5013f
7 changed files with 21 additions and 0 deletions

View file

@ -21,6 +21,9 @@
Carrier:
Indicates whether the physical carrier is found.
DEPRECATED: check for the "carrier" flag in the "InterfaceFlags"
property on the "org.freedesktop.NetworkManager.Device" interface.
-->
<property name="Carrier" type="b" access="read"/>
</interface>

View file

@ -19,6 +19,9 @@
Indicates whether the physical carrier is found (e.g. whether a cable is
plugged in or not).
DEPRECATED: check for the "lower-up" flag in the "InterfaceFlags"
property on the "org.freedesktop.NetworkManager.Device" interface.
-->
<property name="Carrier" type="b" access="read"/>

View file

@ -19,6 +19,9 @@
Indicates whether the physical carrier is found (e.g. whether a cable is
plugged in or not).
DEPRECATED: check for the "carrier" flag in the "InterfaceFlags"
property on the "org.freedesktop.NetworkManager.Device" interface.
-->
<property name="Carrier" type="b" access="read"/>

View file

@ -19,6 +19,9 @@
Indicates whether the physical carrier is found (e.g. whether a cable is
plugged in or not).
DEPRECATED: check for the "lower-up" flag in the "InterfaceFlags"
property on the "org.freedesktop.NetworkManager.Device" interface.
-->
<property name="Carrier" type="b" access="read"/>

View file

@ -19,6 +19,9 @@
Indicates whether the physical carrier is found (e.g. whether a cable is
plugged in or not).
DEPRECATED: check for the "lower-up" flag in the "InterfaceFlags"
property on the "org.freedesktop.NetworkManager.Device" interface.
-->
<property name="Carrier" type="b" access="read"/>

View file

@ -19,6 +19,9 @@
Indicates whether the physical carrier is found (e.g. whether a cable is
plugged in or not).
DEPRECATED: check for the "carrier" flag in the "InterfaceFlags"
property on the "org.freedesktop.NetworkManager.Device" interface.
-->
<property name="Carrier" type="b" access="read"/>

View file

@ -41,6 +41,9 @@
Indicates whether the physical carrier is found (e.g. whether a cable is
plugged in or not).
DEPRECATED: check for the "carrier" flag in the "InterfaceFlags"
property on the "org.freedesktop.NetworkManager.Device" interface.
-->
<property name="Carrier" type="b" access="read"/>