iface-modem: handle FactoryReset() calls

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

View File

@@ -144,6 +144,15 @@ struct _MMIfaceModem {
gboolean (*reset_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Asynchronous factory-reset operation */
void (*factory_reset) (MMIfaceModem *self,
const gchar *code,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*factory_reset_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
};
GType mm_iface_modem_get_type (void);