Mercurial > projects > dwt-mac
view dwt/internal/mozilla/nsIObjectOutputStream.d @ 156:969e7de37c3d default tip
Fixes to get dwt to work with dmd and ldc
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 08 Jul 2009 21:56:44 +0200 |
parents | 5583f8eeee6c |
children |
line wrap: on
line source
module dwt.internal.mozilla.nsIObjectOutputStream; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; import dwt.internal.mozilla.nsIBinaryOutputStream; const char[] NS_IOBJECTOUTPUTSTREAM_IID_STR = "92c898ac-5fde-4b99-87b3-5d486422094b"; const nsIID NS_IOBJECTOUTPUTSTREAM_IID= {0x92c898ac, 0x5fde, 0x4b99, [ 0x87, 0xb3, 0x5d, 0x48, 0x64, 0x22, 0x09, 0x4b ]}; interface nsIObjectOutputStream : nsIBinaryOutputStream { static const char[] IID_STR = NS_IOBJECTOUTPUTSTREAM_IID_STR; static const nsIID IID = NS_IOBJECTOUTPUTSTREAM_IID; extern(System): nsresult WriteObject(nsISupports aObject, PRBool aIsStrongRef); nsresult WriteSingleRefObject(nsISupports aObject); nsresult WriteCompoundObject(nsISupports aObject, nsIID * aIID, PRBool aIsStrongRef); nsresult WriteID(nsID * aID); char * GetBuffer(PRUint32 aLength, PRUint32 aAlignMask); void PutBuffer(char * aBuffer, PRUint32 aLength); }