Back to index

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

Go to the source code of this file.


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.

    delete (nsPluginInstance *)aPlugin;

Definition at line 61 of file plugin.cpp.

    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.