api: new `PduType' property in the SMS interface

It will help deciding the type of message.
This commit is contained in:
Aleksander Morgado
2012-09-11 14:40:42 +02:00
parent 5b6e080472
commit 7faa48ea94
8 changed files with 69 additions and 15 deletions

View File

@@ -527,7 +527,7 @@ common_test_create_pdu (const gchar *smsc,
guint len = 0, msgstart = 0;
GError *error = NULL;
part = mm_sms_part_new (0);
part = mm_sms_part_new (0, MM_SMS_PDU_TYPE_SUBMIT);
if (smsc)
mm_sms_part_set_smsc (part, smsc);
if (number)