Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsXFormsSwitchElement.cpp File Reference
#include "nsCOMPtr.h"
#include "nsIDOMElement.h"
#include "nsIDOMDocument.h"
#include "nsString.h"
#include "nsIDocument.h"
#include "nsIDOMNodeList.h"
#include "nsPIDOMWindow.h"
#include "nsIFocusController.h"
#include "nsXFormsUtils.h"
#include "nsXFormsControlStub.h"
#include "nsIModelElementPrivate.h"
#include "nsIXFormsSwitchElement.h"
#include "nsIXFormsCaseElement.h"
#include "nsXFormsDelegateStub.h"

Go to the source code of this file.

Classes

class  nsXFormsSwitchElement
 Implementation of the XForms <switch> element. More...

Functions

 NS_IMPL_ISUPPORTS_INHERITED1 (nsXFormsSwitchElement, nsXFormsDelegateStub, nsIXFormsSwitchElement) NS_IMETHODIMP nsXFormsSwitchElement
 NS_NewXFormsSwitchElement (nsIXTFElement **aResult)

Function Documentation

Definition at line 410 of file nsXFormsSwitchElement.cpp.

{
  *aResult = new nsXFormsSwitchElement();
  if (!*aResult)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: