MHEG5  18.9.0
MHEG5 Documentation
mh5action.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  * Copyright © 2000 Koninklijke Philips Electronics N.V
5  *
6  * This file is part of a DTVKit Software Component
7  * You are permitted to copy, modify or distribute this file subject to the terms
8  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
9  *
10  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
11  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
12  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
13  *
14  * If you or your organisation is not a member of DTVKit then you have access
15  * to this source code outside of the terms of the licence agreement
16  * and you are expected to delete this and any associated files immediately.
17  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
18  *******************************************************************************/
29 #ifndef _MH5ACTION_H
30 #define _MH5ACTION_H
31 
32 /*---includes for this file--------------------------------------------------*/
33 
34 #include "mh5root.h"
35 
36 /*---Constant and macro definitions for public use---------------------------*/
37 #define MAX_EVENT_INDENT 96
38 
39 /*---Enumerations for public use---------------------------------------------*/
40 
41 /*---Global type defs for public use-----------------------------------------*/
42 
43 /*
44  Defined Actions as Enumeration
45  Do not modifie the sequence - this is very important
46  for the ASN1 Decoder
47  */
48 typedef enum
49 {
50  MHEG5NONEACTION, /* 0 */
90  MHEG5GETLISTITEM, /* 40 */
110  MHEG5PUTBEFORE, /* 60 */
120  MHEG5SENDEVENT, /* 70 */
150  MHEG5SPAWN, /* 100 */
160  MHEG5UNLOCKSCREEN, /* 110 */
180  MHEG5SETINPUTMASK, /* 140 */
183 
185 
186 /*
187  Each Elementary Action consists of a Type Identifier, a List of Parameters and
188  a Pointer to the next Elementary Action in the List
189  */
190 typedef struct sMHEG5Action
191 {
197 } MHEG5Action;
198 
199 typedef struct sMHEG5ActionList
200 {
203 #if defined(MH5PRINTOUT) || defined(TRACING)
204  int indent;
205 #endif
207 
208 
209 /*---Global variable declarations for public use-----------------------------*/
210 #if defined(MH5PRINTOUT) || defined(TRACING)
211 extern int event_indent_num;
212 #endif
213 
214 /*---Global Function prototypes for public use-------------------------------*/
215 
221 /*
222  Debug
223  */
224 #ifdef MH5PRINTOUT
225 void MHEG5actionPrint(MHEG5ActionList actions, char *out);
226 #endif
227 
228 /*
229  Free the memory of a list of elementary actions
230  The memory is allocated by the Text- or ASN.1 parser.
231  */
233 
234 
235 #endif /*_MH5ACTION_H*/
short MHEG5Short
Definition: mh5base.h:72
E_ElementryAction
Definition: mh5action.h:48
struct sMHEG5Action MHEG5Action
MHEG5Short MHEG5ElemActionType
Definition: mh5action.h:184
MHEG5ElemActionType type
Definition: mh5action.h:195
long MHEG5Int
Definition: mh5base.h:73
MHEG5GList * firstParam
Definition: mh5action.h:193
Implementation of Root class Description Root class of all MHEG-5 classes. Base class None Subclasses...
MHEG5Action * a_ptr
Definition: mh5action.h:201
struct sMHEG5ActionList MHEG5ActionList
MHEG5Bool MHEG5Boolean
Definition: mh5base.h:145
void MHEG5actionDestruct(MHEG5ActionList actions)
<Function description>="">
Definition: mh5action.c:118
MHEG5Root * target
Definition: mh5action.h:192
MHEG5GList * origFirstParam
Definition: mh5action.h:194
MHEG5Boolean targetIsIndirect
Definition: mh5action.h:196
MHEG5Int total
Definition: mh5action.h:202