Extension Manager:API Rewrite:API: Difference between revisions

Jump to navigation Jump to search
Line 16: Line 16:
==getInstallForFile==
==getInstallForFile==


Creates a new object reperesenting an add-on installation from a local file, properties for the install will be loaded out of the file synchronously.
Creates a new object reperesenting an add-on installation from a local file, properties for the install will be loaded out of the file before the callback is called.


;file :A <code>nsIFile</code> to install the add-on from
;file :A <code>nsIFile</code> to install the add-on from
 
;callback :A function that will be passed the [[#AddonInstall|AddonInstall]] for the installation
;returns :An [[#AddonInstall|AddonInstall]] for the installation


==getInstalls==
==getInstalls==
canmove, Confirmed users
1,570

edits

Navigation menu