Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsDOMXULCommandEvent.cpp File Reference
#include "nsDOMXULCommandEvent.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Functions

nsresult NS_NewDOMXULCommandEvent (nsIDOMEvent **aInstancePtrResult, nsPresContext *aPresContext, nsXULCommandEvent *aEvent)

Function Documentation

nsresult NS_NewDOMXULCommandEvent ( nsIDOMEvent **  aInstancePtrResult,
nsPresContext aPresContext,
nsXULCommandEvent aEvent 
)

Definition at line 138 of file nsDOMXULCommandEvent.cpp.

{
  nsDOMXULCommandEvent* it = new nsDOMXULCommandEvent(aPresContext, aEvent);
  if (nsnull == it) {
    return NS_ERROR_OUT_OF_MEMORY;
  }

  return CallQueryInterface(it, aInstancePtrResult);
}

Here is the call graph for this function:

Here is the caller graph for this function: