sms-part: include validity

This commit is contained in:
Aleksander Morgado
2012-03-15 14:15:01 +01:00
parent 0841f12315
commit c17d6c09a4
3 changed files with 8 additions and 0 deletions
+3
View File
@@ -222,6 +222,7 @@ struct _MMSmsPart {
GByteArray *data;
guint data_coding_scheme;
guint class;
guint validity;
gboolean should_concat;
guint concat_reference;
@@ -290,6 +291,8 @@ PART_GET_FUNC (guint, data_coding_scheme)
PART_SET_UINT_FUNC (data_coding_scheme)
PART_GET_FUNC (guint, class)
PART_SET_UINT_FUNC (class)
PART_GET_FUNC (guint, validity)
PART_SET_UINT_FUNC (validity)
PART_GET_FUNC (guint, concat_reference)
+4
View File
@@ -69,6 +69,10 @@ guint mm_sms_part_get_class (MMSmsPart *part);
void mm_sms_part_set_class (MMSmsPart *part,
guint class);
guint mm_sms_part_get_validity (MMSmsPart *part);
void mm_sms_part_set_validity (MMSmsPart *part,
guint validity);
guint mm_sms_part_get_concat_reference (MMSmsPart *part);
void mm_sms_part_set_concat_reference (MMSmsPart *part,
guint concat_reference);
+1
View File
@@ -360,6 +360,7 @@ assemble_sms (MMSms *self,
"class", mm_sms_part_get_class (first),
"to", mm_sms_part_get_number (first),
"timestamp", mm_sms_part_get_timestamp (first),
"validity", mm_sms_part_get_validity (first),
NULL);
g_free (fulltext);
g_free (textparts);