Add CDMA Activate and ActivateManual methods.

BUG=6885
TEST=built modemmanager and cromo

Change-Id: Ib73a093b13da05948a2f1da8f051fe7c55682584

Review URL: http://codereview.chromium.org/3517013
(cherry picked from commit f447c8e1a0062500e1171e031cf4c8fef76ffd59)

Conflicts:

	src/mm-modem-cdma.c
This commit is contained in:
Elly Jones
2010-12-20 15:19:45 -05:00
parent b19b25f324
commit eb90498efd
3 changed files with 81 additions and 0 deletions
+18
View File
@@ -70,6 +70,18 @@ struct _MMModemCdma {
MMModemCdmaRegistrationStateFn callback,
gpointer user_data);
void (*activate) (MMModemCdma *self,
MMModemUIntFn callback,
gpointer user_data);
void (*activate_manual) (MMModemCdma *self,
MMModemUIntFn callback,
gpointer user_data);
void (*activate_manual_debug) (MMModemCdma *self,
MMModemUIntFn callback,
gpointer user_data);
/* Signals */
void (*signal_quality) (MMModemCdma *self,
guint32 quality);
@@ -97,6 +109,12 @@ void mm_modem_cdma_get_registration_state (MMModemCdma *self,
MMModemCdmaRegistrationStateFn callback,
gpointer user_data);
void mm_modem_cdma_activate (MMModemCdma *self, MMModemUIntFn callback,
gpointer user_data);
void mm_modem_cdma_activate_manual (MMModemCdma *self, MMModemUIntFn callback,
gpointer user_data);
/* Protected */
void mm_modem_cdma_emit_signal_quality_changed (MMModemCdma *self, guint32 new_quality);