npapi.h File Reference


Classes

struct  _NPP
struct  _NPStream
struct  _NPByteRange
struct  _NPSavedData
struct  _NPRect
struct  NPAnyCallbackStruct
struct  NPSetWindowCallbackStruct
struct  NPPrintCallbackStruct
struct  _NPWindow
struct  _NPFullPrint
struct  _NPEmbedPrint
struct  _NPPrint
struct  _NPEvent
struct  NP_Port

Typedefs

typedef unsigned short uint16
typedef unsigned int uint32
typedef short int16
typedef int int32
typedef unsigned char NPBool
typedef int16 NPError
typedef int16 NPReason
typedef charNPMIMEType
typedef struct _NPP NPP_t
typedef NPP_tNPP
typedef struct _NPStream NPStream
typedef struct _NPByteRange NPByteRange
typedef struct _NPSavedData NPSavedData
typedef struct _NPRect NPRect
typedef struct _NPWindow NPWindow
typedef struct _NPFullPrint NPFullPrint
typedef struct _NPEmbedPrint NPEmbedPrint
typedef struct _NPPrint NPPrint
typedef EventRecord NPEvent
typedef RgnHandle NPRegion

Enumerations

enum  { NP_SETWINDOW = 1, NP_PRINT }
enum  NPPVariable {
  NPPVpluginNameString = 1, NPPVpluginDescriptionString, NPPVpluginWindowBool, NPPVpluginTransparentBool,
  NPPVpluginNameString = 1, NPPVpluginDescriptionString, NPPVpluginWindowBool, NPPVpluginTransparentBool,
  NPPVjavaClass, NPPVpluginWindowSize, NPPVpluginTimerInterval, NPPVpluginScriptableInstance = (10 | NP_ABI_MASK),
  NPPVpluginScriptableIID = 11, NPPVjavascriptPushCallerBool = 12, NPPVpluginKeepLibraryInMemory = 13, NPPVpluginNeedsXEmbed = 14,
  NPPVpluginScriptableNPObject = 15, NPPVformValue, NPPVpluginDrawingModel
}
enum  NPNVariable {
  NPNVxDisplay = 1, NPNVxtAppContext, NPNVnetscapeWindow, NPNVjavascriptEnabledBool,
  NPNVasdEnabledBool, NPNVisOfflineBool, NPNVxDisplay = 1, NPNVxtAppContext,
  NPNVnetscapeWindow, NPNVjavascriptEnabledBool, NPNVasdEnabledBool, NPNVisOfflineBool,
  NPNVserviceManager = (10 | NP_ABI_MASK), NPNVDOMElement = (11 | NP_ABI_MASK), NPNVDOMWindow = (12 | NP_ABI_MASK), NPNVToolkit = (13 | NP_ABI_MASK),
  NPNVSupportsXEmbedBool = 14, NPNVWindowNPObject = 15, NPNVPluginElementNPObject = 16, NPNVSupportsWindowless,
  NPNVpluginDrawingModel, NPNVsupportsQuickDrawBool, NPNVsupportsCoreGraphicsBool
}
enum  NPWindowType { NPWindowTypeWindow = 1, NPWindowTypeDrawable, NPWindowTypeWindow = 1, NPWindowTypeDrawable }

Functions

