diff options
| author | Michael Biebl <biebl@debian.org> | 2015-01-22 00:29:39 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2015-01-22 00:29:39 +0100 |
| commit | 2c032d8f1c6292c1338a615e6ec40252889ba85c (patch) | |
| tree | 1f77182220b2b0264288ba4a476ab47e5bc48716 /introspection/nm-vpn-plugin.xml | |
| parent | 33491bc4279481db8ae47213e34a6d695a0e8830 (diff) | |
Imported Upstream version 1.0.0 upstream/1.0.0
Diffstat (limited to 'introspection/nm-vpn-plugin.xml')
| -rw-r--r-- | introspection/nm-vpn-plugin.xml | 44 |
1 files changed, 42 insertions, 2 deletions
diff --git a/introspection/nm-vpn-plugin.xml b/introspection/nm-vpn-plugin.xml index 07397c2b..adb6a085 100644 --- a/introspection/nm-vpn-plugin.xml +++ b/introspection/nm-vpn-plugin.xml @@ -2,6 +2,8 @@ <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0"> <interface name="org.freedesktop.NetworkManager.VPN.Plugin"> + <annotation name="org.gtk.GDBus.C.Name" value="VpnPlugin"/> + <tp:docstring> This interface is provided by plugins providing VPN services to the NetworkManager daemon. </tp:docstring> @@ -137,7 +139,7 @@ </arg> </method> - <property name="State" type="u" access="read" tp:type="NM_VPN_CONNECTION_STATE"> + <property name="State" type="u" access="read" tp:type="NM_VPN_SERVICE_STATE"> <tp:docstring> The state of the plugin. </tp:docstring> @@ -147,7 +149,7 @@ <tp:docstring> Emitted when the plugin state changes. </tp:docstring> - <arg name="state" type="u" tp:type="NM_VPN_CONNECTION_STATE"> + <arg name="state" type="u" tp:type="NM_VPN_SERVICE_STATE"> <tp:docstring> The new state of the plugin. </tp:docstring> @@ -251,6 +253,44 @@ </arg> </signal> + <tp:enum name="NM_VPN_SERVICE_STATE" type="u"> + <tp:enumvalue suffix="UNKNOWN" value="0"> + <tp:docstring> + The state of the VPN plugin is unknown. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="INIT" value="1"> + <tp:docstring> + The VPN plugin is initialized. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="SHUTDOWN" value="2"> + <tp:docstring> + (Not used.) + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="STARTING" value="3"> + <tp:docstring> + The plugin is attempting to connect to a VPN server. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="STARTED" value="4"> + <tp:docstring> + The plugin has connected to a VPN server. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="STOPPING" value="5"> + <tp:docstring> + The plugin is disconnecting from the VPN server. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="STOPPED" value="6"> + <tp:docstring> + The plugin has disconnected from the VPN server. + </tp:docstring> + </tp:enumvalue> + </tp:enum> + <tp:enum name="NM_VPN_PLUGIN_FAILURE" type="u"> <tp:enumvalue suffix="LOGIN_FAILED" value="0"> <tp:docstring> |