PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 6ms RepoModel.GetById 34ms app.codeStats 0ms

/gecko_api/include/nsIDOMHTMLTableColElement.h

http://firefox-mac-pdf.googlecode.com/
C++ Header | 208 lines | 136 code | 36 blank | 36 comment | 0 complexity | 03d6514b0b3bc0b892203c5caa6de1c0 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/nsIDOMHTMLTableColElement.idl
  3 */
  4
  5#ifndef __gen_nsIDOMHTMLTableColElement_h__
  6#define __gen_nsIDOMHTMLTableColElement_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:    nsIDOMHTMLTableColElement */
 19#define NS_IDOMHTMLTABLECOLELEMENT_IID_STR "a6cf90b4-15b3-11d2-932e-00805f8add32"
 20
 21#define NS_IDOMHTMLTABLECOLELEMENT_IID \
 22  {0xa6cf90b4, 0x15b3, 0x11d2, \
 23    { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
 24
 25/**
 26 * The nsIDOMHTMLTableColElement interface is the interface to a
 27 * [X]HTML col element.
 28 *
 29 * For more information on this interface please see
 30 * http://www.w3.org/TR/DOM-Level-2-HTML/
 31 *
 32 * @status FROZEN
 33 */
 34class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLTableColElement : public nsIDOMHTMLElement {
 35 public: 
 36
 37  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECOLELEMENT_IID)
 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 long span; */
 52  NS_SCRIPTABLE NS_IMETHOD GetSpan(PRInt32 *aSpan) = 0;
 53  NS_SCRIPTABLE NS_IMETHOD SetSpan(PRInt32 aSpan) = 0;
 54
 55  /* attribute DOMString vAlign; */
 56  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
 57  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
 58
 59  /* attribute DOMString width; */
 60  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
 61  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
 62
 63};
 64
 65  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLTableColElement, NS_IDOMHTMLTABLECOLELEMENT_IID)
 66
 67/* Use this macro when declaring classes that implement this interface. */
 68#define NS_DECL_NSIDOMHTMLTABLECOLELEMENT \
 69  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
 70  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); \
 71  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh); \
 72  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh); \
 73  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff); \
 74  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff); \
 75  NS_SCRIPTABLE NS_IMETHOD GetSpan(PRInt32 *aSpan); \
 76  NS_SCRIPTABLE NS_IMETHOD SetSpan(PRInt32 aSpan); \
 77  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign); \
 78  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
 79  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth); \
 80  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth); 
 81
 82/* Use this macro to declare functions that forward the behavior of this interface to another object. */
 83#define NS_FORWARD_NSIDOMHTMLTABLECOLELEMENT(_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 GetSpan(PRInt32 *aSpan) { return _to GetSpan(aSpan); } \
 91  NS_SCRIPTABLE NS_IMETHOD SetSpan(PRInt32 aSpan) { return _to SetSpan(aSpan); } \
 92  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
 93  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign); } \
 94  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
 95  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); } 
 96
 97/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
 98#define NS_FORWARD_SAFE_NSIDOMHTMLTABLECOLELEMENT(_to) \
 99  NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
100  NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
101  NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCh(aCh); } \
102  NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
103  NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
104  NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChOff(aChOff); } \
105  NS_SCRIPTABLE NS_IMETHOD GetSpan(PRInt32 *aSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpan(aSpan); } \
106  NS_SCRIPTABLE NS_IMETHOD SetSpan(PRInt32 aSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSpan(aSpan); } \
107  NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVAlign(aVAlign); } \
108  NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVAlign(aVAlign); } \
109  NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
110  NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); } 
111
112#if 0
113/* Use the code below as a template for the implementation class for this interface. */
114
115/* Header file */
116class nsDOMHTMLTableColElement : public nsIDOMHTMLTableColElement
117{
118public:
119  NS_DECL_ISUPPORTS
120  NS_DECL_NSIDOMHTMLTABLECOLELEMENT
121
122  nsDOMHTMLTableColElement();
123
124private:
125  ~nsDOMHTMLTableColElement();
126
127protected:
128  /* additional members */
129};
130
131/* Implementation file */
132NS_IMPL_ISUPPORTS1(nsDOMHTMLTableColElement, nsIDOMHTMLTableColElement)
133
134nsDOMHTMLTableColElement::nsDOMHTMLTableColElement()
135{
136  /* member initializers and constructor code */
137}
138
139nsDOMHTMLTableColElement::~nsDOMHTMLTableColElement()
140{
141  /* destructor code */
142}
143
144/* attribute DOMString align; */
145NS_IMETHODIMP nsDOMHTMLTableColElement::GetAlign(nsAString & aAlign)
146{
147    return NS_ERROR_NOT_IMPLEMENTED;
148}
149NS_IMETHODIMP nsDOMHTMLTableColElement::SetAlign(const nsAString & aAlign)
150{
151    return NS_ERROR_NOT_IMPLEMENTED;
152}
153
154/* attribute DOMString ch; */
155NS_IMETHODIMP nsDOMHTMLTableColElement::GetCh(nsAString & aCh)
156{
157    return NS_ERROR_NOT_IMPLEMENTED;
158}
159NS_IMETHODIMP nsDOMHTMLTableColElement::SetCh(const nsAString & aCh)
160{
161    return NS_ERROR_NOT_IMPLEMENTED;
162}
163
164/* attribute DOMString chOff; */
165NS_IMETHODIMP nsDOMHTMLTableColElement::GetChOff(nsAString & aChOff)
166{
167    return NS_ERROR_NOT_IMPLEMENTED;
168}
169NS_IMETHODIMP nsDOMHTMLTableColElement::SetChOff(const nsAString & aChOff)
170{
171    return NS_ERROR_NOT_IMPLEMENTED;
172}
173
174/* attribute long span; */
175NS_IMETHODIMP nsDOMHTMLTableColElement::GetSpan(PRInt32 *aSpan)
176{
177    return NS_ERROR_NOT_IMPLEMENTED;
178}
179NS_IMETHODIMP nsDOMHTMLTableColElement::SetSpan(PRInt32 aSpan)
180{
181    return NS_ERROR_NOT_IMPLEMENTED;
182}
183
184/* attribute DOMString vAlign; */
185NS_IMETHODIMP nsDOMHTMLTableColElement::GetVAlign(nsAString & aVAlign)
186{
187    return NS_ERROR_NOT_IMPLEMENTED;
188}
189NS_IMETHODIMP nsDOMHTMLTableColElement::SetVAlign(const nsAString & aVAlign)
190{
191    return NS_ERROR_NOT_IMPLEMENTED;
192}
193
194/* attribute DOMString width; */
195NS_IMETHODIMP nsDOMHTMLTableColElement::GetWidth(nsAString & aWidth)
196{
197    return NS_ERROR_NOT_IMPLEMENTED;
198}
199NS_IMETHODIMP nsDOMHTMLTableColElement::SetWidth(const nsAString & aWidth)
200{
201    return NS_ERROR_NOT_IMPLEMENTED;
202}
203
204/* End of implementation class template. */
205#endif
206
207
208#endif /* __gen_nsIDOMHTMLTableColElement_h__ */