Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
plugbase.h File Reference
#include "xp.h"
#include "action.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CPluginBase

Defines

#define NPAPI_INI_FILE_NAME   "npapi.ini"
#define DEFAULT_DWARG_VALUE   0xDDDDDDDD

Functions

CPluginBaseCreatePlugin (NPP instance, uint16 mode)
void DestroyPlugin (CPluginBase *pPlugin)

Define Documentation

#define DEFAULT_DWARG_VALUE   0xDDDDDDDD

Definition at line 54 of file plugbase.h.

#define NPAPI_INI_FILE_NAME   "npapi.ini"

Definition at line 52 of file plugbase.h.


Function Documentation

CPluginBase* CreatePlugin ( NPP  instance,
uint16  mode 
)

Definition at line 337 of file plugin.cpp.

{
  CPlugin * pPlugin = new CPlugin(instance, mode);
  return (CPluginBase *)pPlugin;
}

Here is the caller graph for this function:

void DestroyPlugin ( CPluginBase pPlugin)

Definition at line 343 of file plugin.cpp.

{
  if(pPlugin != NULL)
    delete (CPlugin *)pPlugin;
}

Here is the caller graph for this function: