comparison dwt/internal/mozilla/nsIOutputStream.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
17 17
18 const nsIID NS_IOUTPUTSTREAM_IID= 18 const nsIID NS_IOUTPUTSTREAM_IID=
19 {0x0d0acd2a, 0x61b4, 0x11d4, 19 {0x0d0acd2a, 0x61b4, 0x11d4,
20 [ 0x98, 0x77, 0x00, 0xc0, 0x4f, 0xa0, 0xcf, 0x4a ]}; 20 [ 0x98, 0x77, 0x00, 0xc0, 0x4f, 0xa0, 0xcf, 0x4a ]};
21 21
22 //extern(System)
23
24 interface nsIOutputStream : nsISupports { 22 interface nsIOutputStream : nsISupports {
25 23
26 static const char[] IID_STR = NS_IOUTPUTSTREAM_IID_STR; 24 static const char[] IID_STR = NS_IOUTPUTSTREAM_IID_STR;
27 static const nsIID IID = NS_IOUTPUTSTREAM_IID; 25 static const nsIID IID = NS_IOUTPUTSTREAM_IID;
28 26
27 extern(System):
29 nsresult Close(); 28 nsresult Close();
30 nsresult Flush(); 29 nsresult Flush();
31 nsresult Write(char *aBuf, PRUint32 aCount, PRUint32 *_retval); 30 nsresult Write(char *aBuf, PRUint32 aCount, PRUint32 *_retval);
32 nsresult WriteFrom(nsIInputStream aFromStream, PRUint32 aCount, PRUint32 *_retval); 31 nsresult WriteFrom(nsIInputStream aFromStream, PRUint32 aCount, PRUint32 *_retval);
33 nsresult WriteSegments(nsReadSegmentFun aReader, void * aClosure, PRUint32 aCount, PRUint32 *_retval); 32 nsresult WriteSegments(nsReadSegmentFun aReader, void * aClosure, PRUint32 aCount, PRUint32 *_retval);