From 00b6cce4df7d4acbf3e580a03c2f044e18589d2c Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 24 Jan 2011 14:36:24 -0600 Subject: api: fix up StateChanged duplicate reason code And add new reason codes to the C headers. --- src/mm-modem.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mm-modem.h b/src/mm-modem.h index 8a755d88..7f0bf58d 100644 --- a/src/mm-modem.h +++ b/src/mm-modem.h @@ -40,7 +40,9 @@ typedef enum { } MMModemState; typedef enum { - MM_MODEM_STATE_REASON_NONE = 0 + MM_MODEM_STATE_REASON_NONE = 0, + MM_MODEM_STATE_REASON_USER_REQUESTED, + MM_MODEM_STATE_REASON_SUSPEND } MMModemStateReason; #define DBUS_PATH_TAG "dbus-path" -- cgit v1.2.3-70-g09d2