1 28 package org.eclipse.swt.internal.mozilla; 29 30 public class nsIStreamListener extends nsIRequestObserver { 31 32 static final int LAST_METHOD_ID = nsIRequestObserver.LAST_METHOD_ID + 1; 33 34 public static final String NS_ISTREAMLISTENER_IID_STRING = 35 "1a637020-1482-11d3-9333-00104ba0fd40"; 36 37 public static final nsID NS_ISTREAMLISTENER_IID = 38 new nsID(NS_ISTREAMLISTENER_IID_STRING); 39 40 public nsIStreamListener(int address) { 41 super(address); 42 } 43 44 public int OnDataAvailable(int aRequest, int aContext, int aInputStream, int aOffset, int aCount) { 45 return XPCOM.VtblCall(super.LAST_METHOD_ID + 1, getAddress(), aRequest, aContext, aInputStream, aOffset, aCount); 46 } 47 } | Popular Tags |