1 module org.eclipse.swt.internal.mozilla.nsIStreamListener;
2 
3 import java.lang.all;
4 
5 import org.eclipse.swt.internal.mozilla.Common;
6 import org.eclipse.swt.internal.mozilla.nsID;
7 import org.eclipse.swt.internal.mozilla.nsISupports;
8 
9 import org.eclipse.swt.internal.mozilla.nsIRequestObserver;
10 import org.eclipse.swt.internal.mozilla.nsIRequest;
11 import org.eclipse.swt.internal.mozilla.nsIInputStream;
12 
13 const char[] NS_ISTREAMLISTENER_IID_STR = "1a637020-1482-11d3-9333-00104ba0fd40";
14 
15 const nsIID NS_ISTREAMLISTENER_IID= 
16   {0x1a637020, 0x1482, 0x11d3, 
17     [ 0x93, 0x33, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]};
18 
19 interface nsIStreamListener : nsIRequestObserver {
20 
21   static const char[] IID_STR = NS_ISTREAMLISTENER_IID_STR;
22   static const nsIID IID = NS_ISTREAMLISTENER_IID;
23 
24 extern(System):
25   nsresult OnDataAvailable(nsIRequest aRequest, nsISupports aContext, nsIInputStream aInputStream, PRUint32 aOffset, PRUint32 aCount);
26 
27 }
28