|
FreeWRL / FreeX3D 4.3.0
|
Public Member Functions | |
| void | createPluginInstance (out nsIPluginInstance aResult) |
| Creates a new plugin instance, based on a MIME type. | |
| void | initialize () |
| Initializes the plugin and will be called before any new instances are created. | |
| void | shutdown () |
| Called when the browser is done with the plugin factory, or when the plugin is disabled by the user. | |
| void | getMIMEDescription (out constCharPtr aMIMEDescription) |
| Returns the MIME description for the plugin. | |
| void | getValue (in nsPluginVariable aVariable, in voidPtr aValue) |
| Returns the value of a variable associated with the plugin. | |
Definition at line 51 of file nsIPlugin.idl.
| void nsIPlugin::createPluginInstance | ( | out nsIPluginInstance | aResult | ) |
Creates a new plugin instance, based on a MIME type.
This allows different impelementations to be created depending on the specified MIME type.
| void nsIPlugin::getMIMEDescription | ( | out constCharPtr | aMIMEDescription | ) |
Returns the MIME description for the plugin.
The MIME description is a colon-separated string containg the plugin MIME type, plugin data file extension, and plugin name, e.g.:
"application/x-simple-plugin:smp:Simple Sample Plug-in"
(Corresponds to NPP_GetMIMEDescription.)
| aMIMEDescription | - the resulting MIME description |
| void nsIPlugin::getValue | ( | in nsPluginVariable | aVariable, |
| in voidPtr | aValue ) |
Returns the value of a variable associated with the plugin.
(Corresponds to NPP_GetValue.)
| aVariable | - the plugin variable to get |
| aValue | - the address of where to store the resulting value |
| void nsIPlugin::initialize | ( | ) |
Initializes the plugin and will be called before any new instances are created.
It is passed browserInterfaces on which QueryInterface may be used to obtain an nsIPluginManager, and other interfaces.
| browserInterfaces | - an object that allows access to other browser interfaces via QueryInterface |
| void nsIPlugin::shutdown | ( | ) |
Called when the browser is done with the plugin factory, or when the plugin is disabled by the user.
(Corresponds to NPP_Shutdown.)