aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElly Jones <ellyjones@google.com>2010-12-20 14:40:35 -0500
committerElly Jones <ellyjones@google.com>2010-12-20 14:40:35 -0500
commit60725028affaa7405d022de8fe0dee7ad16f1a44 (patch)
tree59aa2365c59bc881baf2c238ecd7c17986518b14
parent74b49b8b4d7d87a5fcd871662c600a7c4cc10620 (diff)
Add State property and StateChanged signal.
Change-Id: I74451404361aa8bcc33ad0e66cbd5c6208222496
-rw-r--r--introspection/org.freedesktop.ModemManager.Modem.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager.Modem.xml b/introspection/org.freedesktop.ModemManager.Modem.xml
index e0cf4bd5..1c032aa6 100644
--- a/introspection/org.freedesktop.ModemManager.Modem.xml
+++ b/introspection/org.freedesktop.ModemManager.Modem.xml
@@ -74,6 +74,27 @@
</arg>
</method>
+ <signal name="StateChanged">
+ <tp:docstring>
+ The modem's state (see the State property) changed.
+ </tp:docstring>
+ <arg name="old" type="u">
+ <tp:docstring>
+ Old state.
+ </tp:docstring>
+ </arg>
+ <arg name="new" type="u">
+ <tp:docstring>
+ New state.
+ </tp:docstring>
+ </arg>
+ <arg name="reason" type="u">
+ <tp:docstring>
+ Reason for state transition.
+ </tp:docstring>
+ </arg>
+ </signal>
+
<property name="Device" type="s" access="read">
<tp:docstring>
The modem port to use for IP configuration and traffic.
@@ -150,6 +171,15 @@
</tp:docstring>
</property>
+ <!-- This ought to be of tp:type="MM_MODEM_STATE" but there are a couple
+ more wrinkles to be sorted out before we can export that here.
+ Also, Enabled should be folded into this. -->
+ <property name="State" type="u" access="read">
+ <tp:docstring>
+ State of the modem.
+ </tp:docstring>
+ </property>
+
<tp:enum name="MM_MODEM_TYPE" type="u">
<tp:enumvalue suffix="GSM" value="1">
<tp:docstring>