mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
8bed6ff2de
* libnm-glib/Makefile.am: Use nm-manager-client.xml to produce * nm-client-bindings. * introspection/nm-manager-client.xml: Add a horrible horrbile * hack to work around an issue with dbus-glib bindings generator. The issue is, the generated C caller functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function name and different arguments and it won't compile anymore. To fix this, we now have two copies of nm-manager.xml file. nm-manager.xml contains the actual interface, that is new API + compatibility API and used by the daemon. The other, nm-manager-client.xml is only the new API without compatibility bits and is used by libnm-glib to make it compile. * introspection/nm-manager.xml: Define compatibility methods * (sleep, wake, state). * src/nm-manager.c (impl_manager_legacy_sleep) (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility interface functions for 0.6 branch. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2688 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
39 lines
1 KiB
XML
39 lines
1 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.
|
|
-->
|
|
|
|
<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="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="State" type="u" access="read"/>
|
|
|
|
<signal name="StateChange">
|
|
<arg name="state" type="u"/>
|
|
</signal>
|
|
|
|
<signal name="DeviceAdded">
|
|
<arg name="state" type="o"/>
|
|
</signal>
|
|
|
|
<signal name="DeviceRemoved">
|
|
<arg name="state" type="o"/>
|
|
</signal>
|
|
|
|
</interface>
|
|
</node>
|