![]() |
HBBTV
22.11.0
|
HbbTV netscape Configuration. More...
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stddef.h>
#include "techtype.h"
#include "dbgfuncs.h"
#include "hbbtv_js.h"
#include "application_manager.h"
#include "oipfconfiguration.h"
#include "broadcast.h"
#include "oipfparentalcontrolmanager.h"
#include "avcontrol.h"
#include "oipfsearchmanager.h"
#include "oipfcapabilities.h"
#include "oipfrecordingscheduler.h"
#include "localsystem.h"
#include "networkinterface.h"
#include "oipfdrmagent.h"
#include "debug.h"
#include "plugin.h"
#include "hz_debug.h"
#include "npapi_utils.h"
Macros | |
#define | PLUGIN_NAME "DTVKit HbbTV Plug-in" |
#define | PLUGIN_DESCRIPTION PLUGIN_NAME " Javascript extensions" |
#define | PLUGIN_VERSION "1.0.0.0" |
#define | MAX_BUFF_SIZE (1 << 16) |
Functions | |
NP_EXPORT (const char *) | |
NP_EXPORT (NPError) | |
Provides global initialization for plug-in. More... | |
NP_EXPORT (char *) | |
Gets the verison of the plugin. More... | |
NPError | NPP_New (NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved) |
Creates a new instance of a plug-in. More... | |
NPError | NPP_Destroy (NPP instance, NPSavedData **save) |
Destroy plugin. More... | |
NPError | NPP_SetWindow (NPP instance, NPWindow *window) |
Set window. More... | |
NPError | NPP_NewStream (NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype) |
new stream. More... | |
NPError | NPP_DestroyStream (NPP instance, NPStream *stream, NPReason reason) |
Destroy Stream. More... | |
int32_t | NPP_WriteReady (NPP instance, NPStream *stream) |
URL file data ready. More... | |
int32_t | NPP_Write (NPP instance, NPStream *stream, int32_t offset, int32_t len, void *buffer) |
URL file data received. More... | |
void | NPP_StreamAsFile (NPP instance, NPStream *stream, const char *fname) |
Stream as file. More... | |
void | NPP_Print (NPP instance, NPPrint *platformPrint) |
print. More... | |
int16_t | NPP_HandleEvent (NPP instance, void *event) |
Handle Event. More... | |
void | NPP_URLNotify (NPP instance, const char *URL, NPReason reason, void *notifyData) |
URL Notify. More... | |
NPError | NPP_GetValue (NPP instance, NPPVariable variable, void *value) |
Get Value. More... | |
NPError | NPP_SetValue (NPP instance, NPNVariable variable, void *value) |
Set Value. More... | |
Variables | |
NPNetscapeFuncs * | browser_funcs |
const S_PLUGIN_FUNCS | g_plugin_callbacks |
HbbTV netscape Configuration.
NP_EXPORT | ( | NPError | ) |
Provides global initialization for plug-in.
Provides global deinitialization for a plug-in.
Allows the browser to query the plug-in for information.
bFuncs | - browser functions pointer |
pFuncs | - Take in a pointer to Functions which the browser can call |
future | - not used |
aVariable | - What value is required |
aValue | - Returned value of type required |
NP_EXPORT | ( | char * | ) |
Gets the verison of the plugin.
None |
NPError NPP_Destroy | ( | NPP | instance, |
NPSavedData ** | save | ||
) |
Destroy plugin.
Destroy Stream.
NPError NPP_GetValue | ( | NPP | instance, |
NPPVariable | variable, | ||
void * | value | ||
) |
Get Value.
int16_t NPP_HandleEvent | ( | NPP | instance, |
void * | event | ||
) |
Handle Event.
NPError NPP_New | ( | NPMIMEType | pluginType, |
NPP | instance, | ||
uint16_t | mode, | ||
int16_t | argc, | ||
char * | argn[], | ||
char * | argv[], | ||
NPSavedData * | saved | ||
) |
Creates a new instance of a plug-in.
pluginType | Pointer to the MIME type for new plug-in instance |
instance | - Contains instance-specific private data for the plug-in and the browser. This data is stored in instance->pdata. |
NPError NPP_NewStream | ( | NPP | instance, |
NPMIMEType | type, | ||
NPStream * | stream, | ||
NPBool | seekable, | ||
uint16_t * | stype | ||
) |
new stream.
NPError NPP_SetValue | ( | NPP | instance, |
NPNVariable | variable, | ||
void * | value | ||
) |
Set Value.
Stream as file.
void NPP_URLNotify | ( | NPP | instance, |
const char * | URL, | ||
NPReason | reason, | ||
void * | notifyData | ||
) |
URL Notify.
URL file data received.
const S_PLUGIN_FUNCS g_plugin_callbacks |