Back to index

lightning-sunbird  0.9+nobinonly
Functions
plugin.cpp File Reference
#include <windows.h>
#include <windowsx.h>
#include "plugin.h"

Go to the source code of this file.

Functions

NPError NS_PluginInitialize ()
void NS_PluginShutdown ()
nsPluginInstanceBaseNS_NewPluginInstance (nsPluginCreateData *aCreateDataStruct)
void NS_DestroyPluginInstance (nsPluginInstanceBase *aPlugin)

Function Documentation

Definition at line 74 of file plugin.cpp.

{
  if(aPlugin)
    delete (nsPluginInstance *)aPlugin;
}

Definition at line 61 of file plugin.cpp.

{
  if(!aCreateDataStruct)
    return NULL;

  nsPluginInstance * plugin = new nsPluginInstance(aCreateDataStruct->instance);

  // now is the time to tell Mozilla that we are windowless
  NPN_SetValue(aCreateDataStruct->instance, NPPVpluginWindowBool, NULL);

  return plugin;
}

Here is the call graph for this function:

Definition at line 48 of file plugin.cpp.

{
  return NPERR_NO_ERROR;
}

Definition at line 53 of file plugin.cpp.

{
}