libmm-glib: no need to expose custom flags string builders
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user