mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-15 22:29:58 +00:00
8ffe21b65f
Patch from Will Stephenson <wstephenson@kde.org> * Makefile.am configure.in - Set up spec autogeneration infrastructure * docs/NetworkManager DBUS API.txt - Note how old this doc is and where to look for the canonical D-Bus specification * introspection/* - Add annotations and comments git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3345 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
69 lines
2.3 KiB
XML
69 lines
2.3 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="ActivateDevice">
|
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_activate_device"/>
|
|
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
|
|
<arg name="device" type="o" direction="in"/>
|
|
<arg name="service_name" type="s" direction="in"/>
|
|
<arg name="connection" type="o" direction="in"/>
|
|
<arg name="specific_object" type="o" direction="in"/>
|
|
</method>
|
|
|
|
<method name="GetActiveConnections">
|
|
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_active_connections"/>
|
|
<!-- 'connections' is an array of structs
|
|
consisting of the following elements:
|
|
service name
|
|
connection object path
|
|
specific object
|
|
array of (device object path)
|
|
-->
|
|
<arg name="connections" type="a(sooao)" direction="out"/>
|
|
</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="State" type="u" access="read"/>
|
|
|
|
<signal name="StateChange">
|
|
<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>
|