From 1e5756c33b3059e661d47f7ae110a5fe75dc5231 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Thu, 9 Feb 2012 22:01:38 +0100 Subject: [PATCH] api,header: new `MMSmsStorage' enumeration --- docs/reference/api/mm-sections.txt | 1 + include/ModemManager-enums.h | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) 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
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 @@ -299,6 +299,28 @@ typedef enum { /*< underscore_name=mm_sms_state >*/ MM_SMS_STATE_SENT = 5, } 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.