charNPP_GetMIMEDescription (void)
NPError NPP_Initialize (void)
void NPP_Shutdown (void)
NPError NP_LOADDS NPP_New (NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char *argn[], char *argv[], NPSavedData *saved)
NPError NP_LOADDS NPP_Destroy (NPP instance, NPSavedData **save)
NPError NP_LOADDS NPP_SetWindow (NPP instance, NPWindow *window)
NPError NP_LOADDS NPP_NewStream (NPP instance, NPMIMEType type, NPStream *stream, NPBool seekable, uint16 *stype)
NPError NP_LOADDS NPP_DestroyStream (NPP instance, NPStream *stream, NPReason reason)
int32 NP_LOADDS NPP_WriteReady (NPP instance, NPStream *stream)
int32 NP_LOADDS NPP_Write (NPP instance, NPStream *stream, int32 offset, int32 len, void *buffer)
void NP_LOADDS NPP_StreamAsFile (NPP instance, NPStream *stream, const char *fname)
void NP_LOADDS NPP_Print (NPP instance, NPPrint *platformPrint)
int16 NPP_HandleEvent (NPP instance, void *event)
void NP_LOADDS NPP_URLNotify (NPP instance, const char *url, NPReason reason, void *notifyData)
jref NP_LOADDS NPP_GetJavaClass (void)
NPError NPP_GetValue (void *instance, NPPVariable variable, void *value)
NPError NPP_SetValue (void *instance, NPNVariable variable, void *value)
void NPN_Version (int *plugin_major, int *plugin_minor, int *netscape_major, int *netscape_minor)
NPError NPN_GetURLNotify (NPP instance, const char *url, const char *target, void *notifyData)
NPError NPN_GetURL (NPP instance, const char *url, const char *target)
NPError NPN_PostURLNotify (NPP instance, const char *url, const char *target, uint32 len, const char *buf, NPBool file, void *notifyData)
NPError NPN_PostURL (NPP instance, const char *url, const char *target, uint32 len, const char *buf, NPBool file)
NPError NPN_RequestRead (NPStream *stream, NPByteRange *rangeList)
NPError NPN_NewStream (NPP instance, NPMIMEType type, const char *target, NPStream **stream)
int32 NPN_Write (NPP instance, NPStream *stream, int32 len, void *buffer)
NPError NPN_DestroyStream (NPP instance, NPStream *stream, NPReason reason)
void NPN_Status (NPP instance, const char *message)
const charNPN_UserAgent (NPP instance)
void * NPN_MemAlloc (uint32 size)
void NPN_MemFree (void *ptr)
uint32 NPN_MemFlush (uint32 size)
void NPN_ReloadPlugins (NPBool reloadPages)
JRIEnvNPN_GetJavaEnv (void)
jref NPN_GetJavaPeer (NPP instance)
NPError NPN_GetValue (NPP instance, NPNVariable variable, void *value)
NPError NPN_SetValue (NPP instance, NPPVariable variable, void *value)
void NPN_InvalidateRect (NPP instance, NPRect *invalidRect)
void NPN_InvalidateRegion (NPP instance, NPRegion invalidRegion)
void NPN_ForceRedraw (NPP instance)


Typedef Documentation

typedef unsigned short uint16

typedef unsigned long uint32

typedef short int16

typedef long int32

typedef unsigned char NPBool

typedef NPError

typedef int16 NPReason

typedef char* NPMIMEType

typedef struct _NPP NPP_t

typedef NPP_t* NPP

typedef struct _NPStream NPStream

typedef struct _NPByteRange NPByteRange

typedef struct _NPSavedData NPSavedData

typedef struct _NPRect NPRect

typedef struct _NPWindow NPWindow

typedef struct _NPFullPrint NPFullPrint

typedef struct _NPEmbedPrint NPEmbedPrint

typedef struct _NPPrint NPPrint

typedef void * NPEvent

typedef void * NPRegion


Enumeration Type Documentation

anonymous enum

Enumerator:
NP_SETWINDOW 
NP_PRINT 

Enumerator:
NPPVpluginNameString 
NPPVpluginDescriptionString 
NPPVpluginWindowBool 
NPPVpluginTransparentBool 
NPPVpluginNameString 
NPPVpluginDescriptionString 
NPPVpluginWindowBool 
NPPVpluginTransparentBool 
NPPVjavaClass 
NPPVpluginWindowSize 
NPPVpluginTimerInterval 
NPPVpluginScriptableInstance 
NPPVpluginScriptableIID 
NPPVjavascriptPushCallerBool 
NPPVpluginKeepLibraryInMemory 
NPPVpluginNeedsXEmbed 
NPPVpluginScriptableNPObject 
NPPVformValue 
NPPVpluginDrawingModel 

Enumerator:
NPNVxDisplay 
NPNVxtAppContext 
NPNVnetscapeWindow 
NPNVjavascriptEnabledBool 
NPNVasdEnabledBool 
NPNVisOfflineBool 
NPNVxDisplay 
NPNVxtAppContext 
NPNVnetscapeWindow 
NPNVjavascriptEnabledBool 
NPNVasdEnabledBool 
NPNVisOfflineBool 
NPNVserviceManager 
NPNVDOMElement 
NPNVDOMWindow 
NPNVToolkit 
NPNVSupportsXEmbedBool 
NPNVWindowNPObject 
NPNVPluginElementNPObject 
NPNVSupportsWindowless 
NPNVpluginDrawingModel 
NPNVsupportsQuickDrawBool 
NPNVsupportsCoreGraphicsBool 

