stk: Add Duration structure

This commit is contained in:
Denis Kenzior 2010-02-27 10:19:19 -06:00
parent 4603965fc3
commit 5144254f62
1 changed files with 10 additions and 0 deletions

View File

@ -200,10 +200,20 @@ struct stk_icon_identifier {
unsigned char icon_qualifier;
};
/*
* According to 102.223 Section 8.8 interval values of 0x00 are reserved.
* We use this to denote empty duration objects.
*/
struct stk_duration {
enum stk_duration_type unit;
unsigned char interval;
};
struct stk_command_display_text {
char *text;
struct stk_icon_identifier icon_id;
ofono_bool_t immediate_response;
struct stk_duration duration;
};
struct stk_command {