Index: src/mm-modem-cdma.c |
diff --git a/src/mm-modem-cdma.c b/src/mm-modem-cdma.c |
index 3782c5ee73c29bc850f9cf9692d9295b9ed387ba..7f20730059277d86f2622bc5feee05642fe72ca7 100644 |
--- a/src/mm-modem-cdma.c |
+++ b/src/mm-modem-cdma.c |
@@ -27,6 +27,8 @@ static void impl_modem_cdma_get_esn (MMModemCdma *modem, DBusGMethodInvocation * |
static void impl_modem_cdma_get_serving_system (MMModemCdma *modem, DBusGMethodInvocation *context); |
static void impl_modem_cdma_get_registration_state (MMModemCdma *modem, DBusGMethodInvocation *context); |
static void impl_modem_cdma_activate (MMModemCdma *modem, DBusGMethodInvocation *context); |
+static void impl_modem_cdma_activate_manual (MMModemCdma *modem, DBusGMethodInvocation *context); |
+static void impl_modem_cdma_activate_manual_debug (MMModemCdma *modem, DBusGMethodInvocation *context); |
#include "mm-modem-cdma-glue.h" |
@@ -270,6 +272,36 @@ static void impl_modem_cdma_activate(MMModemCdma *modem, |
mm_modem_cdma_activate (modem, uint_call_done, context); |
} |
+ |
+void mm_modem_cdma_activate_manual(MMModemCdma *self, MMModemUIntFn callback, |
+ gpointer user_data) { |
+ g_return_if_fail (MM_IS_MODEM_CDMA (self)); |
+ g_return_if_fail (callback != NULL); |
+ if (MM_MODEM_CDMA_GET_INTERFACE (self)->activate_manual) |
+ MM_MODEM_CDMA_GET_INTERFACE (self)->activate_manual(self, callback, user_data); |
+ else |
+ uint_op_not_supported (MM_MODEM (self), callback, user_data); |
+} |
+static void impl_modem_cdma_activate_manual (MMModemCdma *modem, |
+ DBusGMethodInvocation *context) { |
+ mm_modem_cdma_activate_manual(modem, uint_call_done, context); |
+} |
+ |
+void mm_modem_cdma_activate_manual_debug(MMModemCdma *self, MMModemUIntFn callback, |
+ gpointer user_data) { |
+ g_return_if_fail (MM_IS_MODEM_CDMA (self)); |
+ g_return_if_fail (callback != NULL); |
+ if (MM_MODEM_CDMA_GET_INTERFACE (self)->activate_manual_debug) |
+ MM_MODEM_CDMA_GET_INTERFACE (self)->activate_manual_debug(self, callback, user_data); |
+ else |
+ uint_op_not_supported (MM_MODEM (self), callback, user_data); |
+} |
+static void impl_modem_cdma_activate_manual_debug (MMModemCdma *modem, |
+ DBusGMethodInvocation *context) { |
+ mm_modem_cdma_activate_manual_debug(modem, uint_call_done, context); |
+} |
+ |
+ |
/*****************************************************************************/ |
static void |