diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-09 22:01:38 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:15:03 +0100 |
commit | 1e5756c33b3059e661d47f7ae110a5fe75dc5231 (patch) | |
tree | 2c3b3308f595455b993f0c2f19331cd7d5ebf774 | |
parent | 4b6792dd62ce37fc1a0559355cf106589445412d (diff) |
api,header: new `MMSmsStorage' enumeration
-rw-r--r-- | docs/reference/api/mm-sections.txt | 1 | ||||
-rw-r--r-- | include/ModemManager-enums.h | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/docs/reference/api/mm-sections.txt b/docs/reference/api/mm-sections.txt index 607e0648..a50dc2a0 100644 --- a/docs/reference/api/mm-sections.txt +++ b/docs/reference/api/mm-sections.txt @@ -19,6 +19,7 @@ MMModemMode MMModemState MMModemStateChangeReason MMSmsState +MMSmsStorage </SECTION> <SECTION> diff --git a/include/ModemManager-enums.h b/include/ModemManager-enums.h index 6f7fc7d9..db10a93c 100644 --- a/include/ModemManager-enums.h +++ b/include/ModemManager-enums.h @@ -300,6 +300,28 @@ typedef enum { /*< underscore_name=mm_sms_state >*/ } MMSmsState; /** + * MMSmsStorage: + * @MM_SMS_STORAGE_UNKNOWN: Storage unknown. + * @MM_SMS_STORAGE_SM: SIM card storage area. + * @MM_SMS_STORAGE_ME: Mobile equipment storage area. + * @MM_SMS_STORAGE_MT: Sum of SIM and Mobile equipment storages + * @MM_SMS_STORAGE_SR: Status report message storage area. + * @MM_SMS_STORAGE_BM: Broadcast message storage area. + * @MM_SMS_STORAGE_TA: Terminal adaptor message storage area. + * + * Storage for SMS messages. + */ +typedef enum { /*< underscore_name=mm_sms_storage >*/ + MM_SMS_STORAGE_UNKNOWN = 0, + MM_SMS_STORAGE_SM = 1, + MM_SMS_STORAGE_ME = 2, + MM_SMS_STORAGE_MT = 3, + MM_SMS_STORAGE_SR = 4, + MM_SMS_STORAGE_BM = 5, + MM_SMS_STORAGE_TA = 6, +} MMSmsStorage; + +/** * MMModemLocationSource: * @MM_MODEM_LOCATION_SOURCE_NONE: None. * @MM_MODEM_LOCATION_SOURCE_3GPP_LAC_CI: Location Area Code and Cell ID. |