HbbTv  17.9.0
Open source HBBTV engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Typedefs | Functions | Variables
app.h File Reference

Internal interface to the application object. More...

#include "object.h"

Go to the source code of this file.

Data Structures

struct  s_app
 

Typedefs

typedef struct s_app S_APP
 

Functions

S32BIT HBBTV_AppGetKeysetValue (void *obj)
 
E_HBBTV_ERR HBBTV_AppAcceptKeyPress (E_HBBTV_KEY key)
 Internal function to check whether or not a key is accepted by the application. More...
 
E_HBBTV_ERR HBBTV_AppSendKeyPress (E_HBBTV_KEY key)
 Internal function to handle a key press and send it to the browser. More...
 

Variables

void * JS_APP_CLASS
 

Detailed Description

Internal interface to the application object.

Date
01/01/2013
Author
Adam Sturtridge

Function Documentation

E_HBBTV_ERR HBBTV_AppAcceptKeyPress ( E_HBBTV_KEY  key)

Internal function to check whether or not a key is accepted by the application.

Parameters
keyKey code to be checked
Returns
HBBTV_OK if they key is accepted by the application, HBBTV_IGNORED_REQUEST otherwise
E_HBBTV_ERR HBBTV_AppSendKeyPress ( E_HBBTV_KEY  key)

Internal function to handle a key press and send it to the browser.

Parameters
keyKey code
Returns
HBBTV_IGNORED_REQUEST is returned when the teletext key has been pressed but the a teletext application could not be started, HBBTV_OK otherwise.