Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsHTMLEditRules.h File Reference
#include "nsTextEditRules.h"
#include "nsIHTMLEditRules.h"
#include "nsIEditActionListener.h"
#include "nsCOMArray.h"
#include "nsCOMPtr.h"
#include "nsString.h"
#include "nsEditorUtils.h"
#include "TypeInState.h"
#include "nsReadableUtils.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  StyleCache
class  nsHTMLEditRules

Defines

#define SIZE_STYLE_TABLE   19

Functions

nsresult NS_NewHTMLEditRules (nsIEditRules **aInstancePtrResult)

Define Documentation

Definition at line 68 of file nsHTMLEditRules.h.


Function Documentation

nsresult NS_NewHTMLEditRules ( nsIEditRules **  aInstancePtrResult)

Definition at line 174 of file nsHTMLEditRules.cpp.

{
  nsHTMLEditRules * rules = new nsHTMLEditRules();
  if (rules)
    return rules->QueryInterface(NS_GET_IID(nsIEditRules), (void**) aInstancePtrResult);
  return NS_ERROR_OUT_OF_MEMORY;
}