aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-location.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-03-26 19:24:25 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-03-29 09:17:53 +0200
commitceefa2c356ae270c7dda4b5e771d225502d4913d (patch)
tree5caa9ef50a9d633d00a91a371f165b0af72acd86 /src/mm-iface-modem-location.h
parent090e3492095cf6d663bfb3f83b3ed0cb19121f1a (diff)
location: rework to allow multiple location sources
Location sources can now be enabled or disabled by using the mask of sources given in Setup() (similar previous Enable()).
Diffstat (limited to 'src/mm-iface-modem-location.h')
-rw-r--r--src/mm-iface-modem-location.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mm-iface-modem-location.h b/src/mm-iface-modem-location.h
index 2346c0f4..19f760e4 100644
--- a/src/mm-iface-modem-location.h
+++ b/src/mm-iface-modem-location.h
@@ -43,6 +43,7 @@ struct _MMIfaceModemLocation {
/* Enable location gathering (async) */
void (* enable_location_gathering) (MMIfaceModemLocation *self,
+ MMModemLocationSource source,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*enable_location_gathering_finish) (MMIfaceModemLocation *self,
@@ -51,6 +52,7 @@ struct _MMIfaceModemLocation {
/* Disable location gathering (async) */
void (* disable_location_gathering) (MMIfaceModemLocation *self,
+ MMModemLocationSource source,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*disable_location_gathering_finish) (MMIfaceModemLocation *self,