mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 23:00:07 +01:00
* introspection/nm-manager.xml introspection/nm-manager-client.xml - (ActivateConnection): return the object path of the active connection on success - (GetActiveConnections): remove - (DeactivateConnection): new function; deactivate a currently active connection - Add an ActiveConnections property which returns an array of active connection object paths * introspection/nm-device.xml - (Deactivate): remove * introspection/all.xml - Add ActiveConnection introspection * introspection/nm-active-connection.xml - Add the ActiveConnection object * include/NetworkManager.h - Add the Connection.Active D-Bus interface * src/nm-device-interface.c - (impl_device_deactivate): remove * src/nm-activation-request.c src/nm-activation-request.c src/Makefile.am - Implement the Connection.Active D-Bus interface * src/nm-manager.c - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property - (nm_manager_activate_device): return the active connection path - (connection_added_default_handler, impl_manager_activate_connection): return the active connection to the caller - (add_one_connection_element, impl_manager_get_active_connections): remove - (impl_manager_deactivate_connection): new function; deactivate an active connection * libnm-glib/nm-device.c libnm-glib/nm-device.h - Remove Deactivate() function git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3484 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
63 lines
2.2 KiB
XML
63 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!--
|
|
READ ME! READ ME! READ ME! READ ME! READ ME!
|
|
|
|
This file needs to be kept in sync with nm-manager.xml with the exception of
|
|
the legacy methods at the end of nm-manager.xml.
|
|
|
|
This file is only used to ensure that a few legacy 0.6 D-DBus methods that
|
|
NM supports don't leak into libnm-glib, but are only exposed by the NMManager
|
|
object. dbus-glib generates the same bound function names for D-Bus the methods
|
|
"sleep" and "Sleep", unfortunately.
|
|
-->
|
|
|
|
<node name="/">
|
|
<interface name="org.freedesktop.NetworkManager">
|
|
<method name="GetDevices">
|
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_devices"/>
|
|
<arg name="devices" type="ao" direction="out"/>
|
|
</method>
|
|
|
|
<method name="ActivateConnection">
|
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_activate_connection"/>
|
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
|
<arg name="service_name" type="s" direction="in"/>
|
|
<arg name="connection" type="o" direction="in"/>
|
|
<arg name="device" type="o" direction="in"/>
|
|
<arg name="specific_object" type="o" direction="in"/>
|
|
<arg name="active_connection" type="o" direction="out"/>
|
|
</method>
|
|
|
|
<method name="DeactivateConnection">
|
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_deactivate_connection"/>
|
|
<arg name="active_connection" type="o" direction="in"/>
|
|
</method>
|
|
|
|
<method name="Sleep">
|
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_sleep"/>
|
|
<arg name="sleep" type="b" direction="in"/>
|
|
</method>
|
|
|
|
<property name="WirelessEnabled" type="b" access="readwrite"/>
|
|
<property name="WirelessHardwareEnabled" type="b" access="read"/>
|
|
<property name="ActiveConnections" type="ao" access="read"/>
|
|
<property name="State" type="u" access="read"/>
|
|
|
|
<signal name="StateChanged">
|
|
<arg name="state" type="u"/>
|
|
</signal>
|
|
|
|
<signal name="PropertiesChanged">
|
|
<arg name="properties" type="a{sv}"/>
|
|
</signal>
|
|
|
|
<signal name="DeviceAdded">
|
|
<arg name="state" type="o"/>
|
|
</signal>
|
|
|
|
<signal name="DeviceRemoved">
|
|
<arg name="state" type="o"/>
|
|
</signal>
|
|
</interface>
|
|
</node>
|