libmm-glib: allow getting SMS storage

This commit is contained in:
Aleksander Morgado
2012-02-10 17:38:55 +01:00
parent 978801ee7b
commit a35472b0a1
2 changed files with 17 additions and 0 deletions

View File

@@ -255,6 +255,22 @@ mm_sms_get_state (MMSms *self)
return mm_gdbus_sms_get_state (self);
}
/**
* mm_sms_get_storage:
* @self: A #MMSms.
*
* TODO
*
* Returns: TODO
*/
MMSmsStorage
mm_sms_get_storage (MMSms *self)
{
g_return_val_if_fail (MM_GDBUS_IS_SMS (self), FALSE);
return mm_gdbus_sms_get_storage (self);
}
/**
* mm_sms_send:
* @self: A #MMSms.

View File

@@ -84,6 +84,7 @@ gchar *mm_sms_dup_timestamp (MMSms *self);
guint mm_sms_get_validity (MMSms *self);
guint mm_sms_get_class (MMSms *self);
MMSmsState mm_sms_get_state (MMSms *self);
MMSmsStorage mm_sms_get_storage (MMSms *self);
G_END_DECLS