summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-27 10:17:22 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-27 10:17:22 -0600
commit4603965fc348718460abd4c54fe689967b13cf63 (patch)
tree6f02e7b5de91244909fde2c525c9bc6385d4ee23
parent0418a682b822715e37ab21411a74be4d7d3987bb (diff)
downloadofono-4603965fc348718460abd4c54fe689967b13cf63.tar.bz2
stk: Add icon identifier structure
-rw-r--r--src/stkutil.h12
1 files changed, 10 insertions, 2 deletions
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;
};