root/dwt/internal/mozilla/nsIObjectOutputStream.d

Revision 327:b0d7eb5bd76c, 1.0 kB (checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)

Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win

Line 
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 interface nsIObjectOutputStream : nsIBinaryOutputStream {
16
17   static const char[] IID_STR = NS_IOBJECTOUTPUTSTREAM_IID_STR;
18   static const nsIID IID = NS_IOBJECTOUTPUTSTREAM_IID;
19
20 extern(System):
21   nsresult WriteObject(nsISupports aObject, PRBool aIsStrongRef);
22   nsresult WriteSingleRefObject(nsISupports aObject);
23   nsresult WriteCompoundObject(nsISupports aObject, nsIID * aIID, PRBool aIsStrongRef);
24   nsresult WriteID(nsID * aID);
25   char * GetBuffer(PRUint32 aLength, PRUint32 aAlignMask);
26   void PutBuffer(char * aBuffer, PRUint32 aLength);
27
28 }
Note: See TracBrowser for help on using the browser.