Mercurial > projects > dwt-win
view dwt/internal/mozilla/nsIHelperAppLauncher.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
line wrap: on
line source
module dwt.internal.mozilla.nsIHelperAppLauncher; private import dwt.internal.mozilla.Common; private import dwt.internal.mozilla.nsID; private import dwt.internal.mozilla.nsISupports; private import dwt.internal.mozilla.nsIURI; private import dwt.internal.mozilla.nsIMIMEInfo; private import dwt.internal.mozilla.nsIFile; private import dwt.internal.mozilla.nsIWebProgressListener; private import dwt.internal.mozilla.nsStringAPI; private import dwt.internal.mozilla.prtime; const char[] NS_IHELPERAPPLAUNCHER_IID_STR = "9503d0fe-4c9d-11d4-98d0-001083010e9b"; const nsIID NS_IHELPERAPPLAUNCHER_IID= {0x9503d0fe, 0x4c9d, 0x11d4, [ 0x98, 0xd0, 0x00, 0x10, 0x83, 0x01, 0x0e, 0x9b ]}; interface nsIHelperAppLauncher : nsISupports { static const char[] IID_STR = NS_IHELPERAPPLAUNCHER_IID_STR; static const nsIID IID = NS_IHELPERAPPLAUNCHER_IID; extern(System): nsresult GetMIMEInfo(nsIMIMEInfo *aMIMEInfo); nsresult GetSource(nsIURI *aSource); nsresult GetSuggestedFileName(nsAString * aSuggestedFileName); nsresult SaveToDisk(nsIFile aNewFileLocation, PRBool aRememberThisPreference); nsresult LaunchWithApplication(nsIFile aApplication, PRBool aRememberThisPreference); nsresult Cancel(); nsresult SetWebProgressListener(nsIWebProgressListener aWebProgressListener); nsresult CloseProgressWindow(); nsresult GetDownloadInfo( nsIURI* aSourceUrl, PRTime* aTimeDownloadStarted, nsIFile* result); }