[PATCH 1/8] 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.
---
 new/org.freedesktop.ModemManager1.xml |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/new/org.freedesktop.ModemManager1.xml b/new/org.freedesktop.ModemManager1.xml
index 6ec05da..92d232d 100644
--- a/new/org.freedesktop.ModemManager1.xml
+++ b/new/org.freedesktop.ModemManager1.xml
@@ -17,6 +17,26 @@
       </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.
-- 
1.7.4.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]