diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-04-10 17:25:34 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-04-10 18:28:33 +0200 |
commit | 83afd3ddc9a81321233065d4ff17fa620faf8ca6 (patch) | |
tree | 61ef7ffd902b0a3129c3d05d40ea6551dfe36a26 /src/mm-iface-modem.h | |
parent | e89a8a42a9c382f9471f14a5016afef8fb5eae36 (diff) |
iface-modem: new helpers to query supported modes
Diffstat (limited to 'src/mm-iface-modem.h')
-rw-r--r-- | src/mm-iface-modem.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mm-iface-modem.h b/src/mm-iface-modem.h index 3040303f..cad763ee 100644 --- a/src/mm-iface-modem.h +++ b/src/mm-iface-modem.h @@ -306,6 +306,15 @@ gboolean mm_iface_modem_is_3gpp_lte_only (MMIfaceModem *self); gboolean mm_iface_modem_is_cdma (MMIfaceModem *self); gboolean mm_iface_modem_is_cdma_only (MMIfaceModem *self); +/* Helpers to query supported modes */ +MMModemMode mm_iface_modem_get_supported_modes (MMIfaceModem *self); +gboolean mm_iface_modem_is_2g (MMIfaceModem *self); +gboolean mm_iface_modem_is_2g_only (MMIfaceModem *self); +gboolean mm_iface_modem_is_3g (MMIfaceModem *self); +gboolean mm_iface_modem_is_3g_only (MMIfaceModem *self); +gboolean mm_iface_modem_is_4g (MMIfaceModem *self); +gboolean mm_iface_modem_is_4g_only (MMIfaceModem *self); + /* Initialize Modem interface (async) */ void mm_iface_modem_initialize (MMIfaceModem *self, GCancellable *cancellable, |