Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIObjectOutputStream.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.nsIObjectOutputStream; | |
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.nsIBinaryOutputStream; | |
8 | |
9 const char[] NS_IOBJECTOUTPUTSTREAM_IID_STR = "92c898ac-5fde-4b99-87b3-5d486422094b"; | |
10 | |
11 const nsIID NS_IOBJECTOUTPUTSTREAM_IID= | |
12 {0x92c898ac, 0x5fde, 0x4b99, | |
13 [ 0x87, 0xb3, 0x5d, 0x48, 0x64, 0x22, 0x09, 0x4b ]}; | |
14 | |
15 extern(System) | |
16 | |
17 interface nsIObjectOutputStream : nsIBinaryOutputStream { | |
18 | |
19 static const char[] IID_STR = NS_IOBJECTOUTPUTSTREAM_IID_STR; | |
20 static const nsIID IID = NS_IOBJECTOUTPUTSTREAM_IID; | |
21 | |
22 nsresult WriteObject(nsISupports aObject, PRBool aIsStrongRef); | |
23 nsresult WriteSingleRefObject(nsISupports aObject); | |
24 nsresult WriteCompoundObject(nsISupports aObject, nsIID * aIID, PRBool aIsStrongRef); | |
25 nsresult WriteID(nsID * aID); | |
26 char * GetBuffer(PRUint32 aLength, PRUint32 aAlignMask); | |
27 void PutBuffer(char * aBuffer, PRUint32 aLength); | |
28 | |
29 } | |
30 |