PageRenderTime 304ms CodeModel.GetById 160ms app.highlight 3ms RepoModel.GetById 138ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLFieldSetElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 100 lines | 48 code | 26 blank | 26 comment | 0 complexity | 6b105c4165e72c22e3d736bfd617b4c7 MD5 | raw file
  1/*
  2 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/tinderbox/XR-Trunk/Darwin_8.8.4_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLFieldSetElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLFieldSetElement_h__
  6#define __gen_nsIDOMHTMLFieldSetElement_h__
  7
  8
  9#ifndef __gen_nsIDOMHTMLElement_h__
 10#include "nsIDOMHTMLElement.h"
 11#endif
 12
 13/* For IDL files that don't want to include root IDL files. */
 14#ifndef NS_NO_VTABLE
 15#define NS_NO_VTABLE
 16#endif
 17
 18/* starting interface:    nsIDOMHTMLFieldSetElement */
 19#define NS_IDOMHTMLFIELDSETELEMENT_IID_STR "a6cf9097-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLFIELDSETELEMENT_IID \
 22  {0xa6cf9097, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLFieldSetElement interface is the interface to a
 27 * [X]HTML fieldset element.
 28 *
 29 * For more information on this interface please see
 30 * http://www.w3.org/TR/DOM-Level-2-HTML/
 31 *
 32 * @status FROZEN
 33 */
 34class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLFieldSetElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFIELDSETELEMENT_IID)
 38
 39  /* readonly attribute nsIDOMHTMLFormElement form; */
 40  NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
 41
 42};
 43
 44  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLFieldSetElement, NS_IDOMHTMLFIELDSETELEMENT_IID)
 45
 46/* Use this macro when declaring classes that implement this interface. */
 47#define NS_DECL_NSIDOMHTMLFIELDSETELEMENT \
 48  NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm); 
 49
 50/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 51#define NS_FORWARD_NSIDOMHTMLFIELDSETELEMENT(_to) \
 52  NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); } 
 53
 54/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 55#define NS_FORWARD_SAFE_NSIDOMHTMLFIELDSETELEMENT(_to) \
 56  NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); } 
 57
 58#if 0
 59/* Use the code below as a template for the implementation class for this interface. */
 60
 61/* Header file */
 62class nsDOMHTMLFieldSetElement : public nsIDOMHTMLFieldSetElement
 63{
 64public:
 65  NS_DECL_ISUPPORTS
 66  NS_DECL_NSIDOMHTMLFIELDSETELEMENT
 67
 68  nsDOMHTMLFieldSetElement();
 69
 70private:
 71  ~nsDOMHTMLFieldSetElement();
 72
 73protected:
 74  /* additional members */
 75};
 76
 77/* Implementation file */
 78NS_IMPL_ISUPPORTS1(nsDOMHTMLFieldSetElement, nsIDOMHTMLFieldSetElement)
 79
 80nsDOMHTMLFieldSetElement::nsDOMHTMLFieldSetElement()
 81{
 82  /* member initializers and constructor code */
 83}
 84
 85nsDOMHTMLFieldSetElement::~nsDOMHTMLFieldSetElement()
 86{
 87  /* destructor code */
 88}
 89
 90/* readonly attribute nsIDOMHTMLFormElement form; */
 91NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetForm(nsIDOMHTMLFormElement * *aForm)
 92{
 93    return NS_ERROR_NOT_IMPLEMENTED;
 94}
 95
 96/* End of implementation class template. */
 97#endif
 98
 99
100#endif /* __gen_nsIDOMHTMLFieldSetElement_h__ */