iface-modem: load SupportedModes' and SupportedBands' during init

This commit is contained in:
Aleksander Morgado
2011-11-22 17:53:49 +01:00
parent 7a20ad46d8
commit 48babcf976
2 changed files with 50 additions and 0 deletions

View File

@@ -118,6 +118,22 @@ struct _MMIfaceModem {
MMModemLock (*load_unlock_retries_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Loading of the SupportedModes property */
void (*load_supported_modes) (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);
MMModemMode (*load_supported_modes_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Loading of the SupportedBands property */
void (*load_supported_bands) (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);
MMModemBand (*load_supported_bands_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
};
GType mm_iface_modem_get_type (void);