From 4603965fc348718460abd4c54fe689967b13cf63 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 27 Feb 2010 10:17:22 -0600 Subject: stk: Add icon identifier structure --- src/stkutil.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/stkutil.h b/src/stkutil.h index 96e321f0..baffa675 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -191,10 +191,18 @@ enum stk_duration_type { STK_DURATION_TYPE_SECOND_TENTHS = 0x02, }; -struct stk_command_display_text { - char *text; +/* + * Icon ID denotes a file on the SIM filesystem. Since EF cannot have record + * ids of 0, we use icon_id with 0 to denote empty icon_identifier objects + */ +struct stk_icon_identifier { unsigned char icon_id; unsigned char icon_qualifier; +}; + +struct stk_command_display_text { + char *text; + struct stk_icon_identifier icon_id; ofono_bool_t immediate_response; }; -- cgit v1.2.3