aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-05-24 12:55:07 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-06-05 19:15:15 +0200
commita902e6859e077edd72f7b27a48df37f8dd6631e2 (patch)
treea7fd9ad1145076bd8d0e4a5e2cd29e48c4ec0bc0 /src/mm-iface-modem.h
parent700ebc5c07ce667204f95dbe61716234131c15fb (diff)
api,introspection: new 'SetCurrentCapabilities' method
For those modems which expose a valid 'SupportedCapabilities' property with more than one item in the list, we'll allow switching between them.
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r--src/mm-iface-modem.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h
index 8f87bc6b..cadf31eb 100644
--- a/src/mm-iface-modem.h
+++ b/src/mm-iface-modem.h
@@ -217,6 +217,15 @@ struct _MMIfaceModem {
GAsyncResult *res,
GError **error);
+ /* Asynchronous capabilities setting operation */
+ void (*set_current_capabilities) (MMIfaceModem *self,
+ MMModemCapability,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ gboolean (*set_current_capabilities_finish) (MMIfaceModem *self,
+ GAsyncResult *res,
+ GError **error);
+
/* Asynchronous current band setting operation */
void (*set_current_bands) (MMIfaceModem *self,
GArray *bands_array,