diff options
author | Norbert Frese <nf2.email@gmail.com> | 2010-01-31 11:06:55 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-01-31 11:06:55 -0800 |
commit | 3d0f2ecf126734e96ad1f18d7e069ded3711b9f8 (patch) | |
tree | a9a58264458560723d2a5afd9cb5cd84ccabf827 /src/mm-modem.h | |
parent | 649b7e25a038cd6df735b2558bf22ee9d379924b (diff) |
core: add an UnlockRequired property that provides lock status (bgo #604551)
Clients can check the property to determine lock/unlock status and thus
unlock the modem before trying to connect if required.
Bits of the patch by dcbw (see the bug).
Diffstat (limited to 'src/mm-modem.h')
-rw-r--r-- | src/mm-modem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-modem.h b/src/mm-modem.h index e8dd7ea2..ead2cca5 100644 --- a/src/mm-modem.h +++ b/src/mm-modem.h @@ -55,6 +55,7 @@ typedef enum { #define MM_MODEM_TYPE "type" #define MM_MODEM_IP_METHOD "ip-method" #define MM_MODEM_ENABLED "enabled" +#define MM_MODEM_UNLOCK_REQUIRED "unlock-required" #define MM_MODEM_VALID "valid" /* not exported */ #define MM_MODEM_PLUGIN "plugin" /* not exported */ #define MM_MODEM_STATE "state" /* not exported */ @@ -78,7 +79,8 @@ typedef enum { MM_MODEM_PROP_VALID, /* Not exported */ MM_MODEM_PROP_PLUGIN, /* Not exported */ MM_MODEM_PROP_STATE, /* Not exported */ - MM_MODEM_PROP_ENABLED + MM_MODEM_PROP_ENABLED, + MM_MODEM_PROP_UNLOCK_REQUIRED } MMModemProp; typedef struct _MMModem MMModem; |