aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-location.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-01-16 19:39:00 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:51 +0100
commit03c5f4e6fbb5d5f2750f23deb5832b5eaa5c5197 (patch)
tree7b35e1f3096c00ea7ed08d97b6392de80a92566e /src/mm-iface-modem-location.h
parentd7f98cf27781babb5fb9b051c1b3be228232177e (diff)
iface-modem-location: handle enabling/disabling location gathering
Diffstat (limited to 'src/mm-iface-modem-location.h')
-rw-r--r--src/mm-iface-modem-location.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mm-iface-modem-location.h b/src/mm-iface-modem-location.h
index 72220535..f332d139 100644
--- a/src/mm-iface-modem-location.h
+++ b/src/mm-iface-modem-location.h
@@ -40,6 +40,22 @@ struct _MMIfaceModemLocation {
MMModemLocationSource (*load_capabilities_finish) (MMIfaceModemLocation *self,
GAsyncResult *res,
GError **error);
+
+ /* Enable location gathering (async) */
+ void (* enable_location_gathering) (MMIfaceModemLocation *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ gboolean (*enable_location_gathering_finish) (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+
+ /* Disable location gathering (async) */
+ void (* disable_location_gathering) (MMIfaceModemLocation *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ gboolean (*disable_location_gathering_finish) (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
};
GType mm_iface_modem_location_get_type (void);
@@ -53,6 +69,22 @@ gboolean mm_iface_modem_location_initialize_finish (MMIfaceModemLocation *self,
GAsyncResult *res,
GError **error);
+/* Enable Location interface (async) */
+void mm_iface_modem_location_enable (MMIfaceModemLocation *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_iface_modem_location_enable_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+
+/* Disable Location interface (async) */
+void mm_iface_modem_location_disable (MMIfaceModemLocation *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_iface_modem_location_disable_finish (MMIfaceModemLocation *self,
+ GAsyncResult *res,
+ GError **error);
+
/* Shutdown Location interface */
void mm_iface_modem_location_shutdown (MMIfaceModemLocation *self);