|
Revision 327:b0d7eb5bd76c, 0.7 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.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 |
} |
|---|