sms-part: allow reseting part index

so that we can for example, tell the index is INVALID
This commit is contained in:
Aleksander Morgado
2012-03-15 14:15:02 +01:00
parent a8b3b50f45
commit 40a39e4d47
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -275,6 +275,7 @@ mm_sms_part_free (MMSmsPart *self)
}
PART_GET_FUNC (guint, index)
PART_SET_UINT_FUNC (index)
PART_GET_FUNC (const gchar *, smsc)
PART_SET_TAKE_STR_FUNC (smsc)
PART_GET_FUNC (const gchar *, number)
+2
View File
@@ -31,6 +31,8 @@ MMSmsPart *mm_sms_part_new_from_pdu (guint index,
void mm_sms_part_free (MMSmsPart *part);
guint mm_sms_part_get_index (MMSmsPart *part);
void mm_sms_part_set_index (MMSmsPart *part,
guint index);
const gchar *mm_sms_part_get_smsc (MMSmsPart *part);
void mm_sms_part_set_smsc (MMSmsPart *part,