#include <ns4xPlugin.h>
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. | |
| PRLibrary * | fLibrary |
| NP_PLUGINSHUTDOWN | fShutdownEntry |
Static Protected Attributes | |
| static NPNetscapeFuncs | CALLBACKS |
| The browser-side callbacks that a 4.x-style plugin calls. | |
| ns4xPlugin::ns4xPlugin | ( | NPPluginFuncs * | callbacks, | |
| PRLibrary * | aLibrary, | |||
| NP_PLUGINSHUTDOWN | aShutdown, | |||
| nsIServiceManagerObsolete * | serviceMgr | |||
| ) |
| ns4xPlugin::~ns4xPlugin | ( | void | ) | [virtual] |
| nsresult ns4xPlugin::CreatePlugin | ( | nsIServiceManagerObsolete * | aServiceMgr, | |
| const char * | aFileName, | |||
| const char * | aFullPath, | |||
| PRLibrary * | aLibrary, | |||
| nsIPlugin ** | aResult | |||
| ) | [static] |
Constructs and initializes an ns4xPlugin object, and returns it in result.
| void ns4xPlugin::SetPluginRefNum | ( | short | aRefNum | ) |
| void ns4xPlugin::CheckClassInitialized | ( | void | ) | [static, protected] |
short ns4xPlugin::fPluginRefNum [protected] |
PRBool ns4xPlugin::usesGetEntryPoints [protected] |
NPPluginFuncs ns4xPlugin::fCallbacks [protected] |
One set of plugin callbacks for each plugin.
PRLibrary* ns4xPlugin::fLibrary [protected] |
NP_PLUGINSHUTDOWN ns4xPlugin::fShutdownEntry [protected] |
NPNetscapeFuncs ns4xPlugin::CALLBACKS [static, protected] |
1.5.6