From 1ac18a06bb37d8745480a9af4fd6bc2f762bf265 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 22 Aug 2012 09:35:15 +0200 Subject: api,dbus: 'ip-type' property now given as a MMBearerIpFamily (u) Instead of using a predefined set of string values for 'ip-type' in Modem.CreateBearer() and Simple.Connect(), we'll use an enumeration. The implementation will then need to convert the requested IP family type to e.g. the correct PDP type in 3GPP modems. This change also consolidates the use of enums in dictionary properties when possible to do so, as with the Rm Protocol. --- libmm-common/mm-common-helpers.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmm-common/mm-common-helpers.h') diff --git a/libmm-common/mm-common-helpers.h b/libmm-common/mm-common-helpers.h index 98d97f41..13d5b505 100644 --- a/libmm-common/mm-common-helpers.h +++ b/libmm-common/mm-common-helpers.h @@ -36,6 +36,8 @@ gboolean mm_common_get_boolean_from_string (const gchar *value, GError **error); MMModemCdmaRmProtocol mm_common_get_rm_protocol_from_string (const gchar *str, GError **error); +MMBearerIpFamily mm_common_get_ip_type_from_string (const gchar *str, + GError **error); GArray *mm_common_bands_variant_to_garray (GVariant *variant); MMModemBand *mm_common_bands_variant_to_array (GVariant *variant, -- cgit v1.2.3-70-g09d2