libmm-glib,simple-status: move deprecated methods to compat source
This commit is contained in:
@@ -911,7 +911,6 @@ mm_simple_status_get_current_bands
|
|||||||
mm_simple_status_get_3gpp_registration_state
|
mm_simple_status_get_3gpp_registration_state
|
||||||
mm_simple_status_get_3gpp_operator_code
|
mm_simple_status_get_3gpp_operator_code
|
||||||
mm_simple_status_get_3gpp_operator_name
|
mm_simple_status_get_3gpp_operator_name
|
||||||
mm_simple_status_get_3gpp_subscription_state
|
|
||||||
mm_simple_status_get_cdma_cdma1x_registration_state
|
mm_simple_status_get_cdma_cdma1x_registration_state
|
||||||
mm_simple_status_get_cdma_evdo_registration_state
|
mm_simple_status_get_cdma_evdo_registration_state
|
||||||
mm_simple_status_get_cdma_nid
|
mm_simple_status_get_cdma_nid
|
||||||
@@ -1834,6 +1833,8 @@ mm_call_properties_set_state_reason
|
|||||||
mm_location_gps_nmea_build_full
|
mm_location_gps_nmea_build_full
|
||||||
<SUBSECTION Pco>
|
<SUBSECTION Pco>
|
||||||
mm_pco_list_free
|
mm_pco_list_free
|
||||||
|
<SUBSECTION SimpleStatus>
|
||||||
|
mm_simple_status_get_3gpp_subscription_state
|
||||||
<SUBSECTION Modem3gpp>
|
<SUBSECTION Modem3gpp>
|
||||||
mm_modem_3gpp_get_subscription_state
|
mm_modem_3gpp_get_subscription_state
|
||||||
<SUBSECTION ModemOma>
|
<SUBSECTION ModemOma>
|
||||||
|
@@ -125,6 +125,14 @@ mm_pco_list_free (GList *pco_list)
|
|||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
MMModem3gppSubscriptionState
|
||||||
|
mm_simple_status_get_3gpp_subscription_state (MMSimpleStatus *self)
|
||||||
|
{
|
||||||
|
return MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNKNOWN;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
MMModem3gppSubscriptionState
|
MMModem3gppSubscriptionState
|
||||||
mm_modem_3gpp_get_subscription_state (MMModem3gpp *self)
|
mm_modem_3gpp_get_subscription_state (MMModem3gpp *self)
|
||||||
{
|
{
|
||||||
|
@@ -34,6 +34,7 @@
|
|||||||
#include "mm-call-properties.h"
|
#include "mm-call-properties.h"
|
||||||
#include "mm-location-gps-nmea.h"
|
#include "mm-location-gps-nmea.h"
|
||||||
#include "mm-pco.h"
|
#include "mm-pco.h"
|
||||||
|
#include "mm-simple-status.h"
|
||||||
#include "mm-modem-3gpp.h"
|
#include "mm-modem-3gpp.h"
|
||||||
#include "mm-modem-oma.h"
|
#include "mm-modem-oma.h"
|
||||||
|
|
||||||
@@ -247,6 +248,23 @@ void mm_pco_list_free (GList *pco_list);
|
|||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* mm_simple_status_get_3gpp_subscription_state:
|
||||||
|
* @self: a #MMSimpleStatus.
|
||||||
|
*
|
||||||
|
* Gets the current subscription status of the account.
|
||||||
|
*
|
||||||
|
* Returns: a #MMModem3gppSubscriptionState.
|
||||||
|
*
|
||||||
|
* Since: 1.0
|
||||||
|
* Deprecated: 1.12.0. The value of this property can only be obtained with
|
||||||
|
* operator specific logic (e.g. processing specific PCO info), and therefore
|
||||||
|
* it doesn't make sense to expose it in the ModemManager interface.
|
||||||
|
*/
|
||||||
|
MMModem3gppSubscriptionState mm_simple_status_get_3gpp_subscription_state (MMSimpleStatus *self);
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* mm_modem_3gpp_get_subscription_state:
|
* mm_modem_3gpp_get_subscription_state:
|
||||||
* @self: A #MMModem.
|
* @self: A #MMModem.
|
||||||
|
@@ -253,31 +253,6 @@ mm_simple_status_get_3gpp_operator_name (MMSimpleStatus *self)
|
|||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#ifndef MM_DISABLE_DEPRECATED
|
|
||||||
|
|
||||||
/**
|
|
||||||
* mm_simple_status_get_3gpp_subscription_state:
|
|
||||||
* @self: a #MMSimpleStatus.
|
|
||||||
*
|
|
||||||
* Gets the current subscription status of the account.
|
|
||||||
*
|
|
||||||
* Returns: a #MMModem3gppSubscriptionState.
|
|
||||||
*
|
|
||||||
* Since: 1.0
|
|
||||||
* Deprecated: 1.12.0. The value of this property can only be obtained with
|
|
||||||
* operator specific logic (e.g. processing specific PCO info), and therefore
|
|
||||||
* it doesn't make sense to expose it in the ModemManager interface.
|
|
||||||
*/
|
|
||||||
MMModem3gppSubscriptionState
|
|
||||||
mm_simple_status_get_3gpp_subscription_state (MMSimpleStatus *self)
|
|
||||||
{
|
|
||||||
return MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNKNOWN;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* MM_DISABLE_DEPRECATED */
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* mm_simple_status_get_cdma_cdma1x_registration_state:
|
* mm_simple_status_get_cdma_cdma1x_registration_state:
|
||||||
* @self: a #MMSimpleStatus.
|
* @self: a #MMSimpleStatus.
|
||||||
|
@@ -68,10 +68,6 @@ MMModem3gppRegistrationState mm_simple_status_get_3gpp_registration_state (MMSi
|
|||||||
const gchar *mm_simple_status_get_3gpp_operator_code (MMSimpleStatus *self);
|
const gchar *mm_simple_status_get_3gpp_operator_code (MMSimpleStatus *self);
|
||||||
const gchar *mm_simple_status_get_3gpp_operator_name (MMSimpleStatus *self);
|
const gchar *mm_simple_status_get_3gpp_operator_name (MMSimpleStatus *self);
|
||||||
|
|
||||||
#ifndef MM_DISABLE_DEPRECATED
|
|
||||||
MMModem3gppSubscriptionState mm_simple_status_get_3gpp_subscription_state (MMSimpleStatus *self);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
MMModemCdmaRegistrationState mm_simple_status_get_cdma_cdma1x_registration_state (MMSimpleStatus *self);
|
MMModemCdmaRegistrationState mm_simple_status_get_cdma_cdma1x_registration_state (MMSimpleStatus *self);
|
||||||
MMModemCdmaRegistrationState mm_simple_status_get_cdma_evdo_registration_state (MMSimpleStatus *self);
|
MMModemCdmaRegistrationState mm_simple_status_get_cdma_evdo_registration_state (MMSimpleStatus *self);
|
||||||
guint mm_simple_status_get_cdma_sid (MMSimpleStatus *self);
|
guint mm_simple_status_get_cdma_sid (MMSimpleStatus *self);
|
||||||
|
Reference in New Issue
Block a user