Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
mozXMLTermListeners.h File Reference
#include "nsIDOMEvent.h"
#include "nsIDOMKeyListener.h"
#include "nsIDOMTextListener.h"
#include "nsIDOMMouseListener.h"
#include "nsIDOMDragListener.h"
#include "nsCOMPtr.h"
#include "mozIXMLTerminal.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mozXMLTermKeyListener
class  mozXMLTermTextListener
class  mozXMLTermMouseListener
class  mozXMLTermDragListener

Functions

nsresult NS_NewXMLTermKeyListener (nsIDOMEventListener **aInstancePtrResult, mozIXMLTerminal *aXMLTerminal)
nsresult NS_NewXMLTermTextListener (nsIDOMEventListener **aInstancePtrResult, mozIXMLTerminal *aXMLTerminal)
nsresult NS_NewXMLTermMouseListener (nsIDOMEventListener **aInstancePtrResult, mozIXMLTerminal *aXMLTerminal)
nsresult NS_NewXMLTermDragListener (nsIDOMEventListener **aInstancePtrResult, mozIXMLTerminal *aXMLTerminal)

Function Documentation

nsresult NS_NewXMLTermDragListener ( nsIDOMEventListener **  aInstancePtrResult,
mozIXMLTerminal aXMLTerminal 
)

Definition at line 106 of file mozXMLTermListeners.cpp.

{
  mozXMLTermDragListener* listener = new mozXMLTermDragListener();
  if (listener == nsnull) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  // Save non-owning reference to embedding XMLTerminal object
  listener->SetXMLTerminal(aXMLTerminal);

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

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult NS_NewXMLTermKeyListener ( nsIDOMEventListener **  aInstancePtrResult,
mozIXMLTerminal aXMLTerminal 
)

Definition at line 58 of file mozXMLTermListeners.cpp.

{
  mozXMLTermKeyListener* listener = new mozXMLTermKeyListener();
  if (listener == nsnull) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  // Save non-owning reference to embedding XMLTerminal object
  listener->SetXMLTerminal(aXMLTerminal);

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

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult NS_NewXMLTermMouseListener ( nsIDOMEventListener **  aInstancePtrResult,
mozIXMLTerminal aXMLTerminal 
)

Definition at line 90 of file mozXMLTermListeners.cpp.

{
  mozXMLTermMouseListener* listener = new mozXMLTermMouseListener();
  if (listener == nsnull) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  // Save non-owning reference to embedding XMLTerminal object
  listener->SetXMLTerminal(aXMLTerminal);

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

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult NS_NewXMLTermTextListener ( nsIDOMEventListener **  aInstancePtrResult,
mozIXMLTerminal aXMLTerminal 
)

Definition at line 74 of file mozXMLTermListeners.cpp.

{
  mozXMLTermTextListener* listener = new mozXMLTermTextListener();
  if (listener == nsnull) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  // Save non-owning reference to embedding XMLTerminal object
  listener->SetXMLTerminal(aXMLTerminal);

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

Here is the call graph for this function:

Here is the caller graph for this function: