MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
Macros | Functions
asn1_createButton.c File Reference

Functions to create a MHEG5Button from a MHEG5 script (in the form of a list of fpa1_syntaxList structures). More...

#include <stdio.h>
#include "vpa1_sys.h"
#include "vpa1_tgs.h"
#include "fpa1_syn.h"
#include "asn1_sys.h"
#include "mh5base.h"
#include "mh5hotspot.h"
#include "mh5switchbutton.h"
#include "mh5pushbutton.h"
#include "asn1_createExtras.h"
#include "asn1_createVisible.h"
#include "asn1_createInteractible.h"
#include "asn1_createButton.h"

Macros

#define BUTTONSTYLESIZE   4
 

Functions

MHEG5Ingredientasn1_createButton (fpa1_syntaxList *listPtr)
 Decodes Button class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.38] for details of ASN.1 representation. More...
 
asnErr asn1_decodePushbutton (fpa1_syntaxList *listPtr, MHEG5Pushbutton *pushbutton)
 Decodes Pushbutton class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.40] for details of ASN.1 representation. More...
 
MHEG5Ingredientasn1_createPushbutton (fpa1_syntaxList *listPtr)
 Decodes Pushbutton class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.40] for details of ASN.1 representation. More...
 
asnErr asn1_decodeSwitchButton (fpa1_syntaxList *listPtr, MHEG5Switchbutton *swButton)
 Decodes SwitchButton class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.41] for details of ASN.1 representation. More...
 
MHEG5Ingredientasn1_createSwitchButton (fpa1_syntaxList *listPtr)
 Decodes SwitchButton class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.41] for details of ASN.1 representation. More...
 

Detailed Description

Functions to create a MHEG5Button from a MHEG5 script (in the form of a list of fpa1_syntaxList structures).

Date
17/07/2002
Author
S.Charman

Function Documentation

MHEG5Ingredient* asn1_createButton ( fpa1_syntaxList listPtr)

Decodes Button class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.38] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
Returns
Pointer to Button class being decoded.
MHEG5Ingredient* asn1_createPushbutton ( fpa1_syntaxList listPtr)

Decodes Pushbutton class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.40] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
Returns
Pointer to Pushbutton class being decoded.
MHEG5Ingredient* asn1_createSwitchButton ( fpa1_syntaxList listPtr)

Decodes SwitchButton class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.41] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
Returns
Pointer to SwitchButton class being decoded.
asnErr asn1_decodePushbutton ( fpa1_syntaxList listPtr,
MHEG5Pushbutton pushbutton 
)

Decodes Pushbutton class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.40] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
pushButtonPointer to Pushbutton class being decoded.
Returns
asnErr
asnErr asn1_decodeSwitchButton ( fpa1_syntaxList listPtr,
MHEG5Switchbutton swButton 
)

Decodes SwitchButton class. Refer to MHEG5 Specification (ISO/IEC 13522-2:1996), Appendix A, section [A.41] for details of ASN.1 representation.

Parameters
listPtrpointer to current fpa1_syntaxList item
swButtonPointer to SwitchButton class being decoded.
Returns
asnErr