Mercurial > projects > dwt-linux
annotate dwt/internal/mozilla/nsIBinaryOutputStream.d @ 286:44258e0b6687
More fixes for xpcom
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 10:11:58 -0700 |
parents | dd63eb078d7a |
children | 942da4b6558a |
rev | line source |
---|---|
272
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
1 module dwt.internal.mozilla.nsIBinaryOutputStream; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
2 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
3 import dwt.internal.mozilla.Common; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
4 import dwt.internal.mozilla.nsID; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
5 import dwt.internal.mozilla.nsISupports; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
6 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
7 import dwt.internal.mozilla.nsIOutputStream; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
8 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
9 const char[] NS_IBINARYOUTPUTSTREAM_IID_STR = "204ee610-8765-11d3-90cf-0040056a906e"; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
10 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
11 const nsIID NS_IBINARYOUTPUTSTREAM_IID= |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
12 {0x204ee610, 0x8765, 0x11d3, |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
13 [ 0x90, 0xcf, 0x00, 0x40, 0x05, 0x6a, 0x90, 0x6e ]}; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
14 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
15 extern(System) |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
16 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
17 interface nsIBinaryOutputStream : nsIOutputStream { |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
18 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
19 static const char[] IID_STR = NS_IBINARYOUTPUTSTREAM_IID_STR; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
20 static const nsIID IID = NS_IBINARYOUTPUTSTREAM_IID; |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
21 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
22 nsresult SetOutputStream(nsIOutputStream aOutputStream); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
23 nsresult WriteBoolean(PRBool aBoolean); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
24 nsresult Write8(PRUint8 aByte); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
25 nsresult Write16(PRUint16 a16); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
26 nsresult Write32(PRUint32 a32); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
27 nsresult Write64(PRUint64 a64); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
28 nsresult WriteFloat(float aFloat); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
29 nsresult WriteDouble(double aDouble); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
30 nsresult WriteStringZ(char *aString); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
31 nsresult WriteWStringZ(PRUnichar *aString); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
32 nsresult WriteUtf8Z(PRUnichar *aString); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
33 nsresult WriteBytes(char *aString, PRUint32 aLength); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
34 nsresult WriteByteArray(PRUint8 *aBytes, PRUint32 aLength); |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
35 |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
36 } |
dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
John Reimer<terminal.node@gmail.com>
parents:
diff
changeset
|
37 |