From 3e866b2330b224be47e7d19b2e4dbac483fdb946 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 23 Jan 2012 15:20:39 +0100 Subject: api,header: new `MM_MODEM_3GPP_USSD_SESSION_STATE_UNKNOWN' To be set when USSD is not enabled. --- include/ModemManager-enums.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/ModemManager-enums.h') diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index 4ad2e9b9..77deff98 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -466,6 +466,7 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_network_availability >*/ /** * MMModem3gppUssdSessionState: + * @MM_MODEM_3GPP_USSD_SESSION_STATE_UNKNOWN: Unknown state. * @MM_MODEM_3GPP_USSD_SESSION_STATE_IDLE: No active session. * @MM_MODEM_3GPP_USSD_SESSION_STATE_ACTIVE: A session is active and the mobile is waiting for a response. * @MM_MODEM_3GPP_USSD_SESSION_STATE_USER_RESPONSE: The network is waiting for the client's response. @@ -473,9 +474,10 @@ typedef enum { /*< underscore_name=mm_modem_3gpp_network_availability >*/ * State of a USSD session. */ typedef enum { /*< underscore_name=mm_modem_3gpp_ussd_session_state >*/ - MM_MODEM_3GPP_USSD_SESSION_STATE_IDLE = 0, - MM_MODEM_3GPP_USSD_SESSION_STATE_ACTIVE = 1, - MM_MODEM_3GPP_USSD_SESSION_STATE_USER_RESPONSE = 2, + MM_MODEM_3GPP_USSD_SESSION_STATE_UNKNOWN = 0, + MM_MODEM_3GPP_USSD_SESSION_STATE_IDLE = 1, + MM_MODEM_3GPP_USSD_SESSION_STATE_ACTIVE = 2, + MM_MODEM_3GPP_USSD_SESSION_STATE_USER_RESPONSE = 3, } MMModem3gppUssdSessionState; #endif /* _MODEMMANAGER_ENUMS_H_ */ -- cgit v1.2.3-70-g09d2