comparison dwt/internal/mozilla/nsIObjectInputStream.d @ 327:b0d7eb5bd76c

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author John Reimer <terminal.node@gmail.com>
date Fri, 02 Jan 2009 17:45:10 -0800
parents
children
comparison
equal deleted inserted replaced
326:e4d29367b1fa 327:b0d7eb5bd76c
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 interface nsIObjectInputStream : nsIBinaryInputStream {
16
17 static const char[] IID_STR = NS_IOBJECTINPUTSTREAM_IID_STR;
18 static const nsIID IID = NS_IOBJECTINPUTSTREAM_IID;
19
20 extern(System):
21 nsresult ReadObject(PRBool aIsStrongRef, nsISupports *_retval);
22 nsresult ReadID(nsID *aID);
23 char * GetBuffer(PRUint32 aLength, PRUint32 aAlignMask);
24 void PutBuffer(char * aBuffer, PRUint32 aLength);
25
26 }
27