diff options
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 1b984162..07a655ec 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-simple-connect-properties.h" #include "mm-bearer-properties.h" #include "mm-call-properties.h" #include "mm-modem-oma.h" @@ -45,6 +46,39 @@ /*****************************************************************************/ /** + * mm_simple_connect_properties_set_number: + * @self: a #MMSimpleConnectProperties. + * @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_simple_connect_properties_set_number (MMSimpleConnectProperties *self, + const gchar *number); + +/** + * mm_simple_connect_properties_get_number: + * @self: a #MMSimpleConnectProperties. + * + * 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_simple_connect_properties_get_number (MMSimpleConnectProperties *self); + +/*****************************************************************************/ + +/** * mm_bearer_properties_set_number: * @self: a #MMBearerProperties. * @number: the number. |