diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-09 23:47:36 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:15:03 +0100 |
commit | f6ef117d32b690b8fe75b45d278f439a3d1c8b3b (patch) | |
tree | d8e90ae7ce36caf79347f09bdde4c8f9f86e2d3d /src/mm-iface-modem-messaging.c | |
parent | 55ba297fb8418cde124a5cdc3c1a8837b9e1fd5e (diff) |
iface-modem-messaging: new properties to define preferred mem1/mem2/mem3 storages
Diffstat (limited to 'src/mm-iface-modem-messaging.c')
-rw-r--r-- | src/mm-iface-modem-messaging.c | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/src/mm-iface-modem-messaging.c b/src/mm-iface-modem-messaging.c index b93f4681..0268ca92 100644 --- a/src/mm-iface-modem-messaging.c +++ b/src/mm-iface-modem-messaging.c @@ -786,7 +786,6 @@ interface_initialization_step (InitializationContext *ctx) /* If there is no implementation to check support, assume we DON'T * support it. */ } - /* Fall down to next step */ ctx->step++; @@ -931,6 +930,33 @@ iface_modem_messaging_init (gpointer g_iface) FALSE, G_PARAM_READWRITE)); + g_object_interface_install_property + (g_iface, + g_param_spec_enum (MM_IFACE_MODEM_MESSAGING_SMS_MEM1_STORAGE, + "SMS mem1 storage", + "Default storage to be used when listing/reading/deleting SMS messages", + MM_TYPE_SMS_STORAGE, + MM_SMS_STORAGE_ME, + G_PARAM_READWRITE)); + + g_object_interface_install_property + (g_iface, + g_param_spec_enum (MM_IFACE_MODEM_MESSAGING_SMS_MEM2_STORAGE, + "SMS mem2 storage", + "Default storage to be used when writing/sending SMS messages", + MM_TYPE_SMS_STORAGE, + MM_SMS_STORAGE_ME, + G_PARAM_READWRITE)); + + g_object_interface_install_property + (g_iface, + g_param_spec_enum (MM_IFACE_MODEM_MESSAGING_SMS_MEM3_STORAGE, + "SMS mem3 storage", + "Default storage to be used when receiving SMS messages", + MM_TYPE_SMS_STORAGE, + MM_SMS_STORAGE_ME, + G_PARAM_READWRITE)); + initialized = TRUE; } |