1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIDocumentLoaderFactory extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 3; 33 34 public static final String NS_IDOCUMENTLOADERFACTORY_IID_STRING = 35 "df15f850-5d98-11d4-9f4d-0010a4053fd0"; 36 37 public static final nsID NS_IDOCUMENTLOADERFACTORY_IID = 38 new nsID(NS_IDOCUMENTLOADERFACTORY_IID_STRING); 39 40 public nsIDocumentLoaderFactory(int address) { 41 super(address); 42 } 43 44 public int CreateInstance(byte[] aCommand, int aChannel, int aLoadGroup, byte[] aContentType, int aContainer, int aExtraInfo, int[] aDocListenerResult, int[] _retval) { 45 return XPCOM.VtblCall(super.LAST_METHOD_ID + 1, getAddress(), aCommand, aChannel, aLoadGroup, aContentType, aContainer, aExtraInfo, aDocListenerResult, _retval); 46 } 47 48 public int CreateInstanceForDocument(int aContainer, int aDocument, byte[] aCommand, int[] _retval) { 49 return XPCOM.VtblCall(super.LAST_METHOD_ID + 2, getAddress(), aContainer, aDocument, aCommand, _retval); 50 } 51 52 public int CreateBlankDocument(int aLoadGroup, int[] _retval) { 53 return XPCOM.VtblCall(super.LAST_METHOD_ID + 3, getAddress(), aLoadGroup, _retval); 54 } 55 } | Popular Tags |