Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIObjectInputStream.d @ 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.
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Fri, 18 Jul 2008 05:32:53 -0700 |
parents | |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
271:d472fae79005 | 272:dd63eb078d7a |
---|---|
1 module dwt.internal.mozilla.nsIObjectInputStream; | |
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.nsIBinaryInputStream; | |
8 | |
9 const char[] NS_IOBJECTINPUTSTREAM_IID_STR = "6c248606-4eae-46fa-9df0-ba58502368eb"; | |
10 | |
11 const nsIID NS_IOBJECTINPUTSTREAM_IID= | |
12 {0x6c248606, 0x4eae, 0x46fa, | |
13 [ 0x9d, 0xf0, 0xba, 0x58, 0x50, 0x23, 0x68, 0xeb ]}; | |
14 | |
15 extern(System) | |
16 | |
17 interface nsIObjectInputStream : nsIBinaryInputStream { | |
18 | |
19 static const char[] IID_STR = NS_IOBJECTINPUTSTREAM_IID_STR; | |
20 static const nsIID IID = NS_IOBJECTINPUTSTREAM_IID; | |
21 | |
22 nsresult ReadObject(PRBool aIsStrongRef, nsISupports *_retval); | |
23 nsresult ReadID(nsID *aID); | |
24 char * GetBuffer(PRUint32 aLength, PRUint32 aAlignMask); | |
25 void PutBuffer(char * aBuffer, PRUint32 aLength); | |
26 | |
27 } | |
28 |