1 module org.eclipse.swt.internal.mozilla.nsIProgressDialog_1_8;
2 
3 import java.lang.all;
4 
5 import org.eclipse.swt.internal.mozilla.Common;
6 import org.eclipse.swt.internal.mozilla.nsID;
7 import org.eclipse.swt.internal.mozilla.nsISupports;
8 import org.eclipse.swt.internal.mozilla.nsIDownload;
9 import org.eclipse.swt.internal.mozilla.nsIDOMWindow; 
10 import org.eclipse.swt.internal.mozilla.nsIObserver;
11 import org.eclipse.swt.internal.mozilla.nsIDownload_1_8;
12 
13 const char[] NS_IPROGRESSDIALOG_IID_STR = "20e790a2-76c6-462d-851a-22ab6cbbe48b";
14 
15 const nsIID NS_IPROGRESSDIALOG_IID= 
16   {0x20e790a2, 0x76c6, 0x462d, 
17     [ 0x85, 0x1a, 0x22, 0xab, 0x6c, 0xbb, 0xe4, 0x8b ]};
18 
19 interface nsIProgressDialog_1_8 : nsIDownload_1_8 {
20 
21   static const char[] IID_STR = NS_IPROGRESSDIALOG_IID_STR;
22   static const nsIID IID = NS_IPROGRESSDIALOG_IID;
23 
24 extern(System):
25   nsresult Open(nsIDOMWindow aParent);
26   nsresult GetCancelDownloadOnClose(PRBool *aCancelDownloadOnClose);
27   nsresult SetCancelDownloadOnClose(PRBool aCancelDownloadOnClose);
28   nsresult GetObserver(nsIObserver  *aObserver);
29   nsresult SetObserver(nsIObserver  aObserver);
30   nsresult GetDialog(nsIDOMWindow  *aDialog);
31   nsresult SetDialog(nsIDOMWindow  aDialog);
32 
33 }
34