sms: allow getting list of parts

This commit is contained in:
Aleksander Morgado
2012-09-06 19:58:02 +02:00
parent a90d149ce4
commit 98f588867c
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -402,6 +402,12 @@ mm_sms_has_part_index (MMSms *self,
(GCompareFunc)cmp_sms_part_index);
}
GList *
mm_sms_get_parts (MMSms *self)
{
return self->priv->parts;
}
/*****************************************************************************/
static gboolean
+1
View File
@@ -110,6 +110,7 @@ MMSmsStorage mm_sms_get_storage (MMSms *self);
gboolean mm_sms_has_part_index (MMSms *self,
guint index);
GList *mm_sms_get_parts (MMSms *self);
gboolean mm_sms_is_multipart (MMSms *self);
guint mm_sms_get_multipart_reference (MMSms *self);