Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsViewSourceHTML.h File Reference
#include "nsIDTD.h"
#include "nsISupports.h"
#include "nsHTMLTokens.h"
#include "nsIHTMLContentSink.h"
#include "nsDTDUtils.h"
#include "nsParserNode.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CViewSourceHTML

Defines

#define NS_VIEWSOURCE_HTML_IID
 MODULE NOTES: gess 4/8/98.

Functions

nsresult NS_NewViewSourceHTML (nsIDTD **aInstancePtrResult)
 This method is defined in nsIParser.

Define Documentation

Value:
{0xb6003010, 0x7932, 0x11d2, \
  {0x80, 0x1b, 0x0, 0x60, 0x8, 0xbf, 0xc4, 0x89 }}

MODULE NOTES: gess 4/8/98.

Definition at line 55 of file nsViewSourceHTML.h.


Function Documentation

nsresult NS_NewViewSourceHTML ( nsIDTD **  aInstancePtrResult)

This method is defined in nsIParser.

It is used to cause the COM-like construction of an nsParser.

gess 4/8/98

Parameters:
nsIParser**ptr to newly instantiated parser
Returns:
NS_xxx error result

Definition at line 160 of file nsViewSourceHTML.cpp.

{
  CViewSourceHTML* it = new CViewSourceHTML();

  if (it == 0) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  return it->QueryInterface(kClassIID, (void **) aInstancePtrResult);
}

Here is the caller graph for this function: