From 1c67d050cb0451a63c8fdb0bd673892bdc04e4e0 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 29 May 2013 13:42:14 +0200 Subject: api,introspection: merge 'AllowedModes' and 'SupportedMode' into 'CurrentModes' We now have a single 'CurrentModes' property which contains both values in a tuple with signature "(uu)". Also, rename 'SetAllowedModes()' to 'SetCurrentModes()', and update the list of arguments expected to have a single "(uu)" tuple. --- libmm-glib/mm-simple-connect-properties.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmm-glib/mm-simple-connect-properties.h') diff --git a/libmm-glib/mm-simple-connect-properties.h b/libmm-glib/mm-simple-connect-properties.h index d82221da..30a06fd9 100644 --- a/libmm-glib/mm-simple-connect-properties.h +++ b/libmm-glib/mm-simple-connect-properties.h @@ -66,7 +66,7 @@ void mm_simple_connect_properties_set_operator_id (MMSimpleConnectProperties * void mm_simple_connect_properties_set_current_bands (MMSimpleConnectProperties *self, const MMModemBand *bands, guint n_bands); -void mm_simple_connect_properties_set_allowed_modes (MMSimpleConnectProperties *self, +void mm_simple_connect_properties_set_current_modes (MMSimpleConnectProperties *self, MMModemMode allowed, MMModemMode preferred); void mm_simple_connect_properties_set_apn (MMSimpleConnectProperties *self, @@ -89,7 +89,7 @@ const gchar *mm_simple_connect_properties_get_operator_id (MMSimpleCon gboolean mm_simple_connect_properties_get_current_bands (MMSimpleConnectProperties *self, const MMModemBand **bands, guint *n_bands); -gboolean mm_simple_connect_properties_get_allowed_modes (MMSimpleConnectProperties *self, +gboolean mm_simple_connect_properties_get_current_modes (MMSimpleConnectProperties *self, MMModemMode *allowed, MMModemMode *preferred); const gchar *mm_simple_connect_properties_get_apn (MMSimpleConnectProperties *self); -- cgit v1.2.3-70-g09d2