MHEG5
18.9.0
MHEG5 Documentation
Main Page
Related Pages
Classes
Files
File List
File Members
source
classes
inc
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
;
47
}
MHEG5Pushbutton
;
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*/
mh5button.h
Implement the MHEG5 Button Class Description Defines functionality associated with the rendering and ...
MHEG5pushbuttonActivate
void MHEG5pushbuttonActivate(MHEG5Pushbutton *pushbutton)
Definition:
mh5pushbutton.c:125
sMHEG5String
Definition:
mh5base.h:82
MHEG5Pushbutton::button
MHEG5Button button
Definition:
mh5pushbutton.h:39
MHEG5Pushbutton::label
MHEG5String label
Definition:
mh5pushbutton.h:46
MHEG5Int
long MHEG5Int
Definition:
mh5base.h:73
sMHEG5GList
Definition:
mh5base.h:169
MHEG5Pushbutton::characterSet
MHEG5Int characterSet
Definition:
mh5pushbutton.h:43
MHEG5ErrorCode
MHEG5ErrorCode
Definition:
mh5base.h:222
MHEG5Pushbutton
Definition:
mh5pushbutton.h:36
MHEG5Pushbutton::originalLabel
MHEG5String originalLabel
Definition:
mh5pushbutton.h:42
MHEG5getLabel
MHEG5ErrorCode MHEG5getLabel(MHEG5Root *target, MHEG5GList *params)
Definition:
mh5pushbutton.c:181
MHEG5Button
Definition:
mh5button.h:47
MHEG5pushbuttonPrepare
void MHEG5pushbuttonPrepare(MHEG5Pushbutton *pushbutton)
Definition:
mh5pushbutton.c:113
MHEG5setLabel
MHEG5ErrorCode MHEG5setLabel(MHEG5Root *target, MHEG5GList *params)
Definition:
mh5pushbutton.c:146
sMHEG5Root
Definition:
mh5root.h:43
MHEG5pushbuttonDeactivate
void MHEG5pushbuttonDeactivate(MHEG5Pushbutton *pushbutton)
Definition:
mh5pushbutton.c:131
MHEG5pushbuttonInit
void MHEG5pushbuttonInit(MHEG5Pushbutton *pushbutton)
<Function description>="">
Definition:
mh5pushbutton.c:83
MHEG5pushbuttonFree
void MHEG5pushbuttonFree(MHEG5Pushbutton *pushbutton)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
Definition:
mh5pushbutton.c:97
MHEG5pushbuttonDestruct
void MHEG5pushbuttonDestruct(MHEG5Pushbutton *pushbutton)
Definition:
mh5pushbutton.c:137
Generated by
1.8.11