diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-25 18:43:06 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-25 19:01:06 +0200 |
commit | 4bf7657086e6ede28cfc2974c499cbe900a59152 (patch) | |
tree | 89c4407ddf69604a6e45abe5cf90245f457443ab /libmm-glib/mm-compat.h | |
parent | 219700ba6d9df49427320eb2cbfd8eae850b8921 (diff) |
libmm-glib,location-3gpp: move deprecated methods to compat source
Diffstat (limited to 'libmm-glib/mm-compat.h')
-rw-r--r-- | libmm-glib/mm-compat.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libmm-glib/mm-compat.h b/libmm-glib/mm-compat.h index 99f31555..156883a7 100644 --- a/libmm-glib/mm-compat.h +++ b/libmm-glib/mm-compat.h @@ -33,6 +33,7 @@ #include "mm-bearer-properties.h" #include "mm-call-properties.h" #include "mm-location-gps-nmea.h" +#include "mm-location-3gpp.h" #include "mm-pco.h" #include "mm-simple-status.h" #include "mm-modem-3gpp.h" @@ -212,6 +213,27 @@ G_DEPRECATED MMCallState mm_call_properties_get_state (MMCallProperties *self); /*****************************************************************************/ +/** + * mm_location_3gpp_get_mobile_network_code: + * @self: a #MMLocation3gpp. + * + * Gets the Mobile Network Code of the 3GPP network. + * + * Note that 0 may actually be a valid MNC. In general, the MNC should be + * considered valid just if the reported MCC is valid, as MCC should never + * be 0. + * + * Returns: the MNC, or 0 if unknown. + * + * Since: 1.0 + * Deprecated: 1.18.0. This function can not separate between two-digit MNCs + * and three-digit MNCs with a leading zero. Use mm_location_3gpp_get_operator_code() + * instead. + */ +G_DEPRECATED +guint mm_location_3gpp_get_mobile_network_code (MMLocation3gpp *self); + +/*****************************************************************************/ /** * mm_location_gps_nmea_build_full: |