MHEG5  15.3.0
source/classes/inc/mh5pushbutton.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
00003  * Copyright © 2004 Ocean Blue Software Ltd
00004  * Copyright © 2000 Koninklijke Philips Electronics N.V
00005  *
00006  * This file is part of a DTVKit Software Component
00007  * You are permitted to copy, modify or distribute this file subject to the terms
00008  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
00009  * 
00010  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00011  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
00012  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00013  * 
00014  * If you or your organisation is not a member of DTVKit then you have access
00015  * to this source code outside of the terms of the licence agreement
00016  * and you are expected to delete this and any associated files immediately.
00017  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
00018  *******************************************************************************/
00030 #ifndef _MH5PUSHBUTTON_H
00031 #define _MH5PUSHBUTTON_H
00032 
00033 /*---includes for this file--------------------------------------------------*/
00034 #include "mh5button.h"
00035 
00036 typedef struct
00037 {
00038    /* Base class */
00039    MHEG5Button button;
00040 
00041    /* Exchanged attributes */
00042    MHEG5String originalLabel;
00043    MHEG5Int characterSet;
00044 
00045    /* Internal attributes */
00046    MHEG5String label;
00047 } MHEG5Pushbutton;
00048 
00049 
00050 /*---Constant and macro definitions for public use---------------------------*/
00051 
00052 /*---Enumerations for public use---------------------------------------------*/
00053 
00054 /*---Global type defs for public use-----------------------------------------*/
00055 
00056 /*---Global variable declarations for public use-----------------------------*/
00057 
00058 /*---Global Function prototypes for public use-------------------------------*/
00059 
00070 void MHEG5pushbuttonInit(MHEG5Pushbutton *pushbutton);
00071 
00072 
00080 void MHEG5pushbuttonFree(MHEG5Pushbutton *pushbutton);
00081 
00082 
00083 /*
00084     Internal behaviours
00085  */
00086 void MHEG5pushbuttonPrepare(MHEG5Pushbutton *pushbutton);
00087 void MHEG5pushbuttonActivate(MHEG5Pushbutton *pushbutton);
00088 void MHEG5pushbuttonDeactivate(MHEG5Pushbutton *pushbutton);
00089 void MHEG5pushbuttonDestruct(MHEG5Pushbutton *pushbutton);
00090 
00091 /*
00092     Actions
00093  */
00094 MHEG5ErrorCode MHEG5setLabel(MHEG5Root *target, MHEG5GList *params);
00095 MHEG5ErrorCode MHEG5getLabel(MHEG5Root *target, MHEG5GList *params);
00096 
00097 /*
00098    Debug
00099  */
00100 #ifdef MH5PRINTOUT
00101 
00107 void MHEG5pushbuttonPrint(MHEG5Pushbutton *pushbutton, char *out);
00108 #endif
00109 
00110 
00111 #endif /*_MH5PUSHBUTTON_H*/
 All Data Structures Files Functions Variables Typedefs Defines