NetworkManager/introspection/org.freedesktop.NetworkManager.VPN.Connection.xml
Thomas Haller 48dce1b66c
core: drop deprecated PropertiesChanged D-Bus signal (API BREAK)
D-Bus 1.3.1 (2010) introduced the standard "PropertiesChanged" signal
on "org.freedesktop.DBus.Properties". NetworkManager is old, and predates
this API. From that time, it still had it's own PropertiesChanged signal
that are emitted together with the standard ones. NetworkManager
supports the standard PropertiesChanged signal since it switched to
gdbus library in version 1.2.0 (2016).

These own signals are deprecated for a long time already ([1], 2016), and
are hopefully not used by anybody anymore. libnm-glib was using them and
relied on them, but that library is gone. libnm does not use them and neither
does plasma-nm.

Hopefully no users are left that are affected by this API break.

[1] 6fb917178a
2021-05-14 10:57:34 +02:00

43 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<node name="/">
<!--
org.freedesktop.NetworkManager.VPN.Connection:
@short_description: Active VPN Connection
Represents an active connection to a Virtual Private Network.
-->
<interface name="org.freedesktop.NetworkManager.VPN.Connection">
<annotation name="org.gtk.GDBus.C.Name" value="VpnConnection"/>
<!--
VpnState:
The VPN-specific state of the connection.
Returns: <link linkend="NMVpnConnectionState">NMVpnConnectionState</link>
-->
<property name="VpnState" type="u" access="read"/>
<!--
Banner:
The banner string of the VPN connection.
-->
<property name="Banner" type="s" access="read"/>
<!--
VpnStateChanged:
@state: (<link linkend="NMVpnConnectionState">NMVpnConnectionState</link>) The new state of the VPN connection.
@reason: (<link linkend="NMActiveConnectionStateReason">NMActiveConnectionStateReason</link>) Reason code describing the change to the new state.
Emitted when the state of the VPN connection has changed.
-->
<signal name="VpnStateChanged">
<arg name="state" type="u"/>
<arg name="reason" type="u"/>
</signal>
</interface>
</node>