view dwt/internal/mozilla/nsIHelperAppLauncher_1_9.d @ 341:942da4b6558a

Ongoing fixup for compile
author John Reimer <terminal.node@gmail.com>
date Sun, 26 Oct 2008 21:19:51 -0700
parents eec6ddb07873
children 9a4d7706df52
line wrap: on
line source

module dwt.internal.mozilla.nsIHelperAppLauncher_1_9;

private import dwt.internal.mozilla.Common;
private import dwt.internal.mozilla.nsID;
private import dwt.internal.mozilla.nsICancelable;
private import dwt.internal.mozilla.nsIURI;
private import dwt.internal.mozilla.nsIMIMEInfo;
private import dwt.internal.mozilla.nsIFile;
private import dwt.internal.mozilla.nsIWebProgressListener2;
private import dwt.internal.mozilla.nsStringAPI;
private import dwt.internal.mozilla.prtime;

const char[] NS_IHELPERAPPLAUNCHER_1_9_IID_STR = "cc75c21a-0a79-4f68-90e1-563253d0c555";

const nsIID NS_IHELPERAPPLAUNCHER_1_9_IID= 
  {0xcc75c21a, 0x0a79, 0x4f68, 
    [ 0x90, 0xe1, 0x56, 0x32, 0x53, 0xd0, 0xc5, 0x55 ]};

//extern(System)

interface nsIHelperAppLauncher_1_9 : nsICancelable {

  static const char[] IID_STR = NS_IHELPERAPPLAUNCHER_1_9_IID_STR;
  static const nsIID IID = NS_IHELPERAPPLAUNCHER_1_9_IID;

  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 SetWebProgressListener(nsIWebProgressListener2 aWebProgressListener);
  nsresult CloseProgressWindow();
  nsresult GetTargetFile(nsIFile *aTargetFile);
  nsresult GetTargetFileIsExecutable(PRBool* aTargetFileIsExecutable);
  nsresult GetTimeDownloadStarted(PRTime *aTimeDownloadStarted);
}