sms-part: allow reseting part index
so that we can for example, tell the index is INVALID
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user