MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mh5pushbutton.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  *******************************************************************************/
30 #ifndef _MH5PUSHBUTTON_H
31 #define _MH5PUSHBUTTON_H
32 
33 /*---includes for this file--------------------------------------------------*/
34 #include "mh5button.h"
35 
36 typedef struct
37 {
38  /* Base class */
39  MHEG5Button button;
40 
41  /* Exchanged attributes */
42  MHEG5String originalLabel;
43  MHEG5Int characterSet;
44 
45  /* Internal attributes */
46  MHEG5String label;
48 
49 
50 /*---Constant and macro definitions for public use---------------------------*/
51 
52 /*---Enumerations for public use---------------------------------------------*/
53 
54 /*---Global type defs for public use-----------------------------------------*/
55 
56 /*---Global variable declarations for public use-----------------------------*/
57 
58 /*---Global Function prototypes for public use-------------------------------*/
59 
70 void MHEG5pushbuttonInit(MHEG5Pushbutton *pushbutton);
71 
72 
80 void MHEG5pushbuttonFree(MHEG5Pushbutton *pushbutton);
81 
82 
83 /*
84  Internal behaviours
85  */
86 void MHEG5pushbuttonPrepare(MHEG5Pushbutton *pushbutton);
87 void MHEG5pushbuttonActivate(MHEG5Pushbutton *pushbutton);
88 void MHEG5pushbuttonDeactivate(MHEG5Pushbutton *pushbutton);
89 void MHEG5pushbuttonDestruct(MHEG5Pushbutton *pushbutton);
90 
91 /*
92  Actions
93  */
94 MHEG5ErrorCode MHEG5setLabel(MHEG5Root *target, MHEG5GList *params);
95 MHEG5ErrorCode MHEG5getLabel(MHEG5Root *target, MHEG5GList *params);
96 
97 /*
98  Debug
99  */
100 #ifdef MH5PRINTOUT
101 
107 void MHEG5pushbuttonPrint(MHEG5Pushbutton *pushbutton, char *out);
108 #endif
109 
110 
111 #endif /*_MH5PUSHBUTTON_H*/
Implement the MHEG5 Button Class Description Defines functionality associated with the rendering and ...
Definition: mh5base.h:82
Definition: mh5base.h:169
Definition: mh5pushbutton.h:36
Definition: mh5button.h:47
Definition: mh5root.h:43
void MHEG5pushbuttonInit(MHEG5Pushbutton *pushbutton)
<Function description>="">
Definition: mh5pushbutton.c:83
void MHEG5pushbuttonFree(MHEG5Pushbutton *pushbutton)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
Definition: mh5pushbutton.c:97