nsIHelperAppLauncherDialog
| IID: | 64355793-988d-40a5-ba8e-fcde78cac631 |
| Inherits From: | nsISupports |
This interface is used to display a confirmatino dialog before launching a "helper app" to handle content not handled by Mozilla.
Usage: Clients (of which there is one: the nsIExternalHelperAppService implementation in mozilla/uriloader/exthandler) create an instance of this interface (using the contract ID) and then call the show() method.
The dialog is shown non-modally. The implementation of the dialog will access methods of the nsIHelperAppLauncher passed in to show() in order to cause a "save to disk" or "open using" action.
This interface is implemented by the following components:
Constants
Methods
nsILocalFile promptForSaveToFile ( nsIHelperAppLauncher launcher , nsISupports windowContext , PRUnichar* defaultFile , PRUnichar* suggestedFileExtension )
void show ( nsIHelperAppLauncher launcher , nsISupports context , PRUint32 reason )
nsILocalFile promptForSaveToFile ( nsIHelperAppLauncher launcher , nsISupports windowContext , PRUnichar* defaultFile , PRUnichar* suggestedFileExtension )
- Arguments:
- launcher
- windowContext
- defaultFile
- suggestedFileExtension
void show ( nsIHelperAppLauncher launcher , nsISupports context , PRUint32 reason )
- Arguments:
- launcher
- context
- reason
Reference documentation is generated from Mozilla's source.
