diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-25 11:10:21 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-06-25 19:01:06 +0200 |
commit | febd5778e732d8f7fb5634c6557424578dfd75fa (patch) | |
tree | 2d61d3b69758ab21e4fb164b3ecb79be15e6056f /libmm-glib/mm-compat.h | |
parent | c1fae670b77b0cac7f82ee540348f161f49d2fa3 (diff) |
libmm-glib,bearer-properties: move deprecated methods to compat source
Diffstat (limited to 'libmm-glib/mm-compat.h')
-rw-r--r-- | libmm-glib/mm-compat.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libmm-glib/mm-compat.h b/libmm-glib/mm-compat.h index 9b781762..1b984162 100644 --- a/libmm-glib/mm-compat.h +++ b/libmm-glib/mm-compat.h @@ -29,6 +29,7 @@ #error "Only <libmm-glib.h> can be included directly." #endif +#include "mm-bearer-properties.h" #include "mm-call-properties.h" #include "mm-modem-oma.h" @@ -44,6 +45,39 @@ /*****************************************************************************/ /** + * mm_bearer_properties_set_number: + * @self: a #MMBearerProperties. + * @number: the number. + * + * Sets the number to use when performing the connection. + * + * Since: 1.0 + * Deprecated: 1.10.0. The number setting is not used anywhere, and therefore + * it doesn't make sense to expose it in the ModemManager interface. + */ +G_DEPRECATED +void mm_bearer_properties_set_number (MMBearerProperties *self, + const gchar *number); + +/** + * mm_bearer_properties_get_number: + * @self: a #MMBearerProperties. + * + * Gets the number to use when performing the connection. + * + * Returns: (transfer none): the number, or #NULL if not set. Do not free the + * returned value, it is owned by @self. + * + * Since: 1.0 + * Deprecated: 1.10.0. The number setting is not used anywhere, and therefore + * it doesn't make sense to expose it in the ModemManager interface. + */ +G_DEPRECATED +const gchar *mm_bearer_properties_get_number (MMBearerProperties *self); + +/*****************************************************************************/ + +/** * mm_call_properties_set_direction: * @self: A #MMCallProperties. * @direction: the call direction |