Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: gecko-sdk/include/nsIDOMHTMLTableColElement.h

Issue 20346: Version 1.8 of gecko-sdk. Downloaded from here:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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/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 */
34 class NS_NO_VTABLE nsIDOMHTMLTableColElement : public nsIDOMHTMLElement {
35 public:
36
37 NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMHTMLTABLECOLELEMENT_IID)
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 long span; */
52 NS_IMETHOD GetSpan(PRInt32 *aSpan) = 0;
53 NS_IMETHOD SetSpan(PRInt32 aSpan) = 0;
54
55 /* attribute DOMString vAlign; */
56 NS_IMETHOD GetVAlign(nsAString & aVAlign) = 0;
57 NS_IMETHOD SetVAlign(const nsAString & aVAlign) = 0;
58
59 /* attribute DOMString width; */
60 NS_IMETHOD GetWidth(nsAString & aWidth) = 0;
61 NS_IMETHOD SetWidth(const nsAString & aWidth) = 0;
62
63 };
64
65 /* Use this macro when declaring classes that implement this interface. */
66 #define NS_DECL_NSIDOMHTMLTABLECOLELEMENT \
67 NS_IMETHOD GetAlign(nsAString & aAlign); \
68 NS_IMETHOD SetAlign(const nsAString & aAlign); \
69 NS_IMETHOD GetCh(nsAString & aCh); \
70 NS_IMETHOD SetCh(const nsAString & aCh); \
71 NS_IMETHOD GetChOff(nsAString & aChOff); \
72 NS_IMETHOD SetChOff(const nsAString & aChOff); \
73 NS_IMETHOD GetSpan(PRInt32 *aSpan); \
74 NS_IMETHOD SetSpan(PRInt32 aSpan); \
75 NS_IMETHOD GetVAlign(nsAString & aVAlign); \
76 NS_IMETHOD SetVAlign(const nsAString & aVAlign); \
77 NS_IMETHOD GetWidth(nsAString & aWidth); \
78 NS_IMETHOD SetWidth(const nsAString & aWidth);
79
80 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object. */
81 #define NS_FORWARD_NSIDOMHTMLTABLECOLELEMENT(_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 GetSpan(PRInt32 *aSpan) { return _to GetSpan(aSpan); } \
89 NS_IMETHOD SetSpan(PRInt32 aSpan) { return _to SetSpan(aSpan); } \
90 NS_IMETHOD GetVAlign(nsAString & aVAlign) { return _to GetVAlign(aVAlign); } \
91 NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return _to SetVAlign(aVAlign ); } \
92 NS_IMETHOD GetWidth(nsAString & aWidth) { return _to GetWidth(aWidth); } \
93 NS_IMETHOD SetWidth(const nsAString & aWidth) { return _to SetWidth(aWidth); }
94
95 /* Use this macro to declare functions that forward the behavior of this interfa ce to another object in a safe way. */
96 #define NS_FORWARD_SAFE_NSIDOMHTMLTABLECOLELEMENT(_to) \
97 NS_IMETHOD GetAlign(nsAString & aAlign) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlign(aAlign); } \
98 NS_IMETHOD SetAlign(const nsAString & aAlign) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetAlign(aAlign); } \
99 NS_IMETHOD GetCh(nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to- >GetCh(aCh); } \
100 NS_IMETHOD SetCh(const nsAString & aCh) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCh(aCh); } \
101 NS_IMETHOD GetChOff(nsAString & aChOff) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChOff(aChOff); } \
102 NS_IMETHOD SetChOff(const nsAString & aChOff) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetChOff(aChOff); } \
103 NS_IMETHOD GetSpan(PRInt32 *aSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to ->GetSpan(aSpan); } \
104 NS_IMETHOD SetSpan(PRInt32 aSpan) { return !_to ? NS_ERROR_NULL_POINTER : _to- >SetSpan(aSpan); } \
105 NS_IMETHOD GetVAlign(nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_POINTE R : _to->GetVAlign(aVAlign); } \
106 NS_IMETHOD SetVAlign(const nsAString & aVAlign) { return !_to ? NS_ERROR_NULL_ POINTER : _to->SetVAlign(aVAlign); } \
107 NS_IMETHOD GetWidth(nsAString & aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
108 NS_IMETHOD SetWidth(const nsAString & aWidth) { return !_to ? NS_ERROR_NULL_PO INTER : _to->SetWidth(aWidth); }
109
110 #if 0
111 /* Use the code below as a template for the implementation class for this interf ace. */
112
113 /* Header file */
114 class nsDOMHTMLTableColElement : public nsIDOMHTMLTableColElement
115 {
116 public:
117 NS_DECL_ISUPPORTS
118 NS_DECL_NSIDOMHTMLTABLECOLELEMENT
119
120 nsDOMHTMLTableColElement();
121
122 private:
123 ~nsDOMHTMLTableColElement();
124
125 protected:
126 /* additional members */
127 };
128
129 /* Implementation file */
130 NS_IMPL_ISUPPORTS1(nsDOMHTMLTableColElement, nsIDOMHTMLTableColElement)
131
132 nsDOMHTMLTableColElement::nsDOMHTMLTableColElement()
133 {
134 /* member initializers and constructor code */
135 }
136
137 nsDOMHTMLTableColElement::~nsDOMHTMLTableColElement()
138 {
139 /* destructor code */
140 }
141
142 /* attribute DOMString align; */
143 NS_IMETHODIMP nsDOMHTMLTableColElement::GetAlign(nsAString & aAlign)
144 {
145 return NS_ERROR_NOT_IMPLEMENTED;
146 }
147 NS_IMETHODIMP nsDOMHTMLTableColElement::SetAlign(const nsAString & aAlign)
148 {
149 return NS_ERROR_NOT_IMPLEMENTED;
150 }
151
152 /* attribute DOMString ch; */
153 NS_IMETHODIMP nsDOMHTMLTableColElement::GetCh(nsAString & aCh)
154 {
155 return NS_ERROR_NOT_IMPLEMENTED;
156 }
157 NS_IMETHODIMP nsDOMHTMLTableColElement::SetCh(const nsAString & aCh)
158 {
159 return NS_ERROR_NOT_IMPLEMENTED;
160 }
161
162 /* attribute DOMString chOff; */
163 NS_IMETHODIMP nsDOMHTMLTableColElement::GetChOff(nsAString & aChOff)
164 {
165 return NS_ERROR_NOT_IMPLEMENTED;
166 }
167 NS_IMETHODIMP nsDOMHTMLTableColElement::SetChOff(const nsAString & aChOff)
168 {
169 return NS_ERROR_NOT_IMPLEMENTED;
170 }
171
172 /* attribute long span; */
173 NS_IMETHODIMP nsDOMHTMLTableColElement::GetSpan(PRInt32 *aSpan)
174 {
175 return NS_ERROR_NOT_IMPLEMENTED;
176 }
177 NS_IMETHODIMP nsDOMHTMLTableColElement::SetSpan(PRInt32 aSpan)
178 {
179 return NS_ERROR_NOT_IMPLEMENTED;
180 }
181
182 /* attribute DOMString vAlign; */
183 NS_IMETHODIMP nsDOMHTMLTableColElement::GetVAlign(nsAString & aVAlign)
184 {
185 return NS_ERROR_NOT_IMPLEMENTED;
186 }
187 NS_IMETHODIMP nsDOMHTMLTableColElement::SetVAlign(const nsAString & aVAlign)
188 {
189 return NS_ERROR_NOT_IMPLEMENTED;
190 }
191
192 /* attribute DOMString width; */
193 NS_IMETHODIMP nsDOMHTMLTableColElement::GetWidth(nsAString & aWidth)
194 {
195 return NS_ERROR_NOT_IMPLEMENTED;
196 }
197 NS_IMETHODIMP nsDOMHTMLTableColElement::SetWidth(const nsAString & aWidth)
198 {
199 return NS_ERROR_NOT_IMPLEMENTED;
200 }
201
202 /* End of implementation class template. */
203 #endif
204
205
206 #endif /* __gen_nsIDOMHTMLTableColElement_h__ */
OLDNEW
« no previous file with comments | « gecko-sdk/include/nsIDOMHTMLTableCellElement.h ('k') | gecko-sdk/include/nsIDOMHTMLTableElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698