1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIDownload extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 13; 33 34 public static final String NS_IDOWNLOAD_IID_STR = 35 "06cb92f2-1dd2-11b2-95f2-96dfdfb804a1"; 36 37 public static final nsID NS_IDOWNLOAD_IID = 38 new nsID(NS_IDOWNLOAD_IID_STR); 39 40 public nsIDownload(int address) { 41 super(address); 42 } 43 44 public int Init(int aSource, int aTarget, char[] aDisplayName, int aMIMEInfo, long startTime, int aPersist) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aSource, aTarget, aDisplayName, aMIMEInfo, startTime, aPersist); 46 } 47 48 public int GetSource(int [] aSource) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), aSource); 50 } 51 52 public int GetTarget(int [] aTarget) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), aTarget); 54 } 55 56 public int GetPersist(int [] aPersist) { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), aPersist); 58 } 59 60 public int GetPercentComplete(int[] aPercentComplete) { 61 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress(), aPercentComplete); 62 } 63 64 public int GetDisplayName(int [] aDisplayName) { 65 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 6, getAddress(), aDisplayName); 66 } 67 68 public int SetDisplayName(char[] aDisplayName) { 69 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 7, getAddress(), aDisplayName); 70 } 71 72 public int GetStartTime(long[] aStartTime) { 73 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 8, getAddress(), aStartTime); 74 } 75 76 public int GetMIMEInfo(int [] aMIMEInfo) { 77 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 9, getAddress(), aMIMEInfo); 78 } 79 80 public int GetListener(int [] aListener) { 81 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 10, getAddress(), aListener); 82 } 83 84 public int SetListener(int aListener) { 85 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 11, getAddress(), aListener); 86 } 87 88 public int GetObserver(int [] aObserver) { 89 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 12, getAddress(), aObserver); 90 } 91 92 public int SetObserver(int aObserver) { 93 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 13, getAddress(), aObserver); 94 } 95 } | Popular Tags |