libmm-glib: new helper method to build a string with access technologies
This commit is contained in:
@@ -1658,3 +1658,17 @@ 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);
|
||||
}
|
||||
|
||||
@@ -204,6 +204,7 @@ MMSim *mm_modem_get_sim_sync (MMModem *self,
|
||||
GError **error);
|
||||
|
||||
gchar *mm_modem_get_capabilities_string (MMModemCapability caps);
|
||||
gchar *mm_modem_get_access_technologies_string (MMModemAccessTechnology access_tech);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user