diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-18 13:44:51 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:52 +0100 |
commit | 69e860329b92796fc9d7e648f67ae09a77d41840 (patch) | |
tree | 605fee221b1d2016ba5212aa489e8fdd54a2219a /libmm-glib | |
parent | 7e36f04b37c14a518370dd5be2e99b7c629b5214 (diff) |
libmm-glib: no need to expose custom flags string builders
Diffstat (limited to 'libmm-glib')
-rw-r--r-- | libmm-glib/mm-modem.c | 58 | ||||
-rw-r--r-- | libmm-glib/mm-modem.h | 6 |
2 files changed, 0 insertions, 64 deletions
diff --git a/libmm-glib/mm-modem.c b/libmm-glib/mm-modem.c index 2b9fbc1e..78a46b3a 100644 --- a/libmm-glib/mm-modem.c +++ b/libmm-glib/mm-modem.c @@ -1630,61 +1630,3 @@ mm_modem_get_sim_sync (MMModem *self, cancellable, error)); } - -/** - * mm_modem_get_capabilities_string: - * @caps: Bitmask of #MMModemCapability flags. - * - * Build a string with a list of capabilities. - * - * Returns: (transfer full): A string specifying the capabilities given in @caps. The returned value should be freed with g_free(). - */ -gchar * -mm_modem_get_capabilities_string (MMModemCapability caps) -{ - return mm_common_get_capabilities_string (caps); -} - -/** - * mm_modem_get_access_technologies_string: - * @access_tech: Bitmask of #MMModemAccessTechnology flags. - * - * Build a string with a list of access technologies. - * - * Returns: (transfer full): A string specifying the access technologies given in @access_tech. The returned value should be freed with g_free(). - */ -gchar * -mm_modem_get_access_technologies_string (MMModemAccessTechnology access_tech) -{ - return mm_common_get_access_technologies_string (access_tech); -} - -/** - * mm_modem_get_modes_string: - * @mode: Bitmask of #MMModemMode flags. - * - * Build a string with a list of modes. - * - * Returns: (transfer full): A string specifying the modes given in @mode. The returned value should be freed with g_free(). - */ -gchar * -mm_modem_get_modes_string (MMModemMode mode) -{ - return mm_common_get_modes_string (mode); -} - -/** - * mm_modem_get_bands_string: - * @bands: List of #MMModemBand values. - * @n_bands: Number of values in @bands. - * - * Build a string with a list of bands. - * - * Returns: (transfer full): A string specifying the band names given in @bands. The returned value should be freed with g_free(). - */ -gchar * -mm_modem_get_bands_string (const MMModemBand *bands, - guint n_bands) -{ - return mm_common_get_bands_string (bands, n_bands); -} diff --git a/libmm-glib/mm-modem.h b/libmm-glib/mm-modem.h index 6029da58..f7406338 100644 --- a/libmm-glib/mm-modem.h +++ b/libmm-glib/mm-modem.h @@ -202,12 +202,6 @@ MMSim *mm_modem_get_sim_sync (MMModem *self, GCancellable *cancellable, GError **error); -gchar *mm_modem_get_capabilities_string (MMModemCapability caps); -gchar *mm_modem_get_access_technologies_string (MMModemAccessTechnology access_tech); -gchar *mm_modem_get_modes_string (MMModemMode mode); -gchar *mm_modem_get_bands_string (const MMModemBand *bands, - guint n_bands); - G_END_DECLS #endif /* _MM_MODEM_H_ */ |