summaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-3gpp-ussd.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-01-23 17:54:46 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:57 +0100
commit3ea437d522879e4dd6ddcf632512f587f2adb227 (patch)
tree705afa0b16ec358bfcd47492e3c844aa89fec45f /src/mm-iface-modem-3gpp-ussd.c
parent5d330154a5b00a69feb64dc601e60094678f7c0d (diff)
iface-modem-3gpp-ussd: allow subclassing encode/decode
Diffstat (limited to 'src/mm-iface-modem-3gpp-ussd.c')
-rw-r--r--src/mm-iface-modem-3gpp-ussd.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mm-iface-modem-3gpp-ussd.c b/src/mm-iface-modem-3gpp-ussd.c
index 97a896de..6ec282bb 100644
--- a/src/mm-iface-modem-3gpp-ussd.c
+++ b/src/mm-iface-modem-3gpp-ussd.c
@@ -42,6 +42,23 @@ mm_iface_modem_3gpp_ussd_bind_simple_status (MMIfaceModem3gppUssd *self,
/*****************************************************************************/
+gchar *
+mm_iface_modem_3gpp_ussd_encode (MMIfaceModem3gppUssd *self,
+ const gchar *command,
+ guint *scheme)
+{
+ return MM_IFACE_MODEM_3GPP_USSD_GET_INTERFACE (self)->encode (self, command, scheme);
+}
+
+gchar *
+mm_iface_modem_3gpp_ussd_decode (MMIfaceModem3gppUssd *self,
+ const gchar *reply)
+{
+ return MM_IFACE_MODEM_3GPP_USSD_GET_INTERFACE (self)->decode (self, reply);
+}
+
+/*****************************************************************************/
+
void
mm_iface_modem_3gpp_ussd_update_state (MMIfaceModem3gppUssd *self,
MMModem3gppUssdSessionState new_state)