MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
glue_main.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2011 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 #ifndef _GLUE_MAIN_H
26 #define _GLUE_MAIN_H
27 
28 #include "mherrors.h"
29 #include "osdtype.h"
30 #include "dvblocator.h"
31 
32 typedef BOOLEAN (*F_PostProcess)( void );
33 typedef void (*F_MainProcess)( void );
34 
35 BOOLEAN MH5GlueActiveState(void);
36 BOOLEAN MH5GlueIsStarted(void);
37 
38 void MH5GlueSetMainPostFunc( F_MainProcess func );
39 
40 void MH5GlueAddPostProcessFunc( F_PostProcess func );
41 
42 void MH5GlueDoneRebootMessage(void);
43 
44 /* The default service - MHEG URL (rec://svc/def) */
45 void MHEG5GetDefaultService(S_DVB_LOCATOR *dvb_locator);
46 U16BIT MHEG5DefaultServiceId(void);
47 
48 S32BIT MHEG5GetCurrentServiceIndex(void);
49 
60 E_MhegErr MHEG5_Reboot( void );
61 
62 #endif /*_GLUE_MAIN_H*/
definition of OSD types
Definition: dvblocator.h:30
MHEG5 engine interface error codes.
E_MhegErr MHEG5_Reboot(void)
Reboots MHGE5 Engine This function has the same effect as calling these two: MHEG5_Stop( STOP_ACTION_...
Definition: glue_main.c:956
Definition of DVB locator and DVB component types.