OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * DO NOT EDIT. THIS FILE IS GENERATED FROM c:/builds/tinderbox/XR-Mozilla1.8.0
-Release/WINNT_5.2_Depend/mozilla/dom/public/idl/html/nsIDOMHTMLTableSectionElem
.idl |
| 3 */ |
| 4 |
| 5 #ifndef __gen_nsIDOMHTMLTableSectionElem_h__ |
| 6 #define __gen_nsIDOMHTMLTableSectionElem_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: nsIDOMHTMLTableSectionElement */ |
| 19 #define NS_IDOMHTMLTABLESECTIONELEMENT_IID_STR "a6cf90b5-15b3-11d2-932e-00805f8a
dd32" |
| 20 |
| 21 #define NS_IDOMHTMLTABLESECTIONELEMENT_IID \ |
| 22 {0xa6cf90b5, 0x15b3, 0x11d2, \ |
| 23 { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }} |
| 24 |
| 25 class NS_NO_VTABLE nsIDOMHTMLTableSectionElement : public nsIDOMHTMLElement { |
| 26 public: |
| 27 |
| 28 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLESECTIONELEMENT_IID) |
| 29 |
| 30 /** |
| 31 * The nsIDOMHTMLTableSectionElement interface is the interface to a |
| 32 * [X]HTML thead, tbody, and tfoot element. |
| 33 * |
| 34 * For more information on this interface please see |
| 35 * http://www.w3.org/TR/DOM-Level-2-HTML/ |
| 36 * |
| 37 * @status FROZEN |
| 38 */ |
| 39 /* attribute DOMString align; */ |
| 40 NS_IMETHOD GetAlign(nsAString & aAlign) = 0; |
| 41 NS_IMETHOD SetAlign(const nsAString & aAlign) = 0; |
| 42 |
| 43 /* attribute DOMString ch; */ |
| 44 NS_IMETHOD GetCh(nsAString & aCh) = 0; |
| 45 NS_IMETHOD SetCh(const nsAString & aCh) = 0; |
| 46 |
| 47 /* attribute DOMString chOff; */ |
| 48 NS_IMETHOD GetChOff(nsAString & aChOff) = 0; |
| 49 NS_IMETHOD SetChOff(const nsAString & aChOff) = 0; |
| 50 |
| 51 /* attribute DOMString vAlign; */ |
| 52 NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0; |
| 53 NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0; |
| 54 |
| 55 /* readonly attribute nsIDOMHTMLCollection rows; */ |
| 56 NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) = 0; |
| 57 |
| 58 /* nsIDOMHTMLElement insertRow (in long index) raises (DOMException); */ |
| 59 NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) = 0; |
| 60 |
| 61 /* void deleteRow (in long index) raises (DOMException); */ |
| 62 NS_IMETHOD DeleteRow(PRInt32 index) = 0; |
| 63 |
| 64 }; |
| 65 |
| 66 /* Use this macro when declaring classes that implement this interface. */ |
| 67 #define NS_DECL_NSIDOMHTMLTABLESECTIONELEMENT \ |
| 68 NS_IMETHOD GetAlign(nsAString & aAlign); \ |
| 69 NS_IMETHOD SetAlign(const nsAString & aAlign); \ |
| 70 NS_IMETHOD GetCh(nsAString & aCh); \ |
| 71 NS_IMETHOD SetCh(const nsAString & aCh); \ |
| 72 NS_IMETHOD GetChOff(nsAString & aChOff); \ |
| 73 NS_IMETHOD SetChOff(const nsAString & aChOff); \ |
| 74 NS_IMETHOD GetVAlign(nsAString & aVAlign); \ |
| 75 NS_IMETHOD SetVAlign(const nsAString & aVAlign); \ |
| 76 NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows); \ |
| 77 NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval); \ |
| 78 NS_IMETHOD DeleteRow(PRInt32 index); |
| 79 |
| 80 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object. */ |
| 81 #define NS_FORWARD_NSIDOMHTMLTABLESECTIONELEMENT(_to) \ |
| 82 NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \ |
| 83 NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); }
\ |
| 84 NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \ |
| 85 NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \ |
| 86 NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \ |
| 87 NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); }
\ |
| 88 NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \ |
| 89 NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign
); } \ |
| 90 NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) { return _to GetRows(aRows);
} \ |
| 91 NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) { return _to
InsertRow(index, _retval); } \ |
| 92 NS_IMETHOD DeleteRow(PRInt32 index) { return _to DeleteRow(index); } |
| 93 |
| 94 /* Use this macro to declare functions that forward the behavior of this interfa
ce to another object in a safe way. */ |
| 95 #define NS_FORWARD_SAFE_NSIDOMHTMLTABLESECTIONELEMENT(_to) \ |
| 96 NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER
: _to->GetAlign(aAlign); } \ |
| 97 NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->SetAlign(aAlign); } \ |
| 98 NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to-
>GetCh(aCh); } \ |
| 99 NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER
: _to->SetCh(aCh); } \ |
| 100 NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER
: _to->GetChOff(aChOff); } \ |
| 101 NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_PO
INTER : _to->SetChOff(aChOff); } \ |
| 102 NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTE
R : _to->GetVAlign(aVAlign); } \ |
| 103 NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_
POINTER : _to->SetVAlign(aVAlign); } \ |
| 104 NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) { return !_to ? NS_ERROR_NUL
L_POINTER : _to->GetRows(aRows); } \ |
| 105 NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) { return !_to
? NS_ERROR_NULL_POINTER : _to->InsertRow(index, _retval); } \ |
| 106 NS_IMETHOD DeleteRow(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _t
o->DeleteRow(index); } |
| 107 |
| 108 #if 0 |
| 109 /* Use the code below as a template for the implementation class for this interf
ace. */ |
| 110 |
| 111 /* Header file */ |
| 112 class nsDOMHTMLTableSectionElement : public nsIDOMHTMLTableSectionElement |
| 113 { |
| 114 public: |
| 115 NS_DECL_ISUPPORTS |
| 116 NS_DECL_NSIDOMHTMLTABLESECTIONELEMENT |
| 117 |
| 118 nsDOMHTMLTableSectionElement(); |
| 119 |
| 120 private: |
| 121 ~nsDOMHTMLTableSectionElement(); |
| 122 |
| 123 protected: |
| 124 /* additional members */ |
| 125 }; |
| 126 |
| 127 /* Implementation file */ |
| 128 NS_IMPL_ISUPPORTS1(nsDOMHTMLTableSectionElement, nsIDOMHTMLTableSectionElement) |
| 129 |
| 130 nsDOMHTMLTableSectionElement::nsDOMHTMLTableSectionElement() |
| 131 { |
| 132 /* member initializers and constructor code */ |
| 133 } |
| 134 |
| 135 nsDOMHTMLTableSectionElement::~nsDOMHTMLTableSectionElement() |
| 136 { |
| 137 /* destructor code */ |
| 138 } |
| 139 |
| 140 /* attribute DOMString align; */ |
| 141 NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetAlign(nsAString & aAlign) |
| 142 { |
| 143 return NS_ERROR_NOT_IMPLEMENTED; |
| 144 } |
| 145 NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetAlign(const nsAString & aAlign) |
| 146 { |
| 147 return NS_ERROR_NOT_IMPLEMENTED; |
| 148 } |
| 149 |
| 150 /* attribute DOMString ch; */ |
| 151 NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetCh(nsAString & aCh) |
| 152 { |
| 153 return NS_ERROR_NOT_IMPLEMENTED; |
| 154 } |
| 155 NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetCh(const nsAString & aCh) |
| 156 { |
| 157 return NS_ERROR_NOT_IMPLEMENTED; |
| 158 } |
| 159 |
| 160 /* attribute DOMString chOff; */ |
| 161 NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetChOff(nsAString & aChOff) |
| 162 { |
| 163 return NS_ERROR_NOT_IMPLEMENTED; |
| 164 } |
| 165 NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetChOff(const nsAString & aChOff) |
| 166 { |
| 167 return NS_ERROR_NOT_IMPLEMENTED; |
| 168 } |
| 169 |
| 170 /* attribute DOMString vAlign; */ |
| 171 NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetVAlign(nsAString & aVAlign) |
| 172 { |
| 173 return NS_ERROR_NOT_IMPLEMENTED; |
| 174 } |
| 175 NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetVAlign(const nsAString & aVAlign) |
| 176 { |
| 177 return NS_ERROR_NOT_IMPLEMENTED; |
| 178 } |
| 179 |
| 180 /* readonly attribute nsIDOMHTMLCollection rows; */ |
| 181 NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetRows(nsIDOMHTMLCollection * *aRow
s) |
| 182 { |
| 183 return NS_ERROR_NOT_IMPLEMENTED; |
| 184 } |
| 185 |
| 186 /* nsIDOMHTMLElement insertRow (in long index) raises (DOMException); */ |
| 187 NS_IMETHODIMP nsDOMHTMLTableSectionElement::InsertRow(PRInt32 index, nsIDOMHTMLE
lement **_retval) |
| 188 { |
| 189 return NS_ERROR_NOT_IMPLEMENTED; |
| 190 } |
| 191 |
| 192 /* void deleteRow (in long index) raises (DOMException); */ |
| 193 NS_IMETHODIMP nsDOMHTMLTableSectionElement::DeleteRow(PRInt32 index) |
| 194 { |
| 195 return NS_ERROR_NOT_IMPLEMENTED; |
| 196 } |
| 197 |
| 198 /* End of implementation class template. */ |
| 199 #endif |
| 200 |
| 201 |
| 202 #endif /* __gen_nsIDOMHTMLTableSectionElem_h__ */ |
OLD | NEW |