FreeCalypso > hg > fc-tourmaline
comparison src/ui/bmi/mmiSmsBroadcast.h @ 124:073242ccbb63
mmiSms*.h: bogotab fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 10 Nov 2020 06:08:42 +0000 |
parents | c0052fe355d3 |
children | 62480f597962 |
comparison
equal
deleted
inserted
replaced
123:2d8124accc74 | 124:073242ccbb63 |
---|---|
78 /* SPR759 - SH - moved from .c file */ | 78 /* SPR759 - SH - moved from .c file */ |
79 | 79 |
80 /********************************************************************* | 80 /********************************************************************* |
81 ********************************************************************** | 81 ********************************************************************** |
82 | 82 |
83 cell broadcast fifo & lists declaration | 83 cell broadcast fifo & lists declaration |
84 | 84 |
85 ********************************************************************* | 85 ********************************************************************* |
86 **********************************************************************/ | 86 **********************************************************************/ |
87 | 87 |
88 | 88 |
91 typedef struct | 91 typedef struct |
92 { | 92 { |
93 SHORT msg_id; /* message identification */ | 93 SHORT msg_id; /* message identification */ |
94 T_SMSCB_STATUS status; /* Read status of this message. */ | 94 T_SMSCB_STATUS status; /* Read status of this message. */ |
95 CHAR name[CB_TAG_LENGTH]; /* Alphanumeric message tag. */ | 95 CHAR name[CB_TAG_LENGTH]; /* Alphanumeric message tag. */ |
96 CHAR * text; /* Pointer to cell broadcast msg */ | 96 CHAR * text; /* Pointer to cell broadcast msg */ |
97 } T_SMS_CB_ATT; | 97 } T_SMS_CB_ATT; |
98 | 98 |
99 /* Cell Broadcast message list. */ | 99 /* Cell Broadcast message list. */ |
100 typedef struct | 100 typedef struct |
101 { | 101 { |
130 //end; will be delete later | 130 //end; will be delete later |
131 | 131 |
132 | 132 |
133 //////////////////////////////////////////////////////////////////////////////////////// | 133 //////////////////////////////////////////////////////////////////////////////////////// |
134 | 134 |
135 // The CB fifo is organized over the | 135 // The CB fifo is organized over the |
136 // link list. The "used_pointer" is giving the | 136 // link list. The "used_pointer" is giving the |
137 // starting point of the CB-fifo list. The "next_xxx" | 137 // starting point of the CB-fifo list. The "next_xxx" |
138 // is giving the link to the next pointer and so on. | 138 // is giving the link to the next pointer and so on. |
139 // used_pointer = FF means ->no cb messages stored | 139 // used_pointer = FF means ->no cb messages stored |
140 // next_used = FF means ->end of the cb messages list. | 140 // next_used = FF means ->end of the cb messages list. |
141 // free_pointer = FF means ->no free spaces ! | 141 // free_pointer = FF means ->no free spaces ! |
142 // next_used = FF means ->end of the free spaces list | 142 // next_used = FF means ->end of the free spaces list |
143 | 143 |
144 /* Stored Cell Broadcast message attributes. */ | 144 /* Stored Cell Broadcast message attributes. */ |
145 typedef struct | 145 typedef struct |
146 { | 146 { |
147 SHORT sn; /* serial number in integer format */ | 147 SHORT sn; /* serial number in integer format */ |
148 USHORT mid; /* message identification */ | 148 USHORT mid; /* message identification */ |
149 UBYTE dcs; /* data coding scheme */ | 149 UBYTE dcs; /* data coding scheme */ |
150 UBYTE page; /* number of this page */ | 150 UBYTE page; /* number of this page */ |
151 UBYTE pages; /* number of total pages */ | 151 UBYTE pages; /* number of total pages */ |
152 UBYTE msg_len; /* length of short message */ | 152 UBYTE msg_len; /* length of short message */ |
153 T_SMSCB_STATUS status; /* Read status of this message. */ | 153 T_SMSCB_STATUS status; /* Read status of this message. */ |
154 /*SPR 1920, removed name field*/ | 154 /*SPR 1920, removed name field*/ |
155 UBYTE next_link; | 155 UBYTE next_link; |
156 /*SPR 1920, memory for header string now dynamically allocated as needed*/ | 156 /*SPR 1920, memory for header string now dynamically allocated as needed*/ |
157 char* header/*[25]*/; //header information for the menu list | 157 char* header/*[25]*/; //header information for the menu list |
158 UBYTE start_page; //indicate the first page of the multipage; need for the menu list | 158 UBYTE start_page; //indicate the first page of the multipage; need for the menu list |
159 } T_SMSCB_ATT; | 159 } T_SMSCB_ATT; |
160 | 160 |
161 T_MFW smscb_setCBsettings(UBYTE State); | 161 T_MFW smscb_setCBsettings(UBYTE State); |
162 | 162 |
163 #endif /* _DEF_MMI_SMSBROADCAST_H_ */ | 163 #endif /* _DEF_MMI_SMSBROADCAST_H_ */ |