diff options
-rw-r--r-- | introspection/org.freedesktop.ModemManager.Modem.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.ModemManager.Modem.xml b/introspection/org.freedesktop.ModemManager.Modem.xml index 1c032aa6..e1a07293 100644 --- a/introspection/org.freedesktop.ModemManager.Modem.xml +++ b/introspection/org.freedesktop.ModemManager.Modem.xml @@ -93,6 +93,11 @@ Reason for state transition. </tp:docstring> </arg> + <arg name="reason" type="u" tp:type="MM_MODEM_CONNECTION_STATE_CHANGED_REASON"> + <tp:docstring> + Reason for this state change. + </tp:docstring> + </arg> </signal> <property name="Device" type="s" access="read"> @@ -211,5 +216,24 @@ </tp:enumvalue> </tp:enum> + <tp:enum name="MM_MODEM_CONNECTION_STATE_CHANGE_REASON" type="u"> + <tp:enumvalue suffix="UNKNOWN" value="0"> + <tp:docstring> + Reason unknown or not reportable. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="REQUESTED" value="1"> + <tp:docstring> + Connection state change was requested by an interface user. + </tp:docstring> + </tp:enumvalue> + <tp:enumvalue suffix="SUSPEND" value="2"> + <tp:docstring> + Connection state change was caused by a system suspend. + </tp:docstring> + </tp:enumvalue> + </tp:enum> + + </interface> </node> |