1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIInputStreamChannel extends nsIChannel { 31 32 static final int LAST_METHOD_ID = nsIChannel.LAST_METHOD_ID + 3; 33 34 public static final String NS_IINPUTSTREAMCHANNEL_IID_STRING = 35 "560a64ce-6d66-44db-b38e-864469c52d03"; 36 37 public static final nsID NS_IINPUTSTREAMCHANNEL_IID = 38 new nsID(NS_IINPUTSTREAMCHANNEL_IID_STRING); 39 40 public nsIInputStreamChannel(int address) { 41 super(address); 42 } 43 44 public int SetURI(int aURI) { 45 return XPCOM.VtblCall(super.LAST_METHOD_ID + 1, getAddress(), aURI); 46 } 47 48 public int GetContentStream(int[] aContentStream) { 49 return XPCOM.VtblCall(super.LAST_METHOD_ID + 2, getAddress(), aContentStream); 50 } 51 52 public int SetContentStream(int aContentStream) { 53 return XPCOM.VtblCall(super.LAST_METHOD_ID + 3, getAddress(), aContentStream); 54 } 55 } | Popular Tags |