Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)

code review will come when this is done and gets turned on.

Add a private interface to be shared between the os specific helper app service and the external app handler
for launching an app.
This commit is contained in:
mscott%netscape.com 2000-06-17 23:03:24 +00:00
Родитель 6776d14922
Коммит a49f7b7be2
1 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -54,3 +54,17 @@ interface nsIExternalHelperAppService : nsISupports
nsIStreamListener doContent (in string aMimeContentType, in nsIURI aURI,
in nsISupports aWindowContext, out boolean aAbortProcess);
};
// this is a private interface shared between external app handlers and the platform specific
// external helper app service
[scriptable, uuid(491D04D5-449C-11d4-98D0-001083010E9B)]
interface nsPIExternalAppLauncher : nsISupports
{
// launchAppWithTempFile --> used by the handler to actually launch the helper application
// aTempFile --> the file which contains the data we want the helper app to use when it is launched
// aAppCookie --> a cookie that was given to the app handler when it was created by the OS specific
// external helper app service. This cookie contains all the information the service
// needs to know about the application in order to launch it. It's content differs by
// platform.
void launchAppWithTempFile(in nsIFile aTempFile, in nsISupports aAppCookie);
};