summaryrefslogtreecommitdiff
path: root/introspection
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-06-19 12:37:49 +0200
committerJiří Klimeš <jklimes@redhat.com>2014-07-22 14:24:42 +0200
commit3ff1477349faf88a7ce569e318e72028ed03c875 (patch)
treef8c43f2c773700da8af0dddaf1265063b78afb0f /introspection
parenta0b3e4fff0b9180089ab3ebf8bde6e3d897f4265 (diff)
downloadNetworkManager-3ff1477349faf88a7ce569e318e72028ed03c875.tar.gz
device: add a new D-Bus 'Delete' method for removing software devices
Diffstat (limited to 'introspection')
-rw-r--r--introspection/nm-device.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/introspection/nm-device.xml b/introspection/nm-device.xml
index f459bce4f5..0dca23c37d 100644
--- a/introspection/nm-device.xml
+++ b/introspection/nm-device.xml
@@ -147,6 +147,15 @@
</tp:docstring>
</method>
+ <method name="Delete">
+ <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_device_delete"/>
+ <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
+ <tp:docstring>
+ Deletes a software device from NetworkManager and removes the interface from the system.
+ The method returns an error when called for a hardware device.
+ </tp:docstring>
+ </method>
+
<signal name="StateChanged">
<arg name="new_state" type="u" tp:type="NM_DEVICE_STATE">
<tp:docstring>