MHEG5
15.3.0
|
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 *******************************************************************************/ 00033 #ifndef _MH5RTGRAPHICS_H 00034 #define _MH5RTGRAPHICS_H 00035 00036 /*---includes for this file--------------------------------------------------*/ 00037 00038 #include "mh5presentable.h" 00039 #include "mh5stream.h" 00040 00041 /*---Constant and macro definitions for public use---------------------------*/ 00042 00043 /*---Enumerations for public use---------------------------------------------*/ 00044 00045 /*---Global type defs for public use-----------------------------------------*/ 00046 00047 typedef struct 00048 { 00049 /* Base class */ 00050 MHEG5Visible visible; 00051 00052 /* Exchanged attributes */ 00053 MHEG5Bool terminationFreeze; /* or disapear */ 00054 MHEG5Int componentTag; 00055 00056 /* No internal attributes for this class */ 00057 00058 /* Engine data */ 00059 MHEG5Stream *parent; 00060 } MHEG5RTGraphics; 00061 00062 00063 /*---Global variable declarations for public use-----------------------------*/ 00064 00065 /*---Global Function prototypes for public use-------------------------------*/ 00066 00072 void MHEG5rtgraphicsInit(MHEG5RTGraphics *rtgraphics); 00073 00074 00082 void MHEG5rtgraphicsFree(MHEG5RTGraphics *rtgraphics); 00083 00084 /* 00085 Internal behaviours 00086 */ 00094 void MHEG5rtgraphicsPrepare(MHEG5RTGraphics *rtgraphics); 00095 00101 void MHEG5rtgraphicsActivate(MHEG5RTGraphics *rtgraphics); 00102 00110 void MHEG5rtgraphicsDeactivate(MHEG5RTGraphics *rtgraphics); 00111 00117 void MHEG5rtgraphicsDestruct(MHEG5RTGraphics *rtgraphics); 00118 00119 00120 /* 00121 Debug 00122 */ 00123 00124 #ifdef MH5PRINTOUT 00125 00132 void MHEG5rtgraphicsPrint(MHEG5RTGraphics *rtgraphics, char *out); 00133 00134 #endif /* #ifdef MH5PRINTOUT */ 00135 00136 #endif /*_MH5RTGRAPHICS_H*/