view dwt/internal/mozilla/nsIDOMSerializer_1_7.d @ 305:c7c696cdfec2

Mozilla module progress; fixes to other browser modules; update XPCOM interfaces
author John Reimer<terminal.node@gmail.com>
date Sat, 16 Aug 2008 22:53:35 -0700
parents 16ba3d9cb209
children 3f4a5c7d138f
line wrap: on
line source

module dwt.internal.mozilla.nsIDOMSerializer;

import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsISupports;
import dwt.internal.mozilla.nsIOutputStream;
import dwt.internal.mozilla.nsIDOMNode;
import dwt.internal.mozilla.nsStringAPI;

const char[] NS_IDOMSERIALIZER_IID_STR = "9fd4ba15-e67c-4c98-b52c-7715f62c9196";

const nsIID NS_IDOMSERIALIZER_IID= 
  {0x9fd4ba15, 0xe67c, 0x4c98, 
    [ 0xb5, 0x2c, 0x77, 0x15, 0xf6, 0x2c, 0x91, 0x96 ]};

extern(System)

interface nsIDOMSerializer : nsISupports {

  static const char[] IID_STR = NS_IDOMSERIALIZER_IID_STR;
  static const nsIID IID = NS_IDOMSERIALIZER_IID;

  nsresult SerializeToString(nsIDOMNode root, nsAString * _retval);
  nsresult SerializeToStream(nsIDOMNode root, nsIOutputStream stream, nsACString * charset);

}