Mercurial > projects > dwt-win
comparison dwt/internal/mozilla/nsISerializable.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.nsISerializable; | |
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.nsIObjectInputStream; | |
8 import dwt.internal.mozilla.nsIObjectOutputStream; | |
9 | |
10 const char[] NS_ISERIALIZABLE_IID_STR = "91cca981-c26d-44a8-bebe-d9ed4891503a"; | |
11 | |
12 const nsIID NS_ISERIALIZABLE_IID= | |
13 {0x91cca981, 0xc26d, 0x44a8, | |
14 [ 0xbe, 0xbe, 0xd9, 0xed, 0x48, 0x91, 0x50, 0x3a ]}; | |
15 | |
16 interface nsISerializable : nsISupports { | |
17 | |
18 static const char[] IID_STR = NS_ISERIALIZABLE_IID_STR; | |
19 static const nsIID IID = NS_ISERIALIZABLE_IID; | |
20 | |
21 extern(System): | |
22 nsresult Read(nsIObjectInputStream aInputStream); | |
23 nsresult Write(nsIObjectOutputStream aOutputStream); | |
24 | |
25 } | |
26 |