diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-11-21 17:25:07 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:17 +0100 |
commit | 4fbe13a73f8d7f05188292c211f7808ed5d6c632 (patch) | |
tree | 8afd62035ec5a42cd17a7219bf230dbe5d3ad630 | |
parent | 89090013f20c8b7a5ca3e2d4e0e3ca54839dafd0 (diff) |
api,dbus: simplified the Manager API, as we will use the standard ObjectManager
The recent `org.freedesktop.DBus.ObjectManager' standard API defines a common
way to handle a list of objects in the interface. It allows getting all objects,
interfaces and properties in a single method call.
See:
http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager
-rw-r--r-- | new/org.freedesktop.ModemManager1.xml | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/new/org.freedesktop.ModemManager1.xml b/new/org.freedesktop.ModemManager1.xml index 92d232d9..17106f16 100644 --- a/new/org.freedesktop.ModemManager1.xml +++ b/new/org.freedesktop.ModemManager1.xml @@ -5,18 +5,6 @@ <!-- METHODS --> - <method name="GetDevices"> - <tp:docstring> - Get the list of modems known to ModemManager. - </tp:docstring> - <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_get_devices"/> - <arg name="devices" type="ao" direction="out"> - <tp:docstring> - List of object paths of modem devices known to the system. - </tp:docstring> - </arg> - </method> - <method name="ScanDevices"> <tp:docstring> Start a new scan for connected modem devices. @@ -37,35 +25,5 @@ </arg> </method> - <signal name="ModemAdded"> - <tp:docstring> - A modem was added to the system. - </tp:docstring> - <arg name="device" type="o"> - <tp:docstring> - The object path of the newly added modem. - </tp:docstring> - </arg> - </signal> - - <signal name="ModemRemoved"> - <tp:docstring> - A modem was removed from the system, and is no longer available. - </tp:docstring> - <arg name="device" type="o"> - <tp:docstring> - The object path of the modem that was just removed. - </tp:docstring> - </arg> - </signal> - - <!-- PROPERTIES --> - - <property name="Modems" type="ao" access="read"> - <tp:docstring> - Array of object paths of all modems known to ModemManager. - </tp:docstring> - </property> - </interface> </node> |