PageRenderTime 1080ms CodeModel.GetById 1062ms RepoModel.GetById 1ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLTableCaptionElem.h

http://firefox-mac-pdf.googlecode.com/
C Header | 108 lines | 56 code | 26 blank | 26 comment | 0 complexity | f835b7e65fad0c60e1cc9e4de155d962 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/nsIDOMHTMLTableCaptionElem.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLTableCaptionElem_h__
  5. #define __gen_nsIDOMHTMLTableCaptionElem_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: nsIDOMHTMLTableCaptionElement */
  14. #define NS_IDOMHTMLTABLECAPTIONELEMENT_IID_STR "a6cf90b3-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLTABLECAPTIONELEMENT_IID \
  16. {0xa6cf90b3, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLTableCaptionElement : public nsIDOMHTMLElement {
  19. public:
  20. NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECAPTIONELEMENT_IID)
  21. /**
  22. * The nsIDOMHTMLTableCaptionElement interface is the interface to a
  23. * [X]HTML caption element.
  24. *
  25. * For more information on this interface please see
  26. * http://www.w3.org/TR/DOM-Level-2-HTML/
  27. *
  28. * @status FROZEN
  29. */
  30. /* attribute DOMString align; */
  31. NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
  32. NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  33. };
  34. NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLTableCaptionElement, NS_IDOMHTMLTABLECAPTIONELEMENT_IID)
  35. /* Use this macro when declaring classes that implement this interface. */
  36. #define NS_DECL_NSIDOMHTMLTABLECAPTIONELEMENT \
  37. NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
  38. NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign);
  39. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  40. #define NS_FORWARD_NSIDOMHTMLTABLECAPTIONELEMENT(_to) \
  41. NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  42. NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); }
  43. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  44. #define NS_FORWARD_SAFE_NSIDOMHTMLTABLECAPTIONELEMENT(_to) \
  45. NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  46. NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); }
  47. #if 0
  48. /* Use the code below as a template for the implementation class for this interface. */
  49. /* Header file */
  50. class nsDOMHTMLTableCaptionElement : public nsIDOMHTMLTableCaptionElement
  51. {
  52. public:
  53. NS_DECL_ISUPPORTS
  54. NS_DECL_NSIDOMHTMLTABLECAPTIONELEMENT
  55. nsDOMHTMLTableCaptionElement();
  56. private:
  57. ~nsDOMHTMLTableCaptionElement();
  58. protected:
  59. /* additional members */
  60. };
  61. /* Implementation file */
  62. NS_IMPL_ISUPPORTS1(nsDOMHTMLTableCaptionElement, nsIDOMHTMLTableCaptionElement)
  63. nsDOMHTMLTableCaptionElement::nsDOMHTMLTableCaptionElement()
  64. {
  65. /* member initializers and constructor code */
  66. }
  67. nsDOMHTMLTableCaptionElement::~nsDOMHTMLTableCaptionElement()
  68. {
  69. /* destructor code */
  70. }
  71. /* attribute DOMString align; */
  72. NS_IMETHODIMP nsDOMHTMLTableCaptionElement::GetAlign(nsAString & aAlign)
  73. {
  74. return NS_ERROR_NOT_IMPLEMENTED;
  75. }
  76. NS_IMETHODIMP nsDOMHTMLTableCaptionElement::SetAlign(const nsAString & aAlign)
  77. {
  78. return NS_ERROR_NOT_IMPLEMENTED;
  79. }
  80. /* End of implementation class template. */
  81. #endif
  82. #endif /* __gen_nsIDOMHTMLTableCaptionElem_h__ */