Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsIXMLContentBuilder.idl File Reference
import "nsISupports.idl";

Go to the source code of this file.

Classes

interface  nsIXMLContentBuilder

Defines

#define NS_XMLCONTENTBUILDER_CID   { 0xe09af32d, 0x2a54, 0x4d76, { 0x9e, 0xf0, 0x30, 0x70, 0xe8, 0x3f, 0x8b, 0xe7 } }
#define NS_XMLCONTENTBUILDER_CONTRACTID   "@mozilla.org/xtf/xml-contentbuilder;1"

Functions

nsresult NS_NewXMLContentBuilder (nsIXMLContentBuilder **aResult)

Define Documentation

#define NS_XMLCONTENTBUILDER_CID   { 0xe09af32d, 0x2a54, 0x4d76, { 0x9e, 0xf0, 0x30, 0x70, 0xe8, 0x3f, 0x8b, 0xe7 } }

Definition at line 81 of file nsIXMLContentBuilder.idl.

#define NS_XMLCONTENTBUILDER_CONTRACTID   "@mozilla.org/xtf/xml-contentbuilder;1"

Definition at line 84 of file nsIXMLContentBuilder.idl.


Function Documentation

Definition at line 104 of file nsXMLContentBuilder.cpp.

{
  nsXMLContentBuilder* result = new nsXMLContentBuilder();
  if (! result)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(result);
  *aResult = result;
  return NS_OK;
}

Here is the call graph for this function: