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

OIPF LocalSystem netscape plugin. More...

#include <stdlib.h>
#include <string.h>
#include "techtype.h"
#include "dbgfuncs.h"
#include "npapi.h"
#include "npruntime.h"
#include "hbbtv_js.h"
#include "plugin.h"
#include "collection.h"
#include "npapi_utils.h"
#include "hz_debug.h"

Macros

#define MAX_STRING_LENGTH   17
 
#define MAX_METHOD_STRING_LENGTH   19
 

Typedefs

typedef struct s_localsystem_handle S_LOCAL_SYSTEM_HANDLE
 

Enumerations

enum  E_LOCALSYSTEM_IDS {
  LOCALSYSTEM_DEVICE_ID = 0, LOCALSYSTEM_VENDOR_NAME, LOCALSYSTEM_FAMILY_NAME, LOCALSYSTEM_MODEL_NAME,
  LOCALSYSTEM_SOFTWARE_VERSION, LOCALSYSTEM_HARDWARE_VERSION, LOCALSYSTEM_PVR_ENABLED, LOCALSYSTEM_NETWORK_INTERFACES,
  LOCALSYSTEM_OIPF_PROFILE, LOCALSYSTEM_PVR_STATUS, LOCALSYSTEM_ON_PVR_STATUS_CHANGE, LOCALSYSTEM_MAX_IDS
}
 
enum  E_LOCALSYSTEM_METHOD_IDS { LOCALSYSTEM_ADD_EVENT_LISTENER = 0, LOCALSYSTEM_REMOVE_EVENT_LISTENER, LOCALSYSTEM_MAX_METHOD_IDS }
 

Functions

NPObjectLocalSystemCreate (NPP instance, void *localsystem_handle)
 LocalSystem Create Create the LocalSystem and store in link list. More...
 
void * LocalSystemGetHandle (NPObject *obj)
 
void LocalSystem_onPvrStatusChange (void *local_system, U8BIT result)
 

Detailed Description

OIPF LocalSystem netscape plugin.

Date
April 2014
Author
Sergio Panseri

Function Documentation

NPObject* LocalSystemCreate ( NPP  instance,
void *  localsystem_handle 
)

LocalSystem Create Create the LocalSystem and store in link list.

Returns
Pointer to object created