iface-modem: get consolidated state from all subsystems

We don't want, e.g.,  REGISTERED->ENABLED transitions when 3GPP gets
unregistered but we're still registered in CDMA.
This commit is contained in:
Aleksander Morgado
2012-01-05 19:05:15 +01:00
parent 6d76f1755f
commit 0b8d0c697d
2 changed files with 114 additions and 0 deletions

View File

@@ -310,6 +310,10 @@ guint mm_iface_modem_signal_quality_check_finish (MMIfaceModem *self,
GError **error);
/* Allow reporting new modem state */
void mm_iface_modem_update_subsystem_state (MMIfaceModem *self,
const gchar *subsystem,
MMModemState new_state,
MMModemStateReason reason);
void mm_iface_modem_update_state (MMIfaceModem *self,
MMModemState new_state,
MMModemStateReason reason);