diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-01-08 16:08:21 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:47 +0100 |
commit | 014a9eddab6c1787470caad58c0626a551fdc842 (patch) | |
tree | bd80ea5c424398b273d687868a14ba0d53bebf8a /libmm-glib/mm-bearer-properties.c | |
parent | 1c447ba85b4ec22a42e1c9f5d3e0bb7ae2c11bdc (diff) |
libmm-glib: allow passing Rm protocol to bearer properties
Diffstat (limited to 'libmm-glib/mm-bearer-properties.c')
-rw-r--r-- | libmm-glib/mm-bearer-properties.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libmm-glib/mm-bearer-properties.c b/libmm-glib/mm-bearer-properties.c index 3e9a8f55..5f14eb56 100644 --- a/libmm-glib/mm-bearer-properties.c +++ b/libmm-glib/mm-bearer-properties.c @@ -69,6 +69,15 @@ mm_bearer_properties_set_number (MMBearerProperties *self, mm_common_bearer_properties_set_number (self, number); } +void +mm_bearer_properties_set_rm_protocol (MMBearerProperties *self, + MMModemCdmaRmProtocol protocol) +{ + g_return_if_fail (MM_IS_BEARER_PROPERTIES (self)); + + mm_common_bearer_properties_set_rm_protocol (self, protocol); +} + const gchar * mm_bearer_properties_get_apn (MMBearerProperties *self) { @@ -157,6 +166,14 @@ mm_bearer_properties_dup_number (MMBearerProperties *self) return g_strdup (mm_common_bearer_properties_get_number (self)); } +MMModemCdmaRmProtocol +mm_bearer_properties_get_rm_protocol (MMBearerProperties *self) +{ + g_return_val_if_fail (MM_IS_BEARER_PROPERTIES (self), MM_MODEM_CDMA_RM_PROTOCOL_UNKNOWN); + + return mm_common_bearer_properties_get_rm_protocol (self); +} + /*****************************************************************************/ MMBearerProperties * |