location,agps: explicitly specify that MSA A-GPS is implemented
The A-GPS based implementations we currently have assume MSA A-GPS, so rename the MMModemLocationSource enum value to reflect that.
This commit is contained in:

committed by
Aleksander Morgado

parent
619d2ce5ac
commit
b77aa7ab0e
@@ -694,6 +694,20 @@ typedef int MMModemBandDeprecated;
|
||||
*/
|
||||
#define MM_MODEM_BAND_CDMA_BC19_US_LOWER_700 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC19)
|
||||
|
||||
/* The following type exists just so that we can get deprecation warnings */
|
||||
MM_DEPRECATED
|
||||
typedef int MMModemLocationSourceDeprecated;
|
||||
|
||||
/**
|
||||
* MM_MODEM_LOCATION_SOURCE_AGPS:
|
||||
*
|
||||
* A-GPS location requested.
|
||||
*
|
||||
* Since: 1.0
|
||||
* Deprecated: 1.12.0: Use #MM_MODEM_LOCATION_SOURCE_AGPS_MSA instead.
|
||||
*/
|
||||
#define MM_MODEM_LOCATION_SOURCE_AGPS ((MMModemLocationSourceDeprecated)MM_MODEM_LOCATION_SOURCE_AGPS_MSA)
|
||||
|
||||
#endif /* MM_DISABLE_DEPRECATED */
|
||||
|
||||
#endif /* _MODEMMANAGER_COMPAT_H_ */
|
||||
|
Reference in New Issue
Block a user