aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-simple-connect-properties.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-12-13 10:46:58 +0100
committerDan Williams <dcbw@redhat.com>2019-01-03 16:42:18 +0000
commit55c3026643ee6c75c0a68171abd884edf035b9ba (patch)
treef1bc2faa1bd0da6c8cec498dbb368a01e3952c0b /libmm-glib/mm-simple-connect-properties.h
parent5dc79ce6069a388db8c94a9fbe35cfee07445bb0 (diff)
api: deprecate 'number' in bearer properties
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/99
Diffstat (limited to 'libmm-glib/mm-simple-connect-properties.h')
-rw-r--r--libmm-glib/mm-simple-connect-properties.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libmm-glib/mm-simple-connect-properties.h b/libmm-glib/mm-simple-connect-properties.h
index 97153631..e466f6bf 100644
--- a/libmm-glib/mm-simple-connect-properties.h
+++ b/libmm-glib/mm-simple-connect-properties.h
@@ -79,8 +79,6 @@ void mm_simple_connect_properties_set_ip_type (MMSimpleConnectProperties *
MMBearerIpFamily ip_type);
void mm_simple_connect_properties_set_allow_roaming (MMSimpleConnectProperties *self,
gboolean allow_roaming);
-void mm_simple_connect_properties_set_number (MMSimpleConnectProperties *self,
- const gchar *number);
const gchar *mm_simple_connect_properties_get_pin (MMSimpleConnectProperties *self);
const gchar *mm_simple_connect_properties_get_operator_id (MMSimpleConnectProperties *self);
@@ -90,7 +88,14 @@ const gchar *mm_simple_connect_properties_get_user (MMSimpleCon
const gchar *mm_simple_connect_properties_get_password (MMSimpleConnectProperties *self);
MMBearerIpFamily mm_simple_connect_properties_get_ip_type (MMSimpleConnectProperties *self);
gboolean mm_simple_connect_properties_get_allow_roaming (MMSimpleConnectProperties *self);
-const gchar *mm_simple_connect_properties_get_number (MMSimpleConnectProperties *self);
+
+#ifndef MM_DISABLE_DEPRECATED
+G_DEPRECATED
+void mm_simple_connect_properties_set_number (MMSimpleConnectProperties *self,
+ const gchar *number);
+G_DEPRECATED
+const gchar *mm_simple_connect_properties_get_number (MMSimpleConnectProperties *self);
+#endif
/*****************************************************************************/
/* ModemManager/libmm-glib/mmcli specific methods */