Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIBinaryOutputStream.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsIBinaryOutputStream; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsISupports; | |
6 | |
7 import org.eclipse.swt.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 interface nsIBinaryOutputStream : nsIOutputStream { | |
16 | |
17 static const char[] IID_STR = NS_IBINARYOUTPUTSTREAM_IID_STR; | |
18 static const nsIID IID = NS_IBINARYOUTPUTSTREAM_IID; | |
19 | |
20 extern(System): | |
21 nsresult SetOutputStream(nsIOutputStream aOutputStream); | |
22 nsresult WriteBoolean(PRBool aBoolean); | |
23 nsresult Write8(PRUint8 aByte); | |
24 nsresult Write16(PRUint16 a16); | |
25 nsresult Write32(PRUint32 a32); | |
26 nsresult Write64(PRUint64 a64); | |
27 nsresult WriteFloat(float aFloat); | |
28 nsresult WriteDouble(double aDouble); | |
29 nsresult WriteStringZ(char *aString); | |
30 nsresult WriteWStringZ(PRUnichar *aString); | |
31 nsresult WriteUtf8Z(PRUnichar *aString); | |
32 nsresult WriteBytes(char *aString, PRUint32 aLength); | |
33 nsresult WriteByteArray(PRUint8 *aBytes, PRUint32 aLength); | |
34 | |
35 } | |
36 |