libmm-glib: prefix with '3gpp' the 3GPP-specific simple status properties
This commit is contained in:
@@ -237,9 +237,9 @@ status_process_reply (MMModemSimpleStatusProperties *result,
|
||||
VALIDATE_UNKNOWN (bands_str),
|
||||
VALIDATE_UNKNOWN (access_tech_str),
|
||||
mmcli_get_3gpp_registration_state_string (
|
||||
mm_modem_simple_status_properties_get_registration_state (result)),
|
||||
VALIDATE_UNKNOWN (mm_modem_simple_status_properties_get_operator_code (result)),
|
||||
VALIDATE_UNKNOWN (mm_modem_simple_status_properties_get_operator_name (result)));
|
||||
mm_modem_simple_status_properties_get_3gpp_registration_state (result)),
|
||||
VALIDATE_UNKNOWN (mm_modem_simple_status_properties_get_3gpp_operator_code (result)),
|
||||
VALIDATE_UNKNOWN (mm_modem_simple_status_properties_get_3gpp_operator_name (result)));
|
||||
|
||||
g_free (access_tech_str);
|
||||
g_free (bands_str);
|
||||
|
||||
@@ -53,7 +53,7 @@ mm_modem_simple_status_properties_get_access_technologies (MMModemSimpleStatusPr
|
||||
}
|
||||
|
||||
MMModem3gppRegistrationState
|
||||
mm_modem_simple_status_properties_get_registration_state (MMModemSimpleStatusProperties *self)
|
||||
mm_modem_simple_status_properties_get_3gpp_registration_state (MMModemSimpleStatusProperties *self)
|
||||
{
|
||||
g_return_val_if_fail (MM_IS_MODEM_SIMPLE_STATUS_PROPERTIES (self),
|
||||
MM_MODEM_3GPP_REGISTRATION_STATE_UNKNOWN);
|
||||
@@ -62,7 +62,7 @@ mm_modem_simple_status_properties_get_registration_state (MMModemSimpleStatusPro
|
||||
}
|
||||
|
||||
const gchar *
|
||||
mm_modem_simple_status_properties_get_operator_code (MMModemSimpleStatusProperties *self)
|
||||
mm_modem_simple_status_properties_get_3gpp_operator_code (MMModemSimpleStatusProperties *self)
|
||||
{
|
||||
g_return_val_if_fail (MM_IS_MODEM_SIMPLE_STATUS_PROPERTIES (self), NULL);
|
||||
|
||||
@@ -70,7 +70,7 @@ mm_modem_simple_status_properties_get_operator_code (MMModemSimpleStatusProperti
|
||||
}
|
||||
|
||||
const gchar *
|
||||
mm_modem_simple_status_properties_get_operator_name (MMModemSimpleStatusProperties *self)
|
||||
mm_modem_simple_status_properties_get_3gpp_operator_name (MMModemSimpleStatusProperties *self)
|
||||
{
|
||||
g_return_val_if_fail (MM_IS_MODEM_SIMPLE_STATUS_PROPERTIES (self), NULL);
|
||||
|
||||
|
||||
@@ -35,9 +35,10 @@ void mm_modem_simple_status_properties_get_bands
|
||||
const MMModemBand **bands,
|
||||
guint *n_bands);
|
||||
MMModemAccessTechnology mm_modem_simple_status_properties_get_access_technologies (MMModemSimpleStatusProperties *self);
|
||||
MMModem3gppRegistrationState mm_modem_simple_status_properties_get_registration_state (MMModemSimpleStatusProperties *self);
|
||||
const gchar *mm_modem_simple_status_properties_get_operator_code (MMModemSimpleStatusProperties *self);
|
||||
const gchar *mm_modem_simple_status_properties_get_operator_name (MMModemSimpleStatusProperties *self);
|
||||
|
||||
MMModem3gppRegistrationState mm_modem_simple_status_properties_get_3gpp_registration_state (MMModemSimpleStatusProperties *self);
|
||||
const gchar *mm_modem_simple_status_properties_get_3gpp_operator_code (MMModemSimpleStatusProperties *self);
|
||||
const gchar *mm_modem_simple_status_properties_get_3gpp_operator_name (MMModemSimpleStatusProperties *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user