summaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-messaging.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-10 12:42:54 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-14 07:05:22 +0200
commit83dc9e3e1d32eb72ed60163a066c20d553f4c468 (patch)
treea4b3f0b07c03a3908cf9e44ee1b7d645e306c75a /src/mm-iface-modem-messaging.h
parentbfa742ae13f36150e7b08fa0e9428a4a4f0f1d96 (diff)
downloadModemManager-83dc9e3e1d32eb72ed60163a066c20d553f4c468.tar.gz
iface-modem-messaging: new methods to check support for storage actions
We can now check whether a specific storage is valid for receiving or storing.
Diffstat (limited to 'src/mm-iface-modem-messaging.h')
-rw-r--r--src/mm-iface-modem-messaging.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mm-iface-modem-messaging.h b/src/mm-iface-modem-messaging.h
index 23deafc74..1f2537d03 100644
--- a/src/mm-iface-modem-messaging.h
+++ b/src/mm-iface-modem-messaging.h
@@ -180,6 +180,14 @@ gboolean mm_iface_modem_messaging_set_preferred_storages_finish (MMIfaceModemMes
GAsyncResult *res,
GError **error);
+/* Check storage support */
+gboolean mm_iface_modem_messaging_is_storage_supported_for_storing (MMIfaceModemMessaging *self,
+ MMSmsStorage storage,
+ GError **error);
+gboolean mm_iface_modem_messaging_is_storage_supported_for_receiving (MMIfaceModemMessaging *self,
+ MMSmsStorage storage,
+ GError **error);
+
/* SMS creation */
MMSms *mm_iface_modem_messaging_create_sms (MMIfaceModemMessaging *self);