1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIProgressDialog extends nsIDownload { 31 32 static final int LAST_METHOD_ID = nsIDownload.LAST_METHOD_ID + 5; 33 34 public static final String NS_IPROGRESSDIALOG_IID_STR = 35 "88a478b3-af65-440a-94dc-ed9b154d2990"; 36 37 public static final nsID NS_IPROGRESSDIALOG_IID = 38 new nsID(NS_IPROGRESSDIALOG_IID_STR); 39 40 public nsIProgressDialog(int address) { 41 super(address); 42 } 43 44 public int Open(int aParent) { 45 return XPCOM.VtblCall(nsIDownload.LAST_METHOD_ID + 1, getAddress(), aParent); 46 } 47 48 public int GetCancelDownloadOnClose(boolean[] aCancelDownloadOnClose) { 49 return XPCOM.VtblCall(nsIDownload.LAST_METHOD_ID + 2, getAddress(), aCancelDownloadOnClose); 50 } 51 52 public int SetCancelDownloadOnClose(boolean aCancelDownloadOnClose) { 53 return XPCOM.VtblCall(nsIDownload.LAST_METHOD_ID + 3, getAddress(), aCancelDownloadOnClose); 54 } 55 56 public int GetDialog(int [] aDialog) { 57 return XPCOM.VtblCall(nsIDownload.LAST_METHOD_ID + 4, getAddress(), aDialog); 58 } 59 60 public int SetDialog(int aDialog) { 61 return XPCOM.VtblCall(nsIDownload.LAST_METHOD_ID + 5, getAddress(), aDialog); 62 } 63 } | Popular Tags |