root/dwt/internal/mozilla/nsIDOMSerializer_1_7.d

Revision 327:b0d7eb5bd76c, 0.8 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.nsIDOMSerializer_1_7;
2
3 import dwt.internal.mozilla.Common;
4 import dwt.internal.mozilla.nsID;
5 import dwt.internal.mozilla.nsISupports;
6 import dwt.internal.mozilla.nsIOutputStream;
7 import dwt.internal.mozilla.nsIDOMNode;
8 import dwt.internal.mozilla.nsStringAPI;
9
10 const char[] NS_IDOMSERIALIZER_IID_STR = "9fd4ba15-e67c-4c98-b52c-7715f62c9196";
11
12 const nsIID NS_IDOMSERIALIZER_IID=
13   {0x9fd4ba15, 0xe67c, 0x4c98,
14     [ 0xb5, 0x2c, 0x77, 0x15, 0xf6, 0x2c, 0x91, 0x96 ]};
15
16 interface nsIDOMSerializer_1_7 : nsISupports {
17
18   static const char[] IID_STR = NS_IDOMSERIALIZER_IID_STR;
19   static const nsIID IID = NS_IDOMSERIALIZER_IID;
20
21 extern(System):
22   nsresult SerializeToString(nsIDOMNode root, nsAString * _retval);
23   nsresult SerializeToStream(nsIDOMNode root, nsIOutputStream stream, nsACString * charset);
24
25 }
Note: See TracBrowser for help on using the browser.