Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
COtherDTD.cpp File Reference
#include "nsDebug.h"
#include "nsIAtom.h"
#include "COtherDTD.h"
#include "nsHTMLTokens.h"
#include "nsCRT.h"
#include "nsParser.h"
#include "nsIParser.h"
#include "nsIHTMLContentSink.h"
#include "nsScanner.h"
#include "prenv.h"
#include "prtypes.h"
#include "prio.h"
#include "plstr.h"
#include "nsDTDUtils.h"
#include "nsHTMLTokenizer.h"
#include "nsTime.h"
#include "nsParserNode.h"
#include "nsHTMLEntities.h"
#include "nsLinebreakConverter.h"
#include "nsUnicharUtils.h"
#include "prmem.h"
#include "COtherElements.h"

Go to the source code of this file.

Defines

#define STOP_TIMER()
#define START_TIMER()

Functions

static NS_DEFINE_IID (kIHTMLContentSinkIID, NS_IHTML_CONTENT_SINK_IID)
static NS_DEFINE_IID (kISupportsIID, NS_ISUPPORTS_IID)
static NS_DEFINE_IID (kIDTDIID, NS_IDTD_IID)
static NS_DEFINE_IID (kClassIID, NS_IOTHERHTML_DTD_IID)
nsresult NS_NewOtherHTMLDTD (nsIDTD **aInstancePtrResult)
 This method is defined in nsIParser.

Variables

static const char kVerificationDir [] = "c:/temp"

Define Documentation

Definition at line 87 of file COtherDTD.cpp.

Definition at line 86 of file COtherDTD.cpp.


Function Documentation

static NS_DEFINE_IID ( kIHTMLContentSinkIID  ,
NS_IHTML_CONTENT_SINK_IID   
) [static]
static NS_DEFINE_IID ( kISupportsIID  ,
NS_ISUPPORTS_IID   
) [static]
static NS_DEFINE_IID ( kIDTDIID  ,
NS_IDTD_IID   
) [static]
static NS_DEFINE_IID ( kClassIID  ,
NS_IOTHERHTML_DTD_IID   
) [static]
nsresult NS_NewOtherHTMLDTD ( 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 210 of file COtherDTD.cpp.

                                                         {
  COtherDTD* it = new COtherDTD();

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

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

Variable Documentation

const char kVerificationDir[] = "c:/temp" [static]

Definition at line 68 of file COtherDTD.cpp.