api,introspection: new `ActivationState' property in the CDMA interface
This commit is contained in:
@@ -288,6 +288,7 @@ mm_modem_cdma_get_nid
|
|||||||
mm_modem_cdma_get_sid
|
mm_modem_cdma_get_sid
|
||||||
mm_modem_cdma_get_cdma1x_registration_state
|
mm_modem_cdma_get_cdma1x_registration_state
|
||||||
mm_modem_cdma_get_evdo_registration_state
|
mm_modem_cdma_get_evdo_registration_state
|
||||||
|
mm_modem_cdma_get_activation_state
|
||||||
<SUBSECTION Methods>
|
<SUBSECTION Methods>
|
||||||
mm_modem_cdma_activate
|
mm_modem_cdma_activate
|
||||||
mm_modem_cdma_activate_finish
|
mm_modem_cdma_activate_finish
|
||||||
@@ -1579,6 +1580,7 @@ MmGdbusModemCdmaIface
|
|||||||
<SUBSECTION Getters>
|
<SUBSECTION Getters>
|
||||||
mm_gdbus_modem_cdma_get_cdma1x_registration_state
|
mm_gdbus_modem_cdma_get_cdma1x_registration_state
|
||||||
mm_gdbus_modem_cdma_get_evdo_registration_state
|
mm_gdbus_modem_cdma_get_evdo_registration_state
|
||||||
|
mm_gdbus_modem_cdma_get_activation_state
|
||||||
mm_gdbus_modem_cdma_get_esn
|
mm_gdbus_modem_cdma_get_esn
|
||||||
mm_gdbus_modem_cdma_dup_esn
|
mm_gdbus_modem_cdma_dup_esn
|
||||||
mm_gdbus_modem_cdma_get_meid
|
mm_gdbus_modem_cdma_get_meid
|
||||||
@@ -1593,6 +1595,7 @@ mm_gdbus_modem_cdma_call_activate_manual
|
|||||||
mm_gdbus_modem_cdma_call_activate_manual_finish
|
mm_gdbus_modem_cdma_call_activate_manual_finish
|
||||||
mm_gdbus_modem_cdma_call_activate_manual_sync
|
mm_gdbus_modem_cdma_call_activate_manual_sync
|
||||||
<SUBSECTION Private>
|
<SUBSECTION Private>
|
||||||
|
mm_gdbus_modem_cdma_set_activation_state
|
||||||
mm_gdbus_modem_cdma_set_cdma1x_registration_state
|
mm_gdbus_modem_cdma_set_cdma1x_registration_state
|
||||||
mm_gdbus_modem_cdma_set_esn
|
mm_gdbus_modem_cdma_set_esn
|
||||||
mm_gdbus_modem_cdma_set_evdo_registration_state
|
mm_gdbus_modem_cdma_set_evdo_registration_state
|
||||||
|
@@ -61,6 +61,14 @@
|
|||||||
<arg name="status_changes" type="a{sv}" />
|
<arg name="status_changes" type="a{sv}" />
|
||||||
</signal>
|
</signal>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
ActivationState:
|
||||||
|
|
||||||
|
A <link linkend="MMModemCdmaActivationState">MMModemCdmaActivationState</link>
|
||||||
|
value specifying the state of the activation in the 3GPP2 network.
|
||||||
|
-->
|
||||||
|
<property name="ActivationState" type="u" access="read" />
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Meid:
|
Meid:
|
||||||
|
|
||||||
|
@@ -247,6 +247,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:
|
* mm_modem_cdma_activate_finish:
|
||||||
* @self: A #MMModemCdma.
|
* @self: A #MMModemCdma.
|
||||||
|
@@ -90,6 +90,7 @@ guint mm_modem_cdma_get_nid (MMModemCdma *self);
|
|||||||
|
|
||||||
MMModemCdmaRegistrationState mm_modem_cdma_get_cdma1x_registration_state (MMModemCdma *self);
|
MMModemCdmaRegistrationState mm_modem_cdma_get_cdma1x_registration_state (MMModemCdma *self);
|
||||||
MMModemCdmaRegistrationState mm_modem_cdma_get_evdo_registration_state (MMModemCdma *self);
|
MMModemCdmaRegistrationState mm_modem_cdma_get_evdo_registration_state (MMModemCdma *self);
|
||||||
|
MMModemCdmaActivationState mm_modem_cdma_get_activation_state (MMModemCdma *self);
|
||||||
|
|
||||||
void mm_modem_cdma_activate (MMModemCdma *self,
|
void mm_modem_cdma_activate (MMModemCdma *self,
|
||||||
const gchar *carrier,
|
const gchar *carrier,
|
||||||
|
Reference in New Issue
Block a user