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

Oipf application manager object. More...

#include <string.h>
#include <stdio.h>
#include "dbgfuncs.h"
#include "techtype.h"
#include "hbbtv_sif_os.h"
#include "hbbtv_js.h"
#include "hbbtv_sif_browser.h"
#include "hbbtv_sif_network.h"
#include "object.h"
#include "app.h"
#include "debug.h"
#include "ait.h"
#include "oipf_obj_factory.h"
#include "hbbtv_internal.h"
#include "oipf_app_mgr.h"
#include "hbbtv_string.h"
#include "xml_parse.h"
#include "hbbtv_control.h"

Macros

#define MAX_APPS   8
 
#define INVALID_SERVICE_ID   0xffff
 

Enumerations

enum  E_URL_REF_TYPE {
  URT_UNKNOWN, URT_AIT_REF, URT_HTTP_REF, URT_HTTPS_REF,
  URT_FILE_REF
}
 

Functions

void * HBBTV_AppMgrCreateApp (void *obj, S_HBBTV_STRING url)
 
void HBBTV_AppMgrReleaseApp (void *obj, S_APP *app)
 
void * HBBTV_JSOipfAppMgr_getOwnerApp (void *obj, S_HBBTV_STRING *url)
 Application getOwnerApplication( Document document ), Section 7.2.1.2. More...
 
S32BIT HBBTV_AppMgrGetKeyset (void *obj)
 
void * HBBTV_AppMgrCurrentAit (void *obj)
 
E_HBBTV_ERR HBBTV_AppMgrLaunchAitApp (void *obj, U32BIT org_id, U16BIT app_id)
 
BOOLEAN HBBTV_AppMgrTeletextExists (void *obj)
 
BOOLEAN HBBTV_AppMgrLaunchTeletext (void *obj)
 
void HBBTV_AppMgrStop (void)
 
void HBBTV_AppMgrNotifyMissingAit (void)
 
void HBBTV_AppMgr_loadXmlAit (void *obj, U8BIT *data, U32BIT size, S_HBBTV_STRING *url)
 
void * HBBTV_AppMgr_getCurrentAppOrigin (void)
 Returns the current application's URL origin. More...
 
void HBBTV_AppMgrLowMemory (void)
 
void HBBTV_AppMgr_ChannelChange (void)
 Notfies the application manager that the application video/broadcast object is performing a channel change. This might cause a broadcast-independent application to be terminated.
 
void HBBTV_AppMgr_NotifyAit (S_AIT_TABLE *ait)
 Notifies the application manager module with a new AIT and performs the required application life-cycle operations. More...
 

Variables

void * JS_OIPF_APP_MGR_CLASS = &s_vtab
 

Detailed Description

Oipf application manager object.

Date
01/01/2013
Author
Adam Sturtridge

Function Documentation

void* HBBTV_AppMgr_getCurrentAppOrigin ( void  )

Returns the current application's URL origin.

Returns the current application's base URL.

Returns
String object containing the URL origin
void HBBTV_AppMgr_NotifyAit ( S_AIT_TABLE ait)

Notifies the application manager module with a new AIT and performs the required application life-cycle operations.

Parameters
aitParsed AIT structure
void* HBBTV_JSOipfAppMgr_getOwnerApp ( void *  obj,
S_HBBTV_STRING url 
)

Application getOwnerApplication( Document document ), Section 7.2.1.2.

Note
Application getOwnerApplication( Document document )
Section 7.2.1.2