aboutsummaryrefslogtreecommitdiff
path: root/src/mm-sms-part.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-04-03 16:30:48 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-04-05 17:48:51 +0200
commitf9105bff875ae0e7263718a317e156948957a6d0 (patch)
tree417299f51a7d17d7d5bd30692fd7b5ffd98092de /src/mm-sms-part.h
parent372a49bbf661c95110852c86df54008a7bad2774 (diff)
api,introspection: update 'Validity' property in the SMS interface
We don't want to support only 'relative' validity, so don't assume that the Validity property will always be a uint32 value. Instead, we define the Validity propery as '(uv)' tuple, where the first value (a MMSmsValidityType) specifies the type of validity, and the second value is a variant formatted accordingly to what the validity type specifies (e.g. a uint32 value if the type is MM_SMS_VALIDITY_TYPE_RELATIVE).
Diffstat (limited to 'src/mm-sms-part.h')
-rw-r--r--src/mm-sms-part.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mm-sms-part.h b/src/mm-sms-part.h
index 4517a7a7..8e7cdd92 100644
--- a/src/mm-sms-part.h
+++ b/src/mm-sms-part.h
@@ -100,8 +100,8 @@ 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 mm_sms_part_get_validity_relative (MMSmsPart *part);
+void mm_sms_part_set_validity_relative (MMSmsPart *part,
guint validity);
guint mm_sms_part_get_delivery_state (MMSmsPart *part);