From 5b080915200d0ba5de28d50bb088eba0aef9b362 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 3 Jun 2013 12:44:40 +0200 Subject: api,introspection: Simple.Connect() won't change neither bands nor allowed modes We won't allow changing modes or bands through Simple.Connect(). Applications should instead look at the corresponding SupportedBands or SupportedModes, and then use SetCurrentBands() or SetCurrentModes() explicitly. --- libmm-glib/mm-simple-connect-properties.h | 12 ------------ 1 file changed, 12 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 30a06fd9..e9c09ae3 100644 --- a/libmm-glib/mm-simple-connect-properties.h +++ b/libmm-glib/mm-simple-connect-properties.h @@ -63,12 +63,6 @@ void mm_simple_connect_properties_set_pin (MMSimpleConnectProperties * const gchar *pin); void mm_simple_connect_properties_set_operator_id (MMSimpleConnectProperties *self, const gchar *operator_id); -void mm_simple_connect_properties_set_current_bands (MMSimpleConnectProperties *self, - const MMModemBand *bands, - guint n_bands); -void mm_simple_connect_properties_set_current_modes (MMSimpleConnectProperties *self, - MMModemMode allowed, - MMModemMode preferred); void mm_simple_connect_properties_set_apn (MMSimpleConnectProperties *self, const gchar *apn); void mm_simple_connect_properties_set_allowed_auth (MMSimpleConnectProperties *self, @@ -86,12 +80,6 @@ void mm_simple_connect_properties_set_number (MMSimpleConnectProperties * const gchar *mm_simple_connect_properties_get_pin (MMSimpleConnectProperties *self); const gchar *mm_simple_connect_properties_get_operator_id (MMSimpleConnectProperties *self); -gboolean mm_simple_connect_properties_get_current_bands (MMSimpleConnectProperties *self, - const MMModemBand **bands, - guint *n_bands); -gboolean mm_simple_connect_properties_get_current_modes (MMSimpleConnectProperties *self, - MMModemMode *allowed, - MMModemMode *preferred); const gchar *mm_simple_connect_properties_get_apn (MMSimpleConnectProperties *self); MMBearerAllowedAuth mm_simple_connect_properties_get_allowed_auth (MMSimpleConnectProperties *self); const gchar *mm_simple_connect_properties_get_user (MMSimpleConnectProperties *self); -- cgit v1.2.3-70-g09d2