diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-25 11:24:20 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-25 19:01:06 +0200 |
commit | 6363add86a3a848be08def62f5c14f683fb0de34 (patch) | |
tree | ee423fc380666b39da2094038830c8be5d7f1560 /libmm-glib/mm-compat.h | |
parent | b38586a12cd1aca12ebdfa363f2c48773a7ca13b (diff) |
libmm-glib,location-gps-nmea: move deprecated methods to compat source
Diffstat (limited to 'libmm-glib/mm-compat.h')
-rw-r--r-- | libmm-glib/mm-compat.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libmm-glib/mm-compat.h b/libmm-glib/mm-compat.h index 07a655ec..3d94e9a1 100644 --- a/libmm-glib/mm-compat.h +++ b/libmm-glib/mm-compat.h @@ -32,6 +32,7 @@ #include "mm-simple-connect-properties.h" #include "mm-bearer-properties.h" #include "mm-call-properties.h" +#include "mm-location-gps-nmea.h" #include "mm-modem-oma.h" /** @@ -210,6 +211,25 @@ MMCallState mm_call_properties_get_state (MMCallProperties *self); /*****************************************************************************/ /** + * mm_location_gps_nmea_build_full: + * @self: a #MMLocationGpsNmea. + * + * Gets a compilation of all cached traces, in a single string. + * Traces are separated by '\r\n'. + * + * Returns: (transfer full): a string containing all traces, or #NULL if none + * available. The returned value should be freed with g_free(). + * + * Since: 1.0 + * Deprecated: 1.14: user should use mm_location_gps_nmea_get_traces() instead, + * which provides a much more generic interface to the full list of traces. + */ +G_DEPRECATED_FOR(mm_location_gps_nmea_get_traces) +gchar *mm_location_gps_nmea_build_full (MMLocationGpsNmea *self); + +/*****************************************************************************/ + +/** * mm_modem_get_pending_network_initiated_sessions: * @self: A #MMModem. * @sessions: (out) (array length=n_sessions): Return location for the array of |