libmm-glib: allow getting SMS storage
This commit is contained in:
@@ -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.
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user