diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-02-06 11:51:03 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-09-05 11:28:10 +0200 |
commit | cd5ca169f1a4d9de1fd6802a4c735ffec634a245 (patch) | |
tree | c476252f1b348e7555d332fb74605a6957e38f14 /libmm-glib/mm-modem-location.h | |
parent | fbeee20d5b7789bd0bcd4e4ab1dce784390e5ebd (diff) |
libmm-glib,location: add helpers to get/set the SUPL server address
Diffstat (limited to 'libmm-glib/mm-modem-location.h')
-rw-r--r-- | libmm-glib/mm-modem-location.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libmm-glib/mm-modem-location.h b/libmm-glib/mm-modem-location.h index 5f6393da..279288d7 100644 --- a/libmm-glib/mm-modem-location.h +++ b/libmm-glib/mm-modem-location.h @@ -76,6 +76,9 @@ MMModemLocationSource mm_modem_location_get_enabled (MMModemLocation *self) gboolean mm_modem_location_signals_location (MMModemLocation *self); +const gchar *mm_modem_location_get_supl_server (MMModemLocation *self); +gchar *mm_modem_location_dup_supl_server (MMModemLocation *self); + void mm_modem_location_setup (MMModemLocation *self, MMModemLocationSource sources, gboolean signal_location, @@ -91,6 +94,19 @@ gboolean mm_modem_location_setup_sync (MMModemLocation *self, GCancellable *cancellable, GError **error); +void mm_modem_location_set_supl_server (MMModemLocation *self, + const gchar *supl, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean mm_modem_location_set_supl_server_finish (MMModemLocation *self, + GAsyncResult *res, + GError **error); +gboolean mm_modem_location_set_supl_server_sync (MMModemLocation *self, + const gchar *supl, + GCancellable *cancellable, + GError **error); + void mm_modem_location_get_3gpp (MMModemLocation *self, GCancellable *cancellable, GAsyncReadyCallback callback, |