@mozilla.org/extensions/manager;1

This component implements the following interfaces:

Properties

readonly nsIRDFDataSource nsIExtensionManager.datasource

The Extensions Datasource XXXben - the datasource should be registered with the RDF system, so it can be accessed via rdf:extensions, and not exposed through the API like this.

readonly nsISimpleEnumerator nsIExtensionManager.installLocations

An enumeration of all registered Install Items

Methods

InterfaceMethod
nsIExtensionManager void addDownloads ( nsIUpdateItem items , PRUint32 itemCount , PRBool fromChrome )
nsIExtensionManager PRInt32 addUpdateListener ( nsIAddonUpdateListener listener )
nsIExtensionManager PRBool checkForMismatches ( )
nsIExtensionManager void disableItem ( AString id )
nsIExtensionManager void enableItem ( AString id )
nsIExtensionManager void getIncompatibleItemList ( AString id , AString version , PRUint32 type , PRBool includeDisabled , out PRUint32 itemCount , out nsIUpdateItem items )
nsIExtensionManager nsIInstallLocation getInstallLocation ( AString id )
nsIExtensionManager nsIUpdateItem getItemForID ( AString id )
nsIExtensionManager void getItemList ( PRUint32 type , out PRUint32 itemCount , out nsIUpdateItem items )
nsIExtensionManager void handleCommandLineArgs ( nsICommandLine cmdline )
nsIExtensionManager void installItemFromFile ( nsIFile xpiFile , AString installLocationKey )
nsIExtensionManager void moveToIndexOf ( AString movingID , AString destinationID )
nsITimerCallback void notify ( nsITimer timer )
nsIObserver void observe ( nsISupports subject , char* topic , PRUnichar* data )
nsIExtensionManager void removeDownload ( AString url )
nsIExtensionManager void removeUpdateListenerAt ( PRInt32 index )
nsIExtensionManager PRBool start ( nsICommandLine commandLine )
nsIExtensionManager void uninstallItem ( AString id )
nsIExtensionManager void update ( nsIUpdateItem items , PRUint32 itemCount , PRUint32 versionUpdateOnly , nsIAddonUpdateCheckListener listener )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com