iface-modem: handle Reset() calls

Also considering that reseting may not be implemented.
This commit is contained in:
Aleksander Morgado
2011-11-22 19:03:25 +01:00
parent 2a1465bc91
commit 03490d1171
2 changed files with 104 additions and 2 deletions

View File

@@ -136,6 +136,14 @@ struct _MMIfaceModem {
MMModemBand (*load_supported_bands_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Asynchronous reset operation */
void (*reset) (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*reset_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
};
GType mm_iface_modem_get_type (void);