ns4xPlugin Class Reference

#include <ns4xPlugin.h>

Inheritance diagram for ns4xPlugin:

Inheritance graph
[legend]
Collaboration diagram for ns4xPlugin:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ns4xPlugin (NPPluginFuncs *callbacks, PRLibrary *aLibrary, NP_PLUGINSHUTDOWN aShutdown, nsIServiceManagerObsolete *serviceMgr)
virtual ~ns4xPlugin (void)
void SetPluginRefNum (short aRefNum)

Static Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSIFACTORY static
NS_DECL_NSIPLUGIN nsresult 
CreatePlugin (nsIServiceManagerObsolete *aServiceMgr, const char *aFileName, const char *aFullPath, PRLibrary *aLibrary, nsIPlugin **aResult)
 A static factory method for constructing 4.x plugins.

Static Protected Member Functions

static void CheckClassInitialized (void)
 Ensures that the static CALLBACKS is properly initialized.

Protected Attributes

short fPluginRefNum
PRBool usesGetEntryPoints
NPPluginFuncs fCallbacks
 The plugin-side callbacks that the browser calls.
PRLibraryfLibrary
NP_PLUGINSHUTDOWN fShutdownEntry

Static Protected Attributes

static NPNetscapeFuncs CALLBACKS
 The browser-side callbacks that a 4.x-style plugin calls.


Constructor & Destructor Documentation

ns4xPlugin::ns4xPlugin ( NPPluginFuncs callbacks,
PRLibrary aLibrary,
NP_PLUGINSHUTDOWN  aShutdown,
nsIServiceManagerObsolete serviceMgr 
)

ns4xPlugin::~ns4xPlugin ( void   )  [virtual]


Member Function Documentation

nsresult ns4xPlugin::CreatePlugin ( nsIServiceManagerObsolete aServiceMgr,
const char aFileName,
const char aFullPath,
PRLibrary aLibrary,
nsIPlugin **  aResult 
) [static]

CreatePlugin().

Constructs and initializes an ns4xPlugin object, and returns it in result.

void ns4xPlugin::SetPluginRefNum ( short  aRefNum  ) 

void ns4xPlugin::CheckClassInitialized ( void   )  [static, protected]


Member Data Documentation

short ns4xPlugin::fPluginRefNum [protected]

One set of plugin callbacks for each plugin.

NP_PLUGINSHUTDOWN ns4xPlugin::fShutdownEntry [protected]


The documentation for this class was generated from the following files:

Generated Mozilla by doxygen 1.5.6