aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-messaging.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-10 14:37:59 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:15:03 +0100
commit69ecae2dc46f6cd6292f11e3c397234c0cb375e7 (patch)
treeb92ffa8425c7c07e887333dbb52e6a92e627cd69 /src/mm-iface-modem-messaging.h
parente6e7aa1846ec0591f1566a2d111d5775f31f2b74 (diff)
iface-modem-messaging: new method to set preferred SMS storages
Diffstat (limited to 'src/mm-iface-modem-messaging.h')
-rw-r--r--src/mm-iface-modem-messaging.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mm-iface-modem-messaging.h b/src/mm-iface-modem-messaging.h
index fdb6c049..e3268af3 100644
--- a/src/mm-iface-modem-messaging.h
+++ b/src/mm-iface-modem-messaging.h
@@ -63,6 +63,17 @@ struct _MMIfaceModemMessaging {
GArray **mem3,
GError **error);
+ /* Set preferred storages (async) */
+ void (* set_preferred_storages) (MMIfaceModemMessaging *self,
+ MMSmsStorage mem1,
+ MMSmsStorage mem2,
+ MMSmsStorage mem3,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+ gboolean (*set_preferred_storages_finish) (MMIfaceModemMessaging *self,
+ GAsyncResult *res,
+ GError **error);
+
/* Setup SMS format (async) */
void (* setup_sms_format) (MMIfaceModemMessaging *self,
GAsyncReadyCallback callback,
@@ -139,4 +150,15 @@ gboolean mm_iface_modem_messaging_take_part (MMIfaceModemMessaging *self,
MMSmsPart *sms_part,
MMSmsState state);
+/* Set preferred storages */
+void mm_iface_modem_messaging_set_preferred_storages (MMIfaceModemMessaging *self,
+ MMSmsStorage mem1,
+ MMSmsStorage mem2,
+ MMSmsStorage mem3,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_iface_modem_messaging_set_preferred_storages_finish (MMIfaceModemMessaging *self,
+ GAsyncResult *res,
+ GError **error);
+
#endif /* MM_IFACE_MODEM_MESSAGING_H */