api: fix up StateChanged duplicate reason code

And add new reason codes to the C headers.
This commit is contained in:
Dan Williams
2011-01-24 14:36:24 -06:00
parent 245b893e98
commit 00b6cce4df
2 changed files with 7 additions and 10 deletions

View File

@@ -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"