Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsHTMLEditorMouseListener.h File Reference
#include "nsCOMPtr.h"
#include "nsIDOMEvent.h"
#include "nsIDOMMouseListener.h"
#include "nsIEditor.h"
#include "nsIPlaintextEditor.h"
#include "nsIHTMLEditor.h"
#include "nsEditorEventListeners.h"
#include "nsHTMLEditor.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsHTMLEditorMouseListener

Functions

nsresult NS_NewHTMLEditorMouseListener (nsIDOMEventListener **aInstancePtrResult, nsHTMLEditor *aHTMLEditor)
 factory for the mouse listener

Function Documentation

nsresult NS_NewHTMLEditorMouseListener ( nsIDOMEventListener **  aInstancePtrResult,
nsHTMLEditor aHTMLEditor 
)

factory for the mouse listener

Definition at line 311 of file nsHTMLEditorMouseListener.cpp.

{
  nsHTMLEditorMouseListener* listener = new nsHTMLEditorMouseListener(aHTMLEditor);
  if (!listener)
    return NS_ERROR_OUT_OF_MEMORY;

  return listener->QueryInterface(NS_GET_IID(nsIDOMEventListener), (void **) aInstancePtrResult);   
}

Here is the caller graph for this function: