49 #define BUTTONSTYLESIZE 4 51 static MHEG5PushbuttonStyle buttonStyle[BUTTONSTYLESIZE] = {
52 0, MHEG5PUSHBUTTONS, MHEG5RADIOBUTTON, MHEG5CHECKBOX
73 DPL5((
">> asn1_decodeButton(%X,%X)\n", listPtr, button));
78 DPL5((
"<< asn1_decodeButton() Returned early\n"));
82 currItem = listPtr->children;
85 while (currItem != NULL)
87 if (currItem->tag == BUTTONREFCOL)
91 currItem = currItem->next;
100 DPL2((
"WARNING:[ASN.1] asn1_decodeButton() Returns errVal = %d\n", errVal));
104 DPL5((
"<< asn1_decodeButton() Returns %d\n", errVal));
124 button->visible.ingredient.root.clazz = MHEG5HOTSPOT;
125 if (asn1_decodeButton( listPtr, button ) != ASN_NO_ERROR)
127 MHEG5freeMem( button );
134 #ifndef ASN1UKPROFILE 149 DPL5((
">> asn1_decodePushbutton(%X,%X)\n", listPtr, pushbutton));
154 DPL5((
"<< asn1_decodePushbutton() Returned early\n"));
158 currItem = listPtr->children;
161 pushbutton->characterSet = 10;
164 while (currItem != NULL)
167 switch (currItem->tag)
173 pushbutton->characterSet = currItem->data.intData;
178 currItem = currItem->next;
182 errVal |= asn1_decodeButton(listPtr, &pushbutton->button);
187 DPL2((
"WARNING:[ASN.1] asn1_decodePushbutton() Returns errVal = %d\n", errVal));
191 DPL5((
"<< asn1_decodePushbutton() Returns %d\n", errVal));
211 button->button.visible.ingredient.root.class = MHEG5PUSHBUTTON;
214 MHEG5freeMem( button );
236 DPL5((
">> asn1_decodeSwitchButton(%X,%X)\n", listPtr, swButton));
240 DPL5((
"<< asn1_decodeSwitchButton() Returned early\n"));
244 currItem = listPtr->children;
247 while (currItem != NULL)
249 if (currItem->tag == BSTYLE)
251 enumIndex = currItem->data.intData;
253 if ((enumIndex < 0) || (enumIndex >= BUTTONSTYLESIZE))
255 enumIndex = MHEG5PUSHBUTTONS;
257 swButton->style = buttonStyle[enumIndex];
259 currItem = currItem->next;
267 DPL2((
"WARNING:[ASN.1] asn1_decodeSwitchButton() Returns errVal = %d\n", errVal));
271 DPL5((
"<< asn1_decodeSwitchButton() Returns %d\n", errVal));
291 button->button.visible.ingredient.root.class = MHEG5SWITCHBUTTON;
294 MHEG5freeMem( button );
Contains functions/structure used to do MHEG-5 ASN.1 syntax parsing.
Implement the MHEG5 Hotspot Class. Defines invisible unlabelled rectangular areas on the screen that ...
Typedefs, macros used by all of parser. These may be duplicated elsewhere.
asnErr asn1_decodeInteractible(fpa1_syntaxList *listPtr, MHEG5Interactible *interactible)
Decodes interactible class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
typedefs etc for the whole object creation section.
Contains macros for MHEG-5 ASN.1 tags and structures.
Functions to create a MHEG5Interactible from a MHEG5 script (in the form of a list of fpa1_syntaxList...
asnErr asn1_decodeVisible(fpa1_syntaxList *listPtr, MHEG5Visible *visible)
Decodes Visible class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A...
Functions to create a MHEG5Visible from a MHEG5 script (in the form of a list of fpa1_syntaxList stru...