iface-modem: load MaxBearers' and MaxActiveBearers' during init

This commit is contained in:
Aleksander Morgado
2011-11-22 17:37:15 +01:00
parent b6539e9e13
commit b35be61415
2 changed files with 57 additions and 0 deletions

View File

@@ -46,6 +46,22 @@ struct _MMIfaceModem {
MMModemCapability (*load_current_capabilities_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Loading of the MaxBearers property */
void (*load_max_bearers) (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);
guint (*load_max_bearers_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
/* Loading of the MaxActiveBearers property */
void (*load_max_active_bearers) (MMIfaceModem *self,
GAsyncReadyCallback callback,
gpointer user_data);
guint (*load_max_active_bearers_finish) (MMIfaceModem *self,
GAsyncResult *res,
GError **error);
};
GType mm_iface_modem_get_type (void);