Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIBinaryOutputStream.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
287:9cbe6285f746 | 288:4ee8c4237614 |
---|---|
1 module dwt.internal.mozilla.nsIBinaryOutputStream; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 | |
7 import dwt.internal.mozilla.nsIOutputStream; | |
8 | |
9 const char[] NS_IBINARYOUTPUTSTREAM_IID_STR = "204ee610-8765-11d3-90cf-0040056a906e"; | |
10 | |
11 const nsIID NS_IBINARYOUTPUTSTREAM_IID= | |
12 {0x204ee610, 0x8765, 0x11d3, | |
13 [ 0x90, 0xcf, 0x00, 0x40, 0x05, 0x6a, 0x90, 0x6e ]}; | |
14 | |
15 extern(System) | |
16 | |
17 interface nsIBinaryOutputStream : nsIOutputStream { | |
18 | |
19 static const char[] IID_STR = NS_IBINARYOUTPUTSTREAM_IID_STR; | |
20 static const nsIID IID = NS_IBINARYOUTPUTSTREAM_IID; | |
21 | |
22 nsresult SetOutputStream(nsIOutputStream aOutputStream); | |
23 nsresult WriteBoolean(PRBool aBoolean); | |
24 nsresult Write8(PRUint8 aByte); | |
25 nsresult Write16(PRUint16 a16); | |
26 nsresult Write32(PRUint32 a32); | |
27 nsresult Write64(PRUint64 a64); | |
28 nsresult WriteFloat(float aFloat); | |
29 nsresult WriteDouble(double aDouble); | |
30 nsresult WriteStringZ(char *aString); | |
31 nsresult WriteWStringZ(PRUnichar *aString); | |
32 nsresult WriteUtf8Z(PRUnichar *aString); | |
33 nsresult WriteBytes(char *aString, PRUint32 aLength); | |
34 nsresult WriteByteArray(PRUint8 *aBytes, PRUint32 aLength); | |
35 | |
36 } | |
37 |