iface-modem: handle SetAllowedBands()

Also considering that playing with bands may not be supported.
This commit is contained in:
Aleksander Morgado
2011-11-22 19:12:33 +01:00
parent b9d60d2de4
commit 1dcd20f18d
2 changed files with 76 additions and 2 deletions

View File

@@ -153,6 +153,15 @@ struct _MMIfaceModem {
gboolean (*factory_reset_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Asynchronous allowed band setting operation */
void (*set_allowed_bands) (MMIfaceModem *self,
MMModemBand bands,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*set_allowed_bands_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
};
GType mm_iface_modem_get_type (void);