diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-05 11:41:56 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:45 +0100 |
commit | ad05cd2916563d218cf48a1c9327c3a689896796 (patch) | |
tree | afc00294ac95f32e9cc8d65822317acfbd13998a /src/mm-iface-modem-cdma.h | |
parent | d0d3d1f54555bd12ce726aa42524c776a82a174d (diff) |
iface-modem-cdma: last step to get detailed registration state
Diffstat (limited to 'src/mm-iface-modem-cdma.h')
-rw-r--r-- | src/mm-iface-modem-cdma.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mm-iface-modem-cdma.h b/src/mm-iface-modem-cdma.h index fe0b6dca..cd77bc3c 100644 --- a/src/mm-iface-modem-cdma.h +++ b/src/mm-iface-modem-cdma.h @@ -113,6 +113,18 @@ struct _MMIfaceModemCdma { guint *band, guint *sid, GError **error); + + /* Get detailed registration state */ + void (* get_detailed_registration_state) (MMIfaceModemCdma *self, + MMModemCdmaRegistrationState cdma1x_state, + MMModemCdmaRegistrationState evdo_state, + GAsyncReadyCallback callback, + gpointer user_data); + gboolean (* get_detailed_registration_state_finish) (MMIfaceModemCdma *self, + GAsyncResult *res, + MMModemCdmaRegistrationState *detailed_cdma1x_state, + MMModemCdmaRegistrationState *detailed_evdo_state, + GError **error); }; GType mm_iface_modem_cdma_get_type (void); @@ -165,7 +177,8 @@ void mm_iface_modem_cdma_activate_manual (MMIfaceModemCdma *self, /* Objects implementing this interface can report new registration states. */ void mm_iface_modem_cdma_update_cdma1x_registration_state (MMIfaceModemCdma *self, - MMModemCdmaRegistrationState state); + MMModemCdmaRegistrationState state, + guint sid); void mm_iface_modem_cdma_update_evdo_registration_state (MMIfaceModemCdma *self, MMModemCdmaRegistrationState state); |