PageRenderTime 95ms CodeModel.GetById 33ms app.highlight 40ms RepoModel.GetById 12ms app.codeStats 1ms

/gecko_api/include/nsIDOMHTMLTableSectionElem.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 204 lines | 128 code | 38 blank | 38 comment | 0 complexity | 48946000dc303c26f7de7d2f7a09277a 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/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-00805f8add32"
 20
 21#define NS_IDOMHTMLTABLESECTIONELEMENT_IID \
 22  {0xa6cf90b5, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLTableSectionElement : public nsIDOMHTMLElement {
 26 public: 
 27
 28  NS_DECLARE_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_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) = 0;
 41  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) = 0;
 42
 43  /* attribute DOMString ch; */
 44  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) = 0;
 45  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) = 0;
 46
 47  /* attribute DOMString chOff; */
 48  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) = 0;
 49  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) = 0;
 50
 51  /* attribute DOMString vAlign; */
 52  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
 54
 55  /* readonly attribute nsIDOMHTMLCollection rows; */
 56  NS_SCRIPTABLE NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) = 0;
 57
 58  /* nsIDOMHTMLElement insertRow (in long index)  raises (DOMException); */
 59  NS_SCRIPTABLE NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) = 0;
 60
 61  /* void deleteRow (in long index)  raises (DOMException); */
 62  NS_SCRIPTABLE NS_IMETHOD DeleteRow(PRInt32 index) = 0;
 63
 64};
 65
 66  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLTableSectionElement, NS_IDOMHTMLTABLESECTIONELEMENT_IID)
 67
 68/* Use this macro when declaring classes that implement this interface. */
 69#define NS_DECL_NSIDOMHTMLTABLESECTIONELEMENT \
 70  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
 71  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); \
 72  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh); \
 73  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh); \
 74  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff); \
 75  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff); \
 76  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign); \
 77  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
 78  NS_SCRIPTABLE NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows); \
 79  NS_SCRIPTABLE NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval); \
 80  NS_SCRIPTABLE NS_IMETHOD DeleteRow(PRInt32 index); 
 81
 82/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 83#define NS_FORWARD_NSIDOMHTMLTABLESECTIONELEMENT(_to) \
 84  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
 85  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
 86  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \
 87  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \
 88  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \
 89  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); } \
 90  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
 91  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign); } \
 92  NS_SCRIPTABLE NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) { return _to GetRows(aRows); } \
 93  NS_SCRIPTABLE NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) { return _to InsertRow(index, _retval); } \
 94  NS_SCRIPTABLE NS_IMETHOD DeleteRow(PRInt32 index) { return _to DeleteRow(index); } 
 95
 96/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 97#define NS_FORWARD_SAFE_NSIDOMHTMLTABLESECTIONELEMENT(_to) \
 98  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
 99  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
100  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCh(aCh); } \
101  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
102  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
103  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChOff(aChOff); } \
104  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVAlign(aVAlign); } \
105  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVAlign(aVAlign); } \
106  NS_SCRIPTABLE NS_IMETHOD GetRows(nsIDOMHTMLCollection * *aRows) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRows(aRows); } \
107  NS_SCRIPTABLE NS_IMETHOD InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertRow(index, _retval); } \
108  NS_SCRIPTABLE NS_IMETHOD DeleteRow(PRInt32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteRow(index); } 
109
110#if 0
111/* Use the code below as a template for the implementation class for this interface. */
112
113/* Header file */
114class nsDOMHTMLTableSectionElement : public nsIDOMHTMLTableSectionElement
115{
116public:
117  NS_DECL_ISUPPORTS
118  NS_DECL_NSIDOMHTMLTABLESECTIONELEMENT
119
120  nsDOMHTMLTableSectionElement();
121
122private:
123  ~nsDOMHTMLTableSectionElement();
124
125protected:
126  /* additional members */
127};
128
129/* Implementation file */
130NS_IMPL_ISUPPORTS1(nsDOMHTMLTableSectionElement, nsIDOMHTMLTableSectionElement)
131
132nsDOMHTMLTableSectionElement::nsDOMHTMLTableSectionElement()
133{
134  /* member initializers and constructor code */
135}
136
137nsDOMHTMLTableSectionElement::~nsDOMHTMLTableSectionElement()
138{
139  /* destructor code */
140}
141
142/* attribute DOMString align; */
143NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetAlign(nsAString & aAlign)
144{
145    return NS_ERROR_NOT_IMPLEMENTED;
146}
147NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetAlign(const nsAString & aAlign)
148{
149    return NS_ERROR_NOT_IMPLEMENTED;
150}
151
152/* attribute DOMString ch; */
153NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetCh(nsAString & aCh)
154{
155    return NS_ERROR_NOT_IMPLEMENTED;
156}
157NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetCh(const nsAString & aCh)
158{
159    return NS_ERROR_NOT_IMPLEMENTED;
160}
161
162/* attribute DOMString chOff; */
163NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetChOff(nsAString & aChOff)
164{
165    return NS_ERROR_NOT_IMPLEMENTED;
166}
167NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetChOff(const nsAString & aChOff)
168{
169    return NS_ERROR_NOT_IMPLEMENTED;
170}
171
172/* attribute DOMString vAlign; */
173NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetVAlign(nsAString & aVAlign)
174{
175    return NS_ERROR_NOT_IMPLEMENTED;
176}
177NS_IMETHODIMP nsDOMHTMLTableSectionElement::SetVAlign(const nsAString & aVAlign)
178{
179    return NS_ERROR_NOT_IMPLEMENTED;
180}
181
182/* readonly attribute nsIDOMHTMLCollection rows; */
183NS_IMETHODIMP nsDOMHTMLTableSectionElement::GetRows(nsIDOMHTMLCollection * *aRows)
184{
185    return NS_ERROR_NOT_IMPLEMENTED;
186}
187
188/* nsIDOMHTMLElement insertRow (in long index)  raises (DOMException); */
189NS_IMETHODIMP nsDOMHTMLTableSectionElement::InsertRow(PRInt32 index, nsIDOMHTMLElement **_retval)
190{
191    return NS_ERROR_NOT_IMPLEMENTED;
192}
193
194/* void deleteRow (in long index)  raises (DOMException); */
195NS_IMETHODIMP nsDOMHTMLTableSectionElement::DeleteRow(PRInt32 index)
196{
197    return NS_ERROR_NOT_IMPLEMENTED;
198}
199
200/* End of implementation class template. */
201#endif
202
203
204#endif /* __gen_nsIDOMHTMLTableSectionElem_h__ */