MHEG5  15.3.0
source/glue/inc/glue_main.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
00003  * Copyright © 2011 Ocean Blue Software Ltd
00004  *
00005  * This file is part of a DTVKit Software Component
00006  * You are permitted to copy, modify or distribute this file subject to the terms
00007  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
00008  * 
00009  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00010  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
00011  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00012  * 
00013  * If you or your organisation is not a member of DTVKit then you have access
00014  * to this source code outside of the terms of the licence agreement
00015  * and you are expected to delete this and any associated files immediately.
00016  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
00017  *******************************************************************************/
00025 #ifndef _GLUE_MAIN_H
00026 #define _GLUE_MAIN_H
00027 
00028 #include "mherrors.h"
00029 #include "osdtype.h"
00030 #include "dvblocator.h"
00031 
00032 typedef BOOLEAN (*F_PostProcess)( void );
00033 typedef void (*F_MainProcess)( void );
00034 
00035 BOOLEAN MH5GlueActiveState(void);
00036 BOOLEAN MH5GlueIsStarted(void);
00037 
00038 void MH5GlueSetMainPostFunc( F_MainProcess func );
00039 
00040 void MH5GlueAddPostProcessFunc( F_PostProcess func );
00041 
00042 void MH5GlueDoneRebootMessage(void);
00043 
00044 /* The default service - MHEG URL (rec://svc/def) */
00045 void MHEG5GetDefaultService(S_DVB_LOCATOR *dvb_locator);
00046 U16BIT MHEG5DefaultServiceId(void);
00047 
00048 S32BIT MHEG5GetCurrentServiceIndex(void);
00049 
00060 E_MhegErr MHEG5_Reboot( void );
00061 
00062 #endif /*_GLUE_MAIN_H*/
 All Data Structures Files Functions Variables Typedefs Defines