comparison dwt/internal/mozilla/nsIStreamListener.d @ 348:9a4d7706df52

Test Update to fix linux XPCOM interface issues
author John Reimer <terminal.node@gmail.com>
date Fri, 31 Oct 2008 21:46:44 -0700
parents 942da4b6558a
children
comparison
equal deleted inserted replaced
347:ff6dd48f5248 348:9a4d7706df52
12 12
13 const nsIID NS_ISTREAMLISTENER_IID= 13 const nsIID NS_ISTREAMLISTENER_IID=
14 {0x1a637020, 0x1482, 0x11d3, 14 {0x1a637020, 0x1482, 0x11d3,
15 [ 0x93, 0x33, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]}; 15 [ 0x93, 0x33, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]};
16 16
17 //extern(System)
18
19 interface nsIStreamListener : nsIRequestObserver { 17 interface nsIStreamListener : nsIRequestObserver {
20 18
21 static const char[] IID_STR = NS_ISTREAMLISTENER_IID_STR; 19 static const char[] IID_STR = NS_ISTREAMLISTENER_IID_STR;
22 static const nsIID IID = NS_ISTREAMLISTENER_IID; 20 static const nsIID IID = NS_ISTREAMLISTENER_IID;
23 21
22 extern(System):
24 nsresult OnDataAvailable(nsIRequest aRequest, nsISupports aContext, nsIInputStream aInputStream, PRUint32 aOffset, PRUint32 aCount); 23 nsresult OnDataAvailable(nsIRequest aRequest, nsISupports aContext, nsIInputStream aInputStream, PRUint32 aOffset, PRUint32 aCount);
25 24
26 } 25 }
27 26