Linux Mac OSX Windows
 A helper app launcher is a small object created to handle the launching
 of an external application.

 Note that cancelling the load via the nsICancelable interface will release
 the reference to the launcher dialog.
[scriptable, uuid(99a0882d-2ff9-4659-9952-9ac531ba5592)]
interface nsIHelperAppLauncher : nsICancelable

Attributes

 The mime info object associated with the content type this helper app
 launcher is currently attempting to load
readonly attribute nsIMIMEInfo MIMEInfo
 The source uri
readonly attribute nsIURI source
 The suggested name for this file
readonly attribute AString suggestedFileName
 The file we are saving to
readonly attribute nsIFile targetFile
 Time when the download started
readonly attribute PRTime timeDownloadStarted

Methods

 when the stand alone progress window actually closes, it calls this method
 so we can release any local state...
void closeProgressWindow()
 Use aApplication to launch with this content.
 NOTE: This will release the reference to the nsIHelperAppLauncherDialog.
 @param aApplication nsIFile corresponding to the location of the application to use.
 @param aRememberThisPreference TRUE if we should remember this choice.
void launchWithApplication(in nsIFile aApplication, in boolean aRememberThisPreference)
 Called when we want to just save the content to a particular file.
 NOTE: This will release the reference to the nsIHelperAppLauncherDialog.
 @param aNewFileLocation Location where the content should be saved
void saveToDisk(in nsIFile aNewFileLocation, in boolean aRememberThisPreference)
 The following methods are used by the progress dialog to get or set
 information on the current helper app launcher download.
 This reference will be released when the download is finished (after the
 listener receives the STATE_STOP notification).
void setWebProgressListener(in nsIWebProgressListener2 aWebProgressListener)