Enumerator:
NPWindowTypeWindow 
NPWindowTypeDrawable 
NPWindowTypeWindow 
NPWindowTypeDrawable 


Function Documentation

char* NPP_GetMIMEDescription ( void   ) 

NPError NPP_Initialize ( void   ) 

void NPP_Shutdown ( void   ) 

NPError NP_LOADDS NPP_New ( NPMIMEType  pluginType,
NPP  instance,
uint16  mode,
int16  argc,
char argn[],
char argv[],
NPSavedData saved 
)

NPError NP_LOADDS NPP_Destroy ( NPP  instance,
NPSavedData **  save 
)

NPError NP_LOADDS NPP_SetWindow ( NPP  instance,
NPWindow window 
)

NPError NP_LOADDS NPP_NewStream ( NPP  instance,
NPMIMEType  type,
NPStream stream,
NPBool  seekable,
uint16 stype 
)

NPError NP_LOADDS NPP_DestroyStream ( NPP  instance,
NPStream stream,
NPReason  reason 
)

int32 NP_LOADDS NPP_WriteReady ( NPP  instance,
NPStream stream 
)

int32 NP_LOADDS NPP_Write ( NPP  instance,
NPStream stream,
int32  offset,
int32  len,
void *  buffer 
)

void NP_LOADDS NPP_StreamAsFile ( NPP  instance,
NPStream stream,
const char fname 
)

void NP_LOADDS NPP_Print ( NPP  instance,
NPPrint platformPrint 
)

int16 NPP_HandleEvent ( NPP  instance,
void *  event 
)

void NP_LOADDS NPP_URLNotify ( NPP  instance,
const char url,
NPReason  reason,
void *  notifyData 
)

jref NP_LOADDS NPP_GetJavaClass ( void   ) 

NPError NPP_GetValue ( void *  instance,
NPPVariable  variable,
void *  value 
)

NPError NPP_SetValue ( void *  instance,
NPNVariable  variable,
void *  value 
)

void NPN_Version ( int *  plugin_major,
int *  plugin_minor,
int *  netscape_major,
int *  netscape_minor 
)

NPError NPN_GetURLNotify ( NPP  instance,
const char url,
const char target,
void *  notifyData 
)

NPError NPN_GetURL ( NPP  instance,
const char url,
const char target 
)

NPError NPN_PostURLNotify ( NPP  instance,
const char url,
const char target,
uint32  len,
const char buf,
NPBool  file,
void *  notifyData 
)

NPError NPN_PostURL ( NPP  instance,
const char url,
const char target,
uint32  len,
const char buf,
NPBool  file 
)

NPError NPN_RequestRead ( NPStream stream,
NPByteRange rangeList 
)

NPError NPN_NewStream ( NPP  instance,
NPMIMEType  type,
const char target,
NPStream **  stream 
)

int32 NPN_Write ( NPP  instance,
NPStream stream,
int32  len,
void *  buffer 
)

NPError NPN_DestroyStream ( NPP  instance,
NPStream stream,
NPReason  reason 
)

void NPN_Status ( NPP  instance,
const char message 
)

const char* NPN_UserAgent ( NPP  instance  ) 

void* NPN_MemAlloc ( uint32  size  ) 

void NPN_MemFree ( void *  ptr  ) 

uint32 NPN_MemFlush ( uint32  size  ) 

void NPN_ReloadPlugins ( NPBool  reloadPages  ) 

JRIEnv* NPN_GetJavaEnv ( void   ) 

jref NPN_GetJavaPeer ( NPP  instance  ) 

NPError NPN_GetValue ( NPP  instance,
NPNVariable  variable,
void *  value 
)

NPError NPN_SetValue ( NPP  instance,
NPPVariable  variable,
void *  value 
)

void NPN_InvalidateRect ( NPP  instance,
NPRect invalidRect 
)

void NPN_InvalidateRegion ( NPP  instance,
NPRegion  invalidRegion 
)

void NPN_ForceRedraw ( NPP  instance  ) 


Generated Mozilla by doxygen 1.5.6