Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsXMLContentBuilder.cpp File Reference
#include "nsCOMPtr.h"
#include "nsString.h"
#include "nsIXMLContentBuilder.h"
#include "nsISupportsArray.h"
#include "nsINameSpaceManager.h"
#include "nsINodeInfo.h"
#include "nsIContent.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsIAtom.h"
#include "nsContentCID.h"
#include "nsIDocument.h"
#include "nsIDOMElement.h"
#include "nsIDOMDocument.h"
#include "nsIDOMText.h"
#include "nsNodeInfoManager.h"
#include "nsContentCreatorFunctions.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Classes

class  nsXMLContentBuilder

Functions

static NS_DEFINE_CID (kXMLDocumentCID, NS_XMLDOCUMENT_CID)
nsresult NS_NewXMLContentBuilder (nsIXMLContentBuilder **aResult)

Function Documentation

static NS_DEFINE_CID ( kXMLDocumentCID  ,
NS_XMLDOCUMENT_CID   
) [static]

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: