aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-29 12:05:44 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:29 +0100
commitb31ad376704d007a69b9b6ba85e3fb01a510731c (patch)
tree90b7f099b57e3eca0a68690cd0a9a82f8ac16bec /src/mm-iface-modem.h
parentddbfad8ca49500740989e9b2d10d319410017569 (diff)
iface-modem: allow changing the State from outside the interface
Some states need to be set from outside the scope of the Modem interface, like Registration-related ones (REGISTERED, SEARCHING, ...) or Connection-related ones (CONNECTED, ...).
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index 7d4f8ada..a59d3c8b 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -296,4 +296,9 @@ guint mm_iface_modem_signal_quality_check_finish (MMIfaceModem *self,
gboolean *recent,
GError **error);
+/* Allow reporting new modem state */
+void mm_iface_modem_update_state (MMIfaceModem *self,
+ MMModemState new_state,
+ MMModemStateReason reason);
+
#endif /* MM_IFACE_MODEM_H */