summaryrefslogtreecommitdiff
path: root/introspection/nm-vpn-connection.xml
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2008-04-22 00:28:02 +0000
committerDan Williams <dcbw@redhat.com>2008-04-22 00:28:02 +0000
commit675d12263a43342a3d212c0827982bf2e8125386 (patch)
tree1716dd951faf95ef83580234dc88d4e853ce795e /introspection/nm-vpn-connection.xml
parentc96148167795596b106b51cf0de5e838ac7edfc8 (diff)
downloadNetworkManager-675d12263a43342a3d212c0827982bf2e8125386.tar.gz
2008-04-21 Dan Williams <dcbw@redhat.com>
* include/NetworkManager.h - Add NMActiveConnectionState enum * introspection/nm-active-connection.xml introspection/nm-vpn-connection.xml - Add 'State' property for overall active connection state - Add 'Default' property, when True means this active connection has the default route - Add PropertyChanged signals so changes actually go out over the bus * src/nm-active-connection.h - Add defines for State & Default properties * src/nm-activation-request.c - Add 'state' and 'default' properties, hook up to device 'state-changed' signal to determine active connection state * src/vpn-manager/nm-vpn-connection.c src/vpn-manager/nm-vpn-connection.h src/vpn-manager/nm-vpn-manager.c src/vpn-manager/nm-vpn-service.c - Rename old 'state' to 'vpn-state' - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state() - Add 'state' and 'default' properties, hook up to the vpn connection's 'vpn-state-changed' signal * libnm-glib/nm-active-connection.c libnm-glib/nm-active-connection.h - Add new 'state' and 'default' properties and accessors * libnm-glib/nm-vpn-connection.c libnm-glib/nm-vpn-connection.h - Rename old 'state' property to 'vpn-state' - Add new 'state' and 'default' properties and accessors git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3582 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'introspection/nm-vpn-connection.xml')
-rw-r--r--introspection/nm-vpn-connection.xml20
1 files changed, 17 insertions, 3 deletions
diff --git a/introspection/nm-vpn-connection.xml b/introspection/nm-vpn-connection.xml
index 757b8d22a0..e5f74e1423 100644
--- a/introspection/nm-vpn-connection.xml
+++ b/introspection/nm-vpn-connection.xml
@@ -20,6 +20,12 @@
<property name="Devices" type="ao" access="read">
<tp:docstring>Array of object paths representing devices which are part of this active connection.</tp:docstring>
</property>
+ <property name="State" type="u" access="read" tp:type="NM_ACTIVE_DEVICE_STATE">
+ <tp:docstring>The state of this active connection.</tp:docstring>
+ </property>
+ <property name="Default" type="b" access="read">
+ <tp:docstring>Whether this active connection is the default connection, i.e. whether it currently owns the default route.</tp:docstring>
+ </property>
</interface>
<interface name="org.freedesktop.NetworkManager.VPN.Connection">
@@ -27,14 +33,22 @@
Represents an active connection to a Virtual Private Network.
</tp:docstring>
- <property name="State" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
- <tp:docstring>The state of the VPN connection.</tp:docstring>
+ <signal name="PropertiesChanged">
+ <arg name="properties" type="a{sv}" tp:type="String_Variant_Map">
+ <tp:docstring>
+ A dictionary mapping property names to variant boxed values
+ </tp:docstring>
+ </arg>
+ </signal>
+
+ <property name="VpnState" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE">
+ <tp:docstring>The VPN-specific state of the connection.</tp:docstring>
</property>
<property name="Banner" type="s" access="read">
<tp:docstring>The banner string of the VPN connection.</tp:docstring>
</property>
- <signal name="StateChanged">
+ <signal name="VpnStateChanged">
<tp:docstring>
Emitted when the state of the VPN connection has changed.
</tp:docstring>