Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsContentDLF.h File Reference
#include "nsIDocumentLoaderFactory.h"
#include "nsIDocumentViewer.h"
#include "nsIDocument.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsContentDLF

Functions

nsresult NS_NewContentDocumentLoaderFactory (nsIDocumentLoaderFactory **aResult)

Function Documentation

Definition at line 134 of file nsContentDLF.cpp.

{
  NS_PRECONDITION(aResult, "null OUT ptr");
  if (!aResult) {
    return NS_ERROR_NULL_POINTER;
  }
  nsContentDLF* it = new nsContentDLF();
  if (!it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  return CallQueryInterface(it, aResult);
}