Files
ModemManager/new/org.freedesktop.ModemManager1.xml
T
Aleksander Morgado 9d9a189026 api: include ScanDevices() and SetLogging() in the new manager API
These methods were available in the old API, and are needed in the new one.
2011-10-01 15:20:14 +02:00

72 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
<interface name="org.freedesktop.ModemManager1">
<!-- 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.
</tp:docstring>
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_scan_devices"/>
</method>
<method name="SetLogging">
<annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_manager_set_logging"/>
<tp:docstring>
Set logging verbosity.
</tp:docstring>
<arg name="level" type="s" direction="in">
<tp:docstring>
One of [ERR, WARN, INFO, DEBUG].
</tp:docstring>
</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>