1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/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 "9a4d1f6a-fb19-4886-b0d8-dcd201566580"
20 :
21 : #define NS_IDOMHTMLTABLECOLELEMENT_IID \
22 : {0x9a4d1f6a, 0xfb19, 0x4886, \
23 : { 0xb0, 0xd8, 0xdc, 0xd2, 0x01, 0x56, 0x65, 0x80 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLTableColElement : public nsIDOMHTMLElement {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECOLELEMENT_IID)
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 : /* attribute DOMString ch; */
35 : NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) = 0;
37 :
38 : /* attribute DOMString chOff; */
39 : NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) = 0;
40 : NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) = 0;
41 :
42 : /* attribute long span; */
43 : NS_SCRIPTABLE NS_IMETHOD GetSpan(PRInt32 *aSpan) = 0;
44 : NS_SCRIPTABLE NS_IMETHOD SetSpan(PRInt32 aSpan) = 0;
45 :
46 : /* attribute DOMString vAlign; */
47 : NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
48 : NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
49 :
50 : /* attribute DOMString width; */
51 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
52 : NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
53 :
54 : };
55 :
56 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLTableColElement, NS_IDOMHTMLTABLECOLELEMENT_IID)
57 :
58 : /* Use this macro when declaring classes that implement this interface. */
59 : #define NS_DECL_NSIDOMHTMLTABLECOLELEMENT \
60 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign); \
61 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign); \
62 : NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh); \
63 : NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh); \
64 : NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff); \
65 : NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff); \
66 : NS_SCRIPTABLE NS_IMETHOD GetSpan(PRInt32 *aSpan); \
67 : NS_SCRIPTABLE NS_IMETHOD SetSpan(PRInt32 aSpan); \
68 : NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign); \
69 : NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
70 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth); \
71 : NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth);
72 :
73 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
74 : #define NS_FORWARD_NSIDOMHTMLTABLECOLELEMENT(_to) \
75 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return _to GetAlign(aAlign); } \
76 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return _to SetAlign(aAlign); } \
77 : NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) { return _to GetCh(aCh); } \
78 : NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) { return _to SetCh(aCh); } \
79 : NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) { return _to GetChOff(aChOff); } \
80 : NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) { return _to SetChOff(aChOff); } \
81 : NS_SCRIPTABLE NS_IMETHOD GetSpan(PRInt32 *aSpan) { return _to GetSpan(aSpan); } \
82 : NS_SCRIPTABLE NS_IMETHOD SetSpan(PRInt32 aSpan) { return _to SetSpan(aSpan); } \
83 : NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
84 : NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign); } \
85 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
86 : NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
87 :
88 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
89 : #define NS_FORWARD_SAFE_NSIDOMHTMLTABLECOLELEMENT(_to) \
90 : NS_SCRIPTABLE NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
91 : NS_SCRIPTABLE NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlign(aAlign); } \
92 : NS_SCRIPTABLE NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCh(aCh); } \
93 : NS_SCRIPTABLE NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
94 : NS_SCRIPTABLE NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
95 : NS_SCRIPTABLE NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChOff(aChOff); } \
96 : NS_SCRIPTABLE NS_IMETHOD GetSpan(PRInt32 *aSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpan(aSpan); } \
97 : NS_SCRIPTABLE NS_IMETHOD SetSpan(PRInt32 aSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSpan(aSpan); } \
98 : NS_SCRIPTABLE NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVAlign(aVAlign); } \
99 : NS_SCRIPTABLE NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVAlign(aVAlign); } \
100 : NS_SCRIPTABLE NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
101 : NS_SCRIPTABLE NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWidth(aWidth); }
102 :
103 : #if 0
104 : /* Use the code below as a template for the implementation class for this interface. */
105 :
106 : /* Header file */
107 : class nsDOMHTMLTableColElement : public nsIDOMHTMLTableColElement
108 : {
109 : public:
110 : NS_DECL_ISUPPORTS
111 : NS_DECL_NSIDOMHTMLTABLECOLELEMENT
112 :
113 : nsDOMHTMLTableColElement();
114 :
115 : private:
116 : ~nsDOMHTMLTableColElement();
117 :
118 : protected:
119 : /* additional members */
120 : };
121 :
122 : /* Implementation file */
123 : NS_IMPL_ISUPPORTS1(nsDOMHTMLTableColElement, nsIDOMHTMLTableColElement)
124 :
125 : nsDOMHTMLTableColElement::nsDOMHTMLTableColElement()
126 : {
127 : /* member initializers and constructor code */
128 : }
129 :
130 : nsDOMHTMLTableColElement::~nsDOMHTMLTableColElement()
131 : {
132 : /* destructor code */
133 : }
134 :
135 : /* attribute DOMString align; */
136 : NS_IMETHODIMP nsDOMHTMLTableColElement::GetAlign(nsAString & aAlign)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 : NS_IMETHODIMP nsDOMHTMLTableColElement::SetAlign(const nsAString & aAlign)
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 :
145 : /* attribute DOMString ch; */
146 : NS_IMETHODIMP nsDOMHTMLTableColElement::GetCh(nsAString & aCh)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 : NS_IMETHODIMP nsDOMHTMLTableColElement::SetCh(const nsAString & aCh)
151 : {
152 : return NS_ERROR_NOT_IMPLEMENTED;
153 : }
154 :
155 : /* attribute DOMString chOff; */
156 : NS_IMETHODIMP nsDOMHTMLTableColElement::GetChOff(nsAString & aChOff)
157 : {
158 : return NS_ERROR_NOT_IMPLEMENTED;
159 : }
160 : NS_IMETHODIMP nsDOMHTMLTableColElement::SetChOff(const nsAString & aChOff)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* attribute long span; */
166 : NS_IMETHODIMP nsDOMHTMLTableColElement::GetSpan(PRInt32 *aSpan)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 : NS_IMETHODIMP nsDOMHTMLTableColElement::SetSpan(PRInt32 aSpan)
171 : {
172 : return NS_ERROR_NOT_IMPLEMENTED;
173 : }
174 :
175 : /* attribute DOMString vAlign; */
176 : NS_IMETHODIMP nsDOMHTMLTableColElement::GetVAlign(nsAString & aVAlign)
177 : {
178 : return NS_ERROR_NOT_IMPLEMENTED;
179 : }
180 : NS_IMETHODIMP nsDOMHTMLTableColElement::SetVAlign(const nsAString & aVAlign)
181 : {
182 : return NS_ERROR_NOT_IMPLEMENTED;
183 : }
184 :
185 : /* attribute DOMString width; */
186 : NS_IMETHODIMP nsDOMHTMLTableColElement::GetWidth(nsAString & aWidth)
187 : {
188 : return NS_ERROR_NOT_IMPLEMENTED;
189 : }
190 : NS_IMETHODIMP nsDOMHTMLTableColElement::SetWidth(const nsAString & aWidth)
191 : {
192 : return NS_ERROR_NOT_IMPLEMENTED;
193 : }
194 :
195 : /* End of implementation class template. */
196 : #endif
197 :
198 :
199 : #endif /* __gen_nsIDOMHTMLTableColElement_h__ */
|