1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIWebBrowserStream extends nsISupports { 31 32 static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 3; 33 34 public static final String NS_IWEBBROWSERSTREAM_IID_STR = 35 "86d02f0e-219b-4cfc-9c88-bd98d2cce0b8"; 36 37 public static final nsID NS_IWEBBROWSERSTREAM_IID = 38 new nsID(NS_IWEBBROWSERSTREAM_IID_STR); 39 40 public nsIWebBrowserStream(int address) { 41 super(address); 42 } 43 44 public int OpenStream(int aBaseURI, int aContentType) { 45 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 1, getAddress(), aBaseURI, aContentType); 46 } 47 48 public int AppendToStream(int aData, int aLen) { 49 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 2, getAddress(), aData, aLen); 50 } 51 52 public int CloseStream() { 53 return XPCOM.VtblCall(nsISupports.LAST_METHOD_ID + 3, getAddress()); 54 } 55 } | Popular Tags |