HbbTv  17.9.0
Open source HBBTV engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
hbbtv_control.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  *******************************************************************************/
26 #ifndef _HBBTV_CONTROL_H
27 #define _HBBTV_CONTROL_H
28 
29 #include "hbbtv_types.h"
30 #include "hbbtv_sif_conf.h"
31 
32 
33 typedef E_HBBTV_ERR (*F_KEY_NOTIFY)(E_HBBTV_KEY key);
34 
35 
44 BOOLEAN HBBTV_CheckOptions(U8BIT mask);
45 
53 void HBBTV_SetKeyNotifyFunc(F_KEY_NOTIFY accept, F_KEY_NOTIFY consume);
54 
60 
64 BOOLEAN HBBTV_GetEngineInitialised(void);
65 
71 
72 #endif /*_HBBTV_CONTROL_H*/
Definition: hbbtv_types.h:159
E_HBBTV_KEY
Key codes.
Definition: hbbtv_types.h:87
BOOLEAN HBBTV_GetEngineInitialised(void)
Returns the initialisation status of the HbbTV engine.
Definition: hbbtv_control.c:1019
void HBBTV_GetCurrentChannel(S_HBBTV_DVB_LOCATOR *dvb_locator)
Returns the current channel, passed the HBBTV engine on Start, as a DVB locator.
Definition: hbbtv_control.c:619
Definition of general purpose types.
System Interface, Configuration.
Structure containing function pointers used by the HbbTV engine to retrieve Freesat specific data...
Definition: hbbtv_types.h:265
BOOLEAN HBBTV_CheckOptions(U8BIT mask)
Checks whether the features represented by the specified mask are supported by the HBBTV module...
Definition: hbbtv_control.c:172
void HBBTV_SetKeyNotifyFunc(F_KEY_NOTIFY accept, F_KEY_NOTIFY consume)
Internal function to set the 'accept' and 'consume' key function pointers.
Definition: hbbtv_control.c:605
S_HBBTV_FREESAT_CALLBACKS * HBBTV_GetFreesatCallbacks(void)
Returns the pointer to the internal structure holding the Freesat callbacks.
Definition: hbbtv_control.c:1011