1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIURIContentListener extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 8; 33 34 public static final String NS_IURICONTENTLISTENER_IID_STR = 35 "94928ab3-8b63-11d3-989d-001083010e9b"; 36 37 public static final nsID NS_IURICONTENTLISTENER_IID = 38 new nsID(NS_IURICONTENTLISTENER_IID_STR); 39 40 public nsIURIContentListener(int address) { 41 super(address); 42 } 43 44 public int OnStartURIOpen(int aURI, boolean[] _retval) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aURI, _retval); 46 } 47 48 public int DoContent(byte[] aContentType, boolean aIsContentPreferred, int aRequest, int [] aContentHandler, boolean[] _retval) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), aContentType, aIsContentPreferred, aRequest, aContentHandler, _retval); 50 } 51 52 public int IsPreferred(byte[] aContentType, int [] aDesiredContentType, boolean[] _retval) { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress(), aContentType, aDesiredContentType, _retval); 54 } 55 56 public int CanHandleContent(byte[] aContentType, boolean aIsContentPreferred, int [] aDesiredContentType, boolean[] _retval) { 57 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 4, getAddress(), aContentType, aIsContentPreferred, aDesiredContentType, _retval); 58 } 59 60 public int GetLoadCookie(int [] aLoadCookie) { 61 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 5, getAddress(), aLoadCookie); 62 } 63 64 public int SetLoadCookie(int aLoadCookie) { 65 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 6, getAddress(), aLoadCookie); 66 } 67 68 public int GetParentContentListener(int [] aParentContentListener) { 69 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 7, getAddress(), aParentContentListener); 70 } 71 72 public int SetParentContentListener(int aParentContentListener) { 73 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 8, getAddress(), aParentContentListener); 74 } 75 } | Popular Tags |