nsIHelperAppLauncher
| IID: | cc75c21a-0a79-4f68-90e1-563253d0c555 |
| Inherits From: | nsICancelable |
Properties
readonly nsIMIMEInfo MIMEInfo
The mime info object associated with the content type this helper app launcher is currently attempting to load
readonly nsIURI source
The source uri
readonly AString suggestedFileName
The suggested name for this file
readonly nsIFile targetFile
The file we are saving to
readonly PRBool targetFileIsExecutable
The executable-ness of the target file
readonly PRTime timeDownloadStarted
Time when the download started
Methods
void closeProgressWindow ( )
void launchWithApplication ( nsIFile application , PRBool rememberThisPreference )
void saveToDisk ( nsIFile newFileLocation , PRBool rememberThisPreference )
void setWebProgressListener ( nsIWebProgressListener2 webProgressListener )
When the stand alone progress window actually closes, it calls this method so we can release any local state...
void launchWithApplication ( nsIFile application , PRBool rememberThisPreference )
Use application to launch with this content. NOTE: This will release the reference to the nsIHelperAppLauncherDialog.
- Arguments:
- application: nsIFile corresponding to the location of the application to use.
- rememberThisPreference: TRUE if we should remember this choice.
void saveToDisk ( nsIFile newFileLocation , PRBool rememberThisPreference )
Called when we want to just save the content to a particular file. NOTE: This will release the reference to the nsIHelperAppLauncherDialog.
- Arguments:
- newFileLocation: Location where the content should be saved
- rememberThisPreference
void setWebProgressListener ( nsIWebProgressListener2 webProgressListener )
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).
- Arguments:
- webProgressListener
References
This interface is passed as an argument to the following methods:
nsIHelperAppLauncherDialog.promptForSaveToFile, nsIHelperAppLauncherDialog.show
Reference documentation is generated from Mozilla's source.
