aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-messaging.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-06 15:58:48 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-06 19:58:01 +0200
commita90d149ce476010747a32398df8b556ec597afb1 (patch)
tree474cab8192ad5176d457d950d101553519a8594b /src/mm-iface-modem-messaging.h
parent11740e9075fd43009929c57b86d78d82c34aed78 (diff)
sms: SMS objects need to be create by `create_modem()' in the Messaging iface
So that plugins can subclass the generic SMS object.
Diffstat (limited to 'src/mm-iface-modem-messaging.h')
-rw-r--r--src/mm-iface-modem-messaging.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mm-iface-modem-messaging.h b/src/mm-iface-modem-messaging.h
index 66d2a7ae..23deafc7 100644
--- a/src/mm-iface-modem-messaging.h
+++ b/src/mm-iface-modem-messaging.h
@@ -125,7 +125,7 @@ struct _MMIfaceModemMessaging {
GError **error);
/* Create SMS objects */
- MMSms * (* create_sms) (MMBaseModem *self);
+ MMSms * (* create_sms) (MMIfaceModemMessaging *self);
};
GType mm_iface_modem_messaging_get_type (void);
@@ -180,4 +180,7 @@ gboolean mm_iface_modem_messaging_set_preferred_storages_finish (MMIfaceModemMes
GAsyncResult *res,
GError **error);
+/* SMS creation */
+MMSms *mm_iface_modem_messaging_create_sms (MMIfaceModemMessaging *self);
+
#endif /* MM_IFACE_MODEM_MESSAGING_H */