Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIPluginHost Interface Reference

import "nsIPluginHost.idl";

Inheritance diagram for nsIPluginHost:
Inheritance graph
Collaboration diagram for nsIPluginHost:
Collaboration graph

List of all members.

Public Member Functions

void init ()
void destroy ()
void loadPlugins ()
void getPluginFactory (in string aMimeType, out nsIPlugin aPlugin)
void instantiateEmbeddedPlugin (in string aMimeType, in nsIURI aURL, in nsIPluginInstanceOwner aOwner)
void instantiateFullPagePlugin (in string aMimeType, in nsIURI aURI, in nsIStreamListenerRef aStreamListener, in nsIPluginInstanceOwner aOwner)
void setUpPluginInstance (in string aMimeType, in nsIURI aURL, in nsIPluginInstanceOwner aOwner)
void isPluginEnabledForType (in string aMimeType)
void isPluginEnabledForExtension (in string aExtension, in constCharStarRef aMimeType)
void getPlugins (in unsigned long aPluginCount, outnsIDOMPlugin aPluginArray)
void stopPluginInstance (in nsIPluginInstance aInstance)
void handleBadPlugin (in PRLibraryPtr aLibrary, in nsIPluginInstance instance)
void createInstance (in nsISupports aOuter, in nsIIDRef iid,[retval, iid_is(iid)] out nsQIResult result)
 Creates an instance of a component.
void lockFactory (in PRBool lock)
 LockFactory provides the client a way to keep the component in memory until it is finished with it.

Public Attributes

readonly attribute unsigned long pluginCount

Detailed Description

Definition at line 61 of file nsIPluginHost.idl.

Member Function Documentation

void nsIFactory::createInstance ( in nsISupports  aOuter,
in nsIIDRef  iid,
[retval, iid_is(iid)] out nsQIResult  result 
) [inherited]

Creates an instance of a component.

aOuterPointer to a component that wishes to be aggregated in the resulting instance. This will be nsnull if no aggregation is requested.
iidThe IID of the interface being requested in the component which is being currently created.
result[out] Pointer to the newly created instance, if successful.
NS_OK - Component successfully created and the interface being requested was successfully returned in result. NS_NOINTERFACE - Interface not accessible. NS_ERROR_NO_AGGREGATION - if an 'outer' object is supplied, but the component is not aggregatable. NS_ERROR* - Method failure.
void nsIPluginHost::getPlugins ( in unsigned long  aPluginCount,
outnsIDOMPlugin  aPluginArray 
void nsIFactory::lockFactory ( in PRBool  lock) [inherited]

LockFactory provides the client a way to keep the component in memory until it is finished with it.

The client can call LockFactory(PR_TRUE) to lock the factory and LockFactory(PR_FALSE) to release the factory.

lock- Must be PR_TRUE or PR_FALSE
NS_OK - If the lock operation was successful. NS_ERROR* - Method failure.

Member Data Documentation

Definition at line 81 of file nsIPluginHost.idl.

The documentation for this interface was generated from the following file: