aboutsummaryrefslogtreecommitdiff
path: root/src/mm-iface-modem-messaging.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-02-07 22:24:04 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:15:00 +0100
commit0841f123158b747de5a2ea7744644b049de1307d (patch)
treec1fcc3bb6d9e2a53062bfd4c1a0d3a1909eceda4 /src/mm-iface-modem-messaging.h
parent61a84528932fcbae61f3fb2275d89595634de0dd (diff)
iface-modem-messaging: allow subclassing SMS object creation methods
Diffstat (limited to 'src/mm-iface-modem-messaging.h')
-rw-r--r--src/mm-iface-modem-messaging.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-iface-modem-messaging.h b/src/mm-iface-modem-messaging.h
index 230e7d41..8a09deb9 100644
--- a/src/mm-iface-modem-messaging.h
+++ b/src/mm-iface-modem-messaging.h
@@ -21,6 +21,7 @@
#include "mm-at-serial-port.h"
#include "mm-sms-part.h"
+#include "mm-sms.h"
#define MM_TYPE_IFACE_MODEM_MESSAGING (mm_iface_modem_messaging_get_type ())
#define MM_IFACE_MODEM_MESSAGING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MM_TYPE_IFACE_MODEM_MESSAGING, MMIfaceModemMessaging))
@@ -75,6 +76,9 @@ struct _MMIfaceModemMessaging {
gboolean (*load_initial_sms_parts_finish) (MMIfaceModemMessaging *self,
GAsyncResult *res,
GError **error);
+
+ /* Create SMS objects */
+ MMSms * (* create_sms) (MMBaseModem *self);
};
GType mm_iface_modem_messaging_get_type (void);