nsIDOMHTMLTableSectionElem.h 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. /*
  2. * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/mozilla/dom/public/idl/html/nsIDOMHTMLTableSectionElem.idl
  3. */
  4. #ifndef __gen_nsIDOMHTMLTableSectionElem_h__
  5. #define __gen_nsIDOMHTMLTableSectionElem_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: nsIDOMHTMLTableSectionElement */
  14. #define NS_IDOMHTMLTABLESECTIONELEMENT_IID_STR "a6cf90b5-15b3-11d2-932e-00805f8add32"
  15. #define NS_IDOMHTMLTABLESECTIONELEMENT_IID \
  16. {0xa6cf90b5, 0x15b3, 0x11d2, \
  17. { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
  18. class NS_NO_VTABLE nsIDOMHTMLTableSectionElement : public nsIDOMHTMLElement {
  19. public:
  20. NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLESECTIONELEMENT_IID)
  21. /**
  22. * The nsIDOMHTMLTableSectionElement interface is the interface to a
  23. * [X]HTML thead, tbody, and tfoot 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_IMETHOD GetAlign(nsAString & aAlign) = 0;
  32. NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
  33. /* attribute DOMString ch; */
  34. NS_IMETHOD GetCh(nsAString & aCh) = 0;
  35. NS_IMETHOD SetCh(const nsAString & aCh) = 0;
  36. /* attribute DOMString chOff; */
  37. NS_IMETHOD GetChOff(nsAString & aChOff) = 0;
  38. NS_IMETHOD SetChOff(const nsAString & aChOff) = 0;
  39. /* attribute DOMString vAlign; */
  40. NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
  41. NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
  42. /* readonly attribute nsIDOMHTMLCollection rows; */
  43. NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) = 0;
  44. /* nsIDOMHTMLElement insertRow (in long index) raises (DOMException); */
  45. NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) = 0;
  46. /* void deleteRow (in long index) raises (DOMException); */
  47. NS_IMETHOD DeleteRow(PRInt32 index) = 0;
  48. };
  49. /* Use this macro when declaring classes that implement this interface. */
  50. #define NS_DECL_NSIDOMHTMLTABLESECTIONELEMENT \
  51. NS_IMETHOD GetAlign(nsAString & aAlign); \
  52. NS_IMETHOD SetAlign(const nsAString & aAlign); \
  53. NS_IMETHOD GetCh(nsAString & aCh); \
  54. NS_IMETHOD SetCh(const nsAString & aCh); \
  55. NS_IMETHOD GetChOff(nsAString & aChOff); \
  56. NS_IMETHOD SetChOff(const nsAString & aChOff); \
  57. NS_IMETHOD GetVAlign(nsAString & aVAlign); \
  58. NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
  59. NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows); \
  60. NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval); \
  61. NS_IMETHOD DeleteRow(PRInt32 index);
  62. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  63. #define NS_FORWARD_NSIDOMHTMLTABLESECTIONELEMENT(_to) \
  64. NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
  65. NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
  66. NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \
  67. NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \
  68. NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \
  69. NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); } \
  70. NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
  71. NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign); } \
  72. NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) { return _to GetRows(aRows); } \
  73. NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) { return _to InsertRow(index, _retval); } \
  74. NS_IMETHOD DeleteRow(PRInt32 index) { return _to DeleteRow(index); }
  75. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  76. #define NS_FORWARD_SAFE_NSIDOMHTMLTABLESECTIONELEMENT(_to) \
  77. NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
  78. NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
  79. NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCh(aCh); } \
  80. NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
  81. NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
  82. NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChOff(aChOff); } \
  83. NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVAlign(aVAlign); } \
  84. NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVAlign(aVAlign); } \
  85. NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRows(aRows); } \
  86. NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertRow(index, _retval); } \
  87. NS_IMETHOD DeleteRow(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteRow(index); }
  88. #if 0
  89. /* Use the code below as a template for the implementation class for this interface. */
  90. /* Header file */
  91. class nsDOMHTMLTableSectionElement : public nsIDOMHTMLTableSectionElement
  92. {
  93. public:
  94. NS_DECL_ISUPPORTS
  95. NS_DECL_NSIDOMHTMLTABLESECTIONELEMENT
  96. nsDOMHTMLTableSectionElement();
  97. private:
  98. ~nsDOMHTMLTableSectionElement();
  99. protected:
  100. /* additional members */
  101. };
  102. /* Implementation file */
  103. NS_IMPL_ISUPPORTS1(nsDOMHTMLTableSectionElement, nsIDOMHTMLTableSectionElement)
  104. nsDOMHTMLTableSectionElement::nsDOMHTMLTableSectionElement()
  105. {
  106. /* member initializers and constructor code */
  107. }
  108. nsDOMHTMLTableSectionElement::~nsDOMHTMLTableSectionElement()
  109. {
  110. /* destructor code */
  111. }
  112. /* attribute DOMString align; */
  113. NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetAlign(nsAString & aAlign)
  114. {
  115. return NS_ERROR_NOT_IMPLEMENTED;
  116. }
  117. NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetAlign(const nsAString & aAlign)
  118. {
  119. return NS_ERROR_NOT_IMPLEMENTED;
  120. }
  121. /* attribute DOMString ch; */
  122. NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetCh(nsAString & aCh)
  123. {
  124. return NS_ERROR_NOT_IMPLEMENTED;
  125. }
  126. NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetCh(const nsAString & aCh)
  127. {
  128. return NS_ERROR_NOT_IMPLEMENTED;
  129. }
  130. /* attribute DOMString chOff; */
  131. NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetChOff(nsAString & aChOff)
  132. {
  133. return NS_ERROR_NOT_IMPLEMENTED;
  134. }
  135. NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetChOff(const nsAString & aChOff)
  136. {
  137. return NS_ERROR_NOT_IMPLEMENTED;
  138. }
  139. /* attribute DOMString vAlign; */
  140. NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetVAlign(nsAString & aVAlign)
  141. {
  142. return NS_ERROR_NOT_IMPLEMENTED;
  143. }
  144. NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetVAlign(const nsAString & aVAlign)
  145. {
  146. return NS_ERROR_NOT_IMPLEMENTED;
  147. }
  148. /* readonly attribute nsIDOMHTMLCollection rows; */
  149. NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetRows(nsIDOMHTMLCollection * *aRows)
  150. {
  151. return NS_ERROR_NOT_IMPLEMENTED;
  152. }
  153. /* nsIDOMHTMLElement insertRow (in long index) raises (DOMException); */
  154. NS_IMETHODIMP nsDOMHTMLTableSectionElement::InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval)
  155. {
  156. return NS_ERROR_NOT_IMPLEMENTED;
  157. }
  158. /* void deleteRow (in long index) raises (DOMException); */
  159. NS_IMETHODIMP nsDOMHTMLTableSectionElement::DeleteRow(PRInt32 index)
  160. {
  161. return NS_ERROR_NOT_IMPLEMENTED;
  162. }
  163. /* End of implementation class template. */
  164. #endif
  165. #endif /* __gen_nsIDOMHTMLTableSectionElem_h__ */