diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-10-09 17:45:43 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2013-03-22 08:11:00 +0100 |
commit | 3e33f1bc4dd925da6c52191aa953f64e1cd22de2 (patch) | |
tree | 9a038e79c350d24b574e04773d6cee42d7031774 /libmm-glib/mm-modem-cdma.c | |
parent | 9367f239db5b64f560e02575335b176c0a38024b (diff) |
api,introspection: new `ActivationState' property in the CDMA interface
Diffstat (limited to 'libmm-glib/mm-modem-cdma.c')
-rw-r--r-- | libmm-glib/mm-modem-cdma.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-cdma.c b/libmm-glib/mm-modem-cdma.c index e12c080b..6f042c03 100644 --- a/libmm-glib/mm-modem-cdma.c +++ b/libmm-glib/mm-modem-cdma.c @@ -248,6 +248,24 @@ mm_modem_cdma_get_evdo_registration_state (MMModemCdma *self) /*****************************************************************************/ /** + * mm_modem_cdma_get_activation_state: + * @self: A #MMModemCdma. + * + * Gets the state of the activation in the 3GPP2 network. + * + * Returns: a #MMModemCdmaActivationState. + */ +MMModemCdmaActivationState +mm_modem_cdma_get_activation_state (MMModemCdma *self) +{ + g_return_val_if_fail (MM_IS_MODEM_CDMA (self), MM_MODEM_CDMA_ACTIVATION_STATE_UNKNOWN); + + return mm_gdbus_modem_cdma_get_activation_state (MM_GDBUS_MODEM_CDMA (self)); +} + +/*****************************************************************************/ + +/** * mm_modem_cdma_activate_finish: * @self: A #MMModemCdma. * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to mm_modem_cdma_activate(). |