PageRenderTime 43ms CodeModel.GetById 15ms RepoModel.GetById 0ms 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. #ifndef __gen_nsIDOMHTMLFieldSetElement_h__
  5. #define __gen_nsIDOMHTMLFieldSetElement_h__
  6. #ifndef __gen_nsIDOMHTMLElement_h__
  7. #include "nsIDOMHTMLElement.h"
  8. #endif
  9. /* For IDL files that don't want to include root IDL files. */
  10. #ifndef NS_NO_VTABLE
  11. #define NS_NO_VTABLE
  12. #endif
  13. /* starting interface: nsIDOMHTMLFieldSetElement */
  14. #define NS_IDOMHTMLFIELDSETELEMENT_IID_STR "a6cf9097-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLFIELDSETELEMENT_IID \
  16. {0xa6cf9097, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. /**
  19. * The nsIDOMHTMLFieldSetElement interface is the interface to a
  20. * [X]HTML fieldset element.
  21. *
  22. * For more information on this interface please see
  23. * http://www.w3.org/TR/DOM-Level-2-HTML/
  24. *
  25. * @status FROZEN
  26. */
  27. class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLFieldSetElement : public nsIDOMHTMLElement {
  28. public:
  29. NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLFIELDSETELEMENT_IID)
  30. /* readonly attribute nsIDOMHTMLFormElement form; */
  31. NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) = 0;
  32. };
  33. NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLFieldSetElement, NS_IDOMHTMLFIELDSETELEMENT_IID)
  34. /* Use this macro when declaring classes that implement this interface. */
  35. #define NS_DECL_NSIDOMHTMLFIELDSETELEMENT \
  36. NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm);
  37. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  38. #define NS_FORWARD_NSIDOMHTMLFIELDSETELEMENT(_to) \
  39. NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return _to GetForm(aForm); }
  40. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  41. #define NS_FORWARD_SAFE_NSIDOMHTMLFIELDSETELEMENT(_to) \
  42. NS_SCRIPTABLE NS_IMETHOD GetForm(nsIDOMHTMLFormElement * *aForm) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForm(aForm); }
  43. #if 0
  44. /* Use the code below as a template for the implementation class for this interface. */
  45. /* Header file */
  46. class nsDOMHTMLFieldSetElement : public nsIDOMHTMLFieldSetElement
  47. {
  48. public:
  49. NS_DECL_ISUPPORTS
  50. NS_DECL_NSIDOMHTMLFIELDSETELEMENT
  51. nsDOMHTMLFieldSetElement();
  52. private:
  53. ~nsDOMHTMLFieldSetElement();
  54. protected:
  55. /* additional members */
  56. };
  57. /* Implementation file */
  58. NS_IMPL_ISUPPORTS1(nsDOMHTMLFieldSetElement, nsIDOMHTMLFieldSetElement)
  59. nsDOMHTMLFieldSetElement::nsDOMHTMLFieldSetElement()
  60. {
  61. /* member initializers and constructor code */
  62. }
  63. nsDOMHTMLFieldSetElement::~nsDOMHTMLFieldSetElement()
  64. {
  65. /* destructor code */
  66. }
  67. /* readonly attribute nsIDOMHTMLFormElement form; */
  68. NS_IMETHODIMP nsDOMHTMLFieldSetElement::GetForm(nsIDOMHTMLFormElement * *aForm)
  69. {
  70. return NS_ERROR_NOT_IMPLEMENTED;
  71. }
  72. /* End of implementation class template. */
  73. #endif
  74. #endif /* __gen_nsIDOMHTMLFieldSetElement_h__ */