aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-23 09:34:38 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:24 +0100
commit126332332b137c5ef3d5ee3bb71c6d4c58ab4b21 (patch)
tree8cf05557f48e7b706b9a3d441d63af4f914c6f24 /src/mm-iface-modem.h
parent59c37afae6849a639350d38eafc84b0cc42ed43e (diff)
iface-modem: allow requesting signal quality check
The new `mm_iface_modem_signal_quality_check()' method will reload the signal quality value on demand, set the value of the `SignalQuality' property in DBus, and also return the results.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index 3400bd26..de1baf78 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -137,6 +137,15 @@ struct _MMIfaceModem {
GAsyncResult *res,
GError **error);
+ /* Loading of the SignalQuality property */
+ void (*load_signal_quality) (MMIfaceModem *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ guint (*load_signal_quality_finish) (MMIfaceModem *self,
+ GAsyncResult *res,
+ gboolean *recent,
+ GError **error);
+
/* Asynchronous reset operation */
void (*reset) (MMIfaceModem *self,
GAsyncReadyCallback callback,
@@ -198,4 +207,15 @@ MMModemLock mm_iface_modem_unlock_check_finish (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
+/* Request signal quality check update.
+ * It will not only return the signal quality status, but also set the property
+ * values in the DBus interface. */
+void mm_iface_modem_signal_quality_check (MMIfaceModem *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+guint mm_iface_modem_signal_quality_check_finish (MMIfaceModem *self,
+ GAsyncResult *res,
+ gboolean *recent,
+ GError **error);
+
#endif /* MM_IFACE_MODEM_H */