iface-modem: send power-down command during disable

This commit is contained in:
Aleksander Morgado
2011-11-25 15:13:43 +01:00
parent 5e3ad0fe58
commit 589c6419d2
2 changed files with 51 additions and 0 deletions

View File

@@ -234,6 +234,14 @@ struct _MMIfaceModem {
gboolean (*modem_charset_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Asynchronous modem power-down operation */
void (*modem_power_down) (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);
gboolean (*modem_power_down_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
};
GType mm_iface_modem_get_type (void);