aboutsummaryrefslogtreecommitdiff
path: root/libmm-glib/mm-bearer-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-bearer-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-bearer-properties.h')
-rw-r--r--libmm-glib/mm-bearer-properties.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libmm-glib/mm-bearer-properties.h b/libmm-glib/mm-bearer-properties.h
index e1ddb995..6a302cf5 100644
--- a/libmm-glib/mm-bearer-properties.h
+++ b/libmm-glib/mm-bearer-properties.h
@@ -73,8 +73,6 @@ void mm_bearer_properties_set_ip_type (MMBearerProperties *self,
MMBearerIpFamily ip_type);
void mm_bearer_properties_set_allow_roaming (MMBearerProperties *self,
gboolean allow_roaming);
-void mm_bearer_properties_set_number (MMBearerProperties *self,
- const gchar *number);
void mm_bearer_properties_set_rm_protocol (MMBearerProperties *self,
MMModemCdmaRmProtocol protocol);
@@ -84,9 +82,16 @@ const gchar *mm_bearer_properties_get_user (MMBearerPropertie
const gchar *mm_bearer_properties_get_password (MMBearerProperties *self);
MMBearerIpFamily mm_bearer_properties_get_ip_type (MMBearerProperties *self);
gboolean mm_bearer_properties_get_allow_roaming (MMBearerProperties *self);
-const gchar *mm_bearer_properties_get_number (MMBearerProperties *self);
MMModemCdmaRmProtocol mm_bearer_properties_get_rm_protocol (MMBearerProperties *self);
+#ifndef MM_DISABLE_DEPRECATED
+G_DEPRECATED
+void mm_bearer_properties_set_number (MMBearerProperties *self,
+ const gchar *number);
+G_DEPRECATED
+const gchar *mm_bearer_properties_get_number (MMBearerProperties *self);
+#endif
+
/*****************************************************************************/
/* ModemManager/libmm-glib/mmcli specific methods */