1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/html/nsIDOMHTMLBodyElement.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMHTMLBodyElement_h__
6 : #define __gen_nsIDOMHTMLBodyElement_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMHTMLElement_h__
10 : #include "nsIDOMHTMLElement.h"
11 : #endif
12 :
13 : #include "jspubtd.h"
14 :
15 : /* For IDL files that don't want to include root IDL files. */
16 : #ifndef NS_NO_VTABLE
17 : #define NS_NO_VTABLE
18 : #endif
19 : #include "jspubtd.h"
20 :
21 : /* starting interface: nsIDOMHTMLBodyElement */
22 : #define NS_IDOMHTMLBODYELEMENT_IID_STR "6c377d44-a5d1-4f0f-860a-9858d2cb5679"
23 :
24 : #define NS_IDOMHTMLBODYELEMENT_IID \
25 : {0x6c377d44, 0xa5d1, 0x4f0f, \
26 : { 0x86, 0x0a, 0x98, 0x58, 0xd2, 0xcb, 0x56, 0x79 }}
27 :
28 235 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMHTMLBodyElement : public nsIDOMHTMLElement {
29 : public:
30 :
31 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMHTMLBODYELEMENT_IID)
32 :
33 : /* attribute DOMString aLink; */
34 : NS_SCRIPTABLE NS_IMETHOD GetALink(nsAString & aALink) = 0;
35 : NS_SCRIPTABLE NS_IMETHOD SetALink(const nsAString & aALink) = 0;
36 :
37 : /* attribute DOMString background; */
38 : NS_SCRIPTABLE NS_IMETHOD GetBackground(nsAString & aBackground) = 0;
39 : NS_SCRIPTABLE NS_IMETHOD SetBackground(const nsAString & aBackground) = 0;
40 :
41 : /* attribute DOMString bgColor; */
42 : NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
43 : NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
44 :
45 : /* attribute DOMString link; */
46 : NS_SCRIPTABLE NS_IMETHOD GetLink(nsAString & aLink) = 0;
47 : NS_SCRIPTABLE NS_IMETHOD SetLink(const nsAString & aLink) = 0;
48 :
49 : /* attribute DOMString text; */
50 : NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) = 0;
51 : NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) = 0;
52 :
53 : /* attribute DOMString vLink; */
54 : NS_SCRIPTABLE NS_IMETHOD GetVLink(nsAString & aVLink) = 0;
55 : NS_SCRIPTABLE NS_IMETHOD SetVLink(const nsAString & aVLink) = 0;
56 :
57 : /* [implicit_jscontext] attribute jsval onafterprint; */
58 : NS_SCRIPTABLE NS_IMETHOD GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint) = 0;
59 : NS_SCRIPTABLE NS_IMETHOD SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint) = 0;
60 :
61 : /* [implicit_jscontext] attribute jsval onbeforeprint; */
62 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint) = 0;
63 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint) = 0;
64 :
65 : /* [implicit_jscontext] attribute jsval onbeforeunload; */
66 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload) = 0;
67 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload) = 0;
68 :
69 : /* [implicit_jscontext] attribute jsval onhashchange; */
70 : NS_SCRIPTABLE NS_IMETHOD GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange) = 0;
71 : NS_SCRIPTABLE NS_IMETHOD SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange) = 0;
72 :
73 : /* [implicit_jscontext] attribute jsval onmessage; */
74 : NS_SCRIPTABLE NS_IMETHOD GetOnmessage(JSContext* cx, JS::Value *aOnmessage) = 0;
75 : NS_SCRIPTABLE NS_IMETHOD SetOnmessage(JSContext* cx, const JS::Value & aOnmessage) = 0;
76 :
77 : /* [implicit_jscontext] attribute jsval onoffline; */
78 : NS_SCRIPTABLE NS_IMETHOD GetOnoffline(JSContext* cx, JS::Value *aOnoffline) = 0;
79 : NS_SCRIPTABLE NS_IMETHOD SetOnoffline(JSContext* cx, const JS::Value & aOnoffline) = 0;
80 :
81 : /* [implicit_jscontext] attribute jsval ononline; */
82 : NS_SCRIPTABLE NS_IMETHOD GetOnonline(JSContext* cx, JS::Value *aOnonline) = 0;
83 : NS_SCRIPTABLE NS_IMETHOD SetOnonline(JSContext* cx, const JS::Value & aOnonline) = 0;
84 :
85 : /* [implicit_jscontext] attribute jsval onpagehide; */
86 : NS_SCRIPTABLE NS_IMETHOD GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide) = 0;
87 : NS_SCRIPTABLE NS_IMETHOD SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide) = 0;
88 :
89 : /* [implicit_jscontext] attribute jsval onpageshow; */
90 : NS_SCRIPTABLE NS_IMETHOD GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow) = 0;
91 : NS_SCRIPTABLE NS_IMETHOD SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow) = 0;
92 :
93 : /* [implicit_jscontext] attribute jsval onpopstate; */
94 : NS_SCRIPTABLE NS_IMETHOD GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate) = 0;
95 : NS_SCRIPTABLE NS_IMETHOD SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate) = 0;
96 :
97 : /* [implicit_jscontext] attribute jsval onresize; */
98 : NS_SCRIPTABLE NS_IMETHOD GetOnresize(JSContext* cx, JS::Value *aOnresize) = 0;
99 : NS_SCRIPTABLE NS_IMETHOD SetOnresize(JSContext* cx, const JS::Value & aOnresize) = 0;
100 :
101 : /* [implicit_jscontext] attribute jsval onunload; */
102 : NS_SCRIPTABLE NS_IMETHOD GetOnunload(JSContext* cx, JS::Value *aOnunload) = 0;
103 : NS_SCRIPTABLE NS_IMETHOD SetOnunload(JSContext* cx, const JS::Value & aOnunload) = 0;
104 :
105 : };
106 :
107 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMHTMLBodyElement, NS_IDOMHTMLBODYELEMENT_IID)
108 :
109 : /* Use this macro when declaring classes that implement this interface. */
110 : #define NS_DECL_NSIDOMHTMLBODYELEMENT \
111 : NS_SCRIPTABLE NS_IMETHOD GetALink(nsAString & aALink); \
112 : NS_SCRIPTABLE NS_IMETHOD SetALink(const nsAString & aALink); \
113 : NS_SCRIPTABLE NS_IMETHOD GetBackground(nsAString & aBackground); \
114 : NS_SCRIPTABLE NS_IMETHOD SetBackground(const nsAString & aBackground); \
115 : NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor); \
116 : NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
117 : NS_SCRIPTABLE NS_IMETHOD GetLink(nsAString & aLink); \
118 : NS_SCRIPTABLE NS_IMETHOD SetLink(const nsAString & aLink); \
119 : NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText); \
120 : NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText); \
121 : NS_SCRIPTABLE NS_IMETHOD GetVLink(nsAString & aVLink); \
122 : NS_SCRIPTABLE NS_IMETHOD SetVLink(const nsAString & aVLink); \
123 : NS_SCRIPTABLE NS_IMETHOD GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint); \
124 : NS_SCRIPTABLE NS_IMETHOD SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint); \
125 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint); \
126 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint); \
127 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload); \
128 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload); \
129 : NS_SCRIPTABLE NS_IMETHOD GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange); \
130 : NS_SCRIPTABLE NS_IMETHOD SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange); \
131 : NS_SCRIPTABLE NS_IMETHOD GetOnmessage(JSContext* cx, JS::Value *aOnmessage); \
132 : NS_SCRIPTABLE NS_IMETHOD SetOnmessage(JSContext* cx, const JS::Value & aOnmessage); \
133 : NS_SCRIPTABLE NS_IMETHOD GetOnoffline(JSContext* cx, JS::Value *aOnoffline); \
134 : NS_SCRIPTABLE NS_IMETHOD SetOnoffline(JSContext* cx, const JS::Value & aOnoffline); \
135 : NS_SCRIPTABLE NS_IMETHOD GetOnonline(JSContext* cx, JS::Value *aOnonline); \
136 : NS_SCRIPTABLE NS_IMETHOD SetOnonline(JSContext* cx, const JS::Value & aOnonline); \
137 : NS_SCRIPTABLE NS_IMETHOD GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide); \
138 : NS_SCRIPTABLE NS_IMETHOD SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide); \
139 : NS_SCRIPTABLE NS_IMETHOD GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow); \
140 : NS_SCRIPTABLE NS_IMETHOD SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow); \
141 : NS_SCRIPTABLE NS_IMETHOD GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate); \
142 : NS_SCRIPTABLE NS_IMETHOD SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate); \
143 : NS_SCRIPTABLE NS_IMETHOD GetOnresize(JSContext* cx, JS::Value *aOnresize); \
144 : NS_SCRIPTABLE NS_IMETHOD SetOnresize(JSContext* cx, const JS::Value & aOnresize); \
145 : NS_SCRIPTABLE NS_IMETHOD GetOnunload(JSContext* cx, JS::Value *aOnunload); \
146 : NS_SCRIPTABLE NS_IMETHOD SetOnunload(JSContext* cx, const JS::Value & aOnunload);
147 :
148 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
149 : #define NS_FORWARD_NSIDOMHTMLBODYELEMENT(_to) \
150 : NS_SCRIPTABLE NS_IMETHOD GetALink(nsAString & aALink) { return _to GetALink(aALink); } \
151 : NS_SCRIPTABLE NS_IMETHOD SetALink(const nsAString & aALink) { return _to SetALink(aALink); } \
152 : NS_SCRIPTABLE NS_IMETHOD GetBackground(nsAString & aBackground) { return _to GetBackground(aBackground); } \
153 : NS_SCRIPTABLE NS_IMETHOD SetBackground(const nsAString & aBackground) { return _to SetBackground(aBackground); } \
154 : NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
155 : NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
156 : NS_SCRIPTABLE NS_IMETHOD GetLink(nsAString & aLink) { return _to GetLink(aLink); } \
157 : NS_SCRIPTABLE NS_IMETHOD SetLink(const nsAString & aLink) { return _to SetLink(aLink); } \
158 : NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return _to GetText(aText); } \
159 : NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) { return _to SetText(aText); } \
160 : NS_SCRIPTABLE NS_IMETHOD GetVLink(nsAString & aVLink) { return _to GetVLink(aVLink); } \
161 : NS_SCRIPTABLE NS_IMETHOD SetVLink(const nsAString & aVLink) { return _to SetVLink(aVLink); } \
162 : NS_SCRIPTABLE NS_IMETHOD GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint) { return _to GetOnafterprint(cx, aOnafterprint); } \
163 : NS_SCRIPTABLE NS_IMETHOD SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint) { return _to SetOnafterprint(cx, aOnafterprint); } \
164 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint) { return _to GetOnbeforeprint(cx, aOnbeforeprint); } \
165 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint) { return _to SetOnbeforeprint(cx, aOnbeforeprint); } \
166 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload) { return _to GetOnbeforeunload(cx, aOnbeforeunload); } \
167 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload) { return _to SetOnbeforeunload(cx, aOnbeforeunload); } \
168 : NS_SCRIPTABLE NS_IMETHOD GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange) { return _to GetOnhashchange(cx, aOnhashchange); } \
169 : NS_SCRIPTABLE NS_IMETHOD SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange) { return _to SetOnhashchange(cx, aOnhashchange); } \
170 : NS_SCRIPTABLE NS_IMETHOD GetOnmessage(JSContext* cx, JS::Value *aOnmessage) { return _to GetOnmessage(cx, aOnmessage); } \
171 : NS_SCRIPTABLE NS_IMETHOD SetOnmessage(JSContext* cx, const JS::Value & aOnmessage) { return _to SetOnmessage(cx, aOnmessage); } \
172 : NS_SCRIPTABLE NS_IMETHOD GetOnoffline(JSContext* cx, JS::Value *aOnoffline) { return _to GetOnoffline(cx, aOnoffline); } \
173 : NS_SCRIPTABLE NS_IMETHOD SetOnoffline(JSContext* cx, const JS::Value & aOnoffline) { return _to SetOnoffline(cx, aOnoffline); } \
174 : NS_SCRIPTABLE NS_IMETHOD GetOnonline(JSContext* cx, JS::Value *aOnonline) { return _to GetOnonline(cx, aOnonline); } \
175 : NS_SCRIPTABLE NS_IMETHOD SetOnonline(JSContext* cx, const JS::Value & aOnonline) { return _to SetOnonline(cx, aOnonline); } \
176 : NS_SCRIPTABLE NS_IMETHOD GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide) { return _to GetOnpagehide(cx, aOnpagehide); } \
177 : NS_SCRIPTABLE NS_IMETHOD SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide) { return _to SetOnpagehide(cx, aOnpagehide); } \
178 : NS_SCRIPTABLE NS_IMETHOD GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow) { return _to GetOnpageshow(cx, aOnpageshow); } \
179 : NS_SCRIPTABLE NS_IMETHOD SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow) { return _to SetOnpageshow(cx, aOnpageshow); } \
180 : NS_SCRIPTABLE NS_IMETHOD GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate) { return _to GetOnpopstate(cx, aOnpopstate); } \
181 : NS_SCRIPTABLE NS_IMETHOD SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate) { return _to SetOnpopstate(cx, aOnpopstate); } \
182 : NS_SCRIPTABLE NS_IMETHOD GetOnresize(JSContext* cx, JS::Value *aOnresize) { return _to GetOnresize(cx, aOnresize); } \
183 : NS_SCRIPTABLE NS_IMETHOD SetOnresize(JSContext* cx, const JS::Value & aOnresize) { return _to SetOnresize(cx, aOnresize); } \
184 : NS_SCRIPTABLE NS_IMETHOD GetOnunload(JSContext* cx, JS::Value *aOnunload) { return _to GetOnunload(cx, aOnunload); } \
185 : NS_SCRIPTABLE NS_IMETHOD SetOnunload(JSContext* cx, const JS::Value & aOnunload) { return _to SetOnunload(cx, aOnunload); }
186 :
187 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
188 : #define NS_FORWARD_SAFE_NSIDOMHTMLBODYELEMENT(_to) \
189 : NS_SCRIPTABLE NS_IMETHOD GetALink(nsAString & aALink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetALink(aALink); } \
190 : NS_SCRIPTABLE NS_IMETHOD SetALink(const nsAString & aALink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetALink(aALink); } \
191 : NS_SCRIPTABLE NS_IMETHOD GetBackground(nsAString & aBackground) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBackground(aBackground); } \
192 : NS_SCRIPTABLE NS_IMETHOD SetBackground(const nsAString & aBackground) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBackground(aBackground); } \
193 : NS_SCRIPTABLE NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
194 : NS_SCRIPTABLE NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
195 : NS_SCRIPTABLE NS_IMETHOD GetLink(nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLink(aLink); } \
196 : NS_SCRIPTABLE NS_IMETHOD SetLink(const nsAString & aLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLink(aLink); } \
197 : NS_SCRIPTABLE NS_IMETHOD GetText(nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
198 : NS_SCRIPTABLE NS_IMETHOD SetText(const nsAString & aText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetText(aText); } \
199 : NS_SCRIPTABLE NS_IMETHOD GetVLink(nsAString & aVLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVLink(aVLink); } \
200 : NS_SCRIPTABLE NS_IMETHOD SetVLink(const nsAString & aVLink) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVLink(aVLink); } \
201 : NS_SCRIPTABLE NS_IMETHOD GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnafterprint(cx, aOnafterprint); } \
202 : NS_SCRIPTABLE NS_IMETHOD SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnafterprint(cx, aOnafterprint); } \
203 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnbeforeprint(cx, aOnbeforeprint); } \
204 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnbeforeprint(cx, aOnbeforeprint); } \
205 : NS_SCRIPTABLE NS_IMETHOD GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnbeforeunload(cx, aOnbeforeunload); } \
206 : NS_SCRIPTABLE NS_IMETHOD SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnbeforeunload(cx, aOnbeforeunload); } \
207 : NS_SCRIPTABLE NS_IMETHOD GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnhashchange(cx, aOnhashchange); } \
208 : NS_SCRIPTABLE NS_IMETHOD SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnhashchange(cx, aOnhashchange); } \
209 : NS_SCRIPTABLE NS_IMETHOD GetOnmessage(JSContext* cx, JS::Value *aOnmessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnmessage(cx, aOnmessage); } \
210 : NS_SCRIPTABLE NS_IMETHOD SetOnmessage(JSContext* cx, const JS::Value & aOnmessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnmessage(cx, aOnmessage); } \
211 : NS_SCRIPTABLE NS_IMETHOD GetOnoffline(JSContext* cx, JS::Value *aOnoffline) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnoffline(cx, aOnoffline); } \
212 : NS_SCRIPTABLE NS_IMETHOD SetOnoffline(JSContext* cx, const JS::Value & aOnoffline) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnoffline(cx, aOnoffline); } \
213 : NS_SCRIPTABLE NS_IMETHOD GetOnonline(JSContext* cx, JS::Value *aOnonline) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnonline(cx, aOnonline); } \
214 : NS_SCRIPTABLE NS_IMETHOD SetOnonline(JSContext* cx, const JS::Value & aOnonline) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnonline(cx, aOnonline); } \
215 : NS_SCRIPTABLE NS_IMETHOD GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnpagehide(cx, aOnpagehide); } \
216 : NS_SCRIPTABLE NS_IMETHOD SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnpagehide(cx, aOnpagehide); } \
217 : NS_SCRIPTABLE NS_IMETHOD GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnpageshow(cx, aOnpageshow); } \
218 : NS_SCRIPTABLE NS_IMETHOD SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnpageshow(cx, aOnpageshow); } \
219 : NS_SCRIPTABLE NS_IMETHOD GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnpopstate(cx, aOnpopstate); } \
220 : NS_SCRIPTABLE NS_IMETHOD SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnpopstate(cx, aOnpopstate); } \
221 : NS_SCRIPTABLE NS_IMETHOD GetOnresize(JSContext* cx, JS::Value *aOnresize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnresize(cx, aOnresize); } \
222 : NS_SCRIPTABLE NS_IMETHOD SetOnresize(JSContext* cx, const JS::Value & aOnresize) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnresize(cx, aOnresize); } \
223 : NS_SCRIPTABLE NS_IMETHOD GetOnunload(JSContext* cx, JS::Value *aOnunload) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnunload(cx, aOnunload); } \
224 : NS_SCRIPTABLE NS_IMETHOD SetOnunload(JSContext* cx, const JS::Value & aOnunload) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnunload(cx, aOnunload); }
225 :
226 : #if 0
227 : /* Use the code below as a template for the implementation class for this interface. */
228 :
229 : /* Header file */
230 : class nsDOMHTMLBodyElement : public nsIDOMHTMLBodyElement
231 : {
232 : public:
233 : NS_DECL_ISUPPORTS
234 : NS_DECL_NSIDOMHTMLBODYELEMENT
235 :
236 : nsDOMHTMLBodyElement();
237 :
238 : private:
239 : ~nsDOMHTMLBodyElement();
240 :
241 : protected:
242 : /* additional members */
243 : };
244 :
245 : /* Implementation file */
246 : NS_IMPL_ISUPPORTS1(nsDOMHTMLBodyElement, nsIDOMHTMLBodyElement)
247 :
248 : nsDOMHTMLBodyElement::nsDOMHTMLBodyElement()
249 : {
250 : /* member initializers and constructor code */
251 : }
252 :
253 : nsDOMHTMLBodyElement::~nsDOMHTMLBodyElement()
254 : {
255 : /* destructor code */
256 : }
257 :
258 : /* attribute DOMString aLink; */
259 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetALink(nsAString & aALink)
260 : {
261 : return NS_ERROR_NOT_IMPLEMENTED;
262 : }
263 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetALink(const nsAString & aALink)
264 : {
265 : return NS_ERROR_NOT_IMPLEMENTED;
266 : }
267 :
268 : /* attribute DOMString background; */
269 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetBackground(nsAString & aBackground)
270 : {
271 : return NS_ERROR_NOT_IMPLEMENTED;
272 : }
273 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetBackground(const nsAString & aBackground)
274 : {
275 : return NS_ERROR_NOT_IMPLEMENTED;
276 : }
277 :
278 : /* attribute DOMString bgColor; */
279 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetBgColor(nsAString & aBgColor)
280 : {
281 : return NS_ERROR_NOT_IMPLEMENTED;
282 : }
283 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetBgColor(const nsAString & aBgColor)
284 : {
285 : return NS_ERROR_NOT_IMPLEMENTED;
286 : }
287 :
288 : /* attribute DOMString link; */
289 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetLink(nsAString & aLink)
290 : {
291 : return NS_ERROR_NOT_IMPLEMENTED;
292 : }
293 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetLink(const nsAString & aLink)
294 : {
295 : return NS_ERROR_NOT_IMPLEMENTED;
296 : }
297 :
298 : /* attribute DOMString text; */
299 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetText(nsAString & aText)
300 : {
301 : return NS_ERROR_NOT_IMPLEMENTED;
302 : }
303 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetText(const nsAString & aText)
304 : {
305 : return NS_ERROR_NOT_IMPLEMENTED;
306 : }
307 :
308 : /* attribute DOMString vLink; */
309 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetVLink(nsAString & aVLink)
310 : {
311 : return NS_ERROR_NOT_IMPLEMENTED;
312 : }
313 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetVLink(const nsAString & aVLink)
314 : {
315 : return NS_ERROR_NOT_IMPLEMENTED;
316 : }
317 :
318 : /* [implicit_jscontext] attribute jsval onafterprint; */
319 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnafterprint(JSContext* cx, JS::Value *aOnafterprint)
320 : {
321 : return NS_ERROR_NOT_IMPLEMENTED;
322 : }
323 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnafterprint(JSContext* cx, const JS::Value & aOnafterprint)
324 : {
325 : return NS_ERROR_NOT_IMPLEMENTED;
326 : }
327 :
328 : /* [implicit_jscontext] attribute jsval onbeforeprint; */
329 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnbeforeprint(JSContext* cx, JS::Value *aOnbeforeprint)
330 : {
331 : return NS_ERROR_NOT_IMPLEMENTED;
332 : }
333 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnbeforeprint(JSContext* cx, const JS::Value & aOnbeforeprint)
334 : {
335 : return NS_ERROR_NOT_IMPLEMENTED;
336 : }
337 :
338 : /* [implicit_jscontext] attribute jsval onbeforeunload; */
339 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnbeforeunload(JSContext* cx, JS::Value *aOnbeforeunload)
340 : {
341 : return NS_ERROR_NOT_IMPLEMENTED;
342 : }
343 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnbeforeunload(JSContext* cx, const JS::Value & aOnbeforeunload)
344 : {
345 : return NS_ERROR_NOT_IMPLEMENTED;
346 : }
347 :
348 : /* [implicit_jscontext] attribute jsval onhashchange; */
349 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnhashchange(JSContext* cx, JS::Value *aOnhashchange)
350 : {
351 : return NS_ERROR_NOT_IMPLEMENTED;
352 : }
353 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnhashchange(JSContext* cx, const JS::Value & aOnhashchange)
354 : {
355 : return NS_ERROR_NOT_IMPLEMENTED;
356 : }
357 :
358 : /* [implicit_jscontext] attribute jsval onmessage; */
359 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnmessage(JSContext* cx, JS::Value *aOnmessage)
360 : {
361 : return NS_ERROR_NOT_IMPLEMENTED;
362 : }
363 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnmessage(JSContext* cx, const JS::Value & aOnmessage)
364 : {
365 : return NS_ERROR_NOT_IMPLEMENTED;
366 : }
367 :
368 : /* [implicit_jscontext] attribute jsval onoffline; */
369 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnoffline(JSContext* cx, JS::Value *aOnoffline)
370 : {
371 : return NS_ERROR_NOT_IMPLEMENTED;
372 : }
373 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnoffline(JSContext* cx, const JS::Value & aOnoffline)
374 : {
375 : return NS_ERROR_NOT_IMPLEMENTED;
376 : }
377 :
378 : /* [implicit_jscontext] attribute jsval ononline; */
379 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnonline(JSContext* cx, JS::Value *aOnonline)
380 : {
381 : return NS_ERROR_NOT_IMPLEMENTED;
382 : }
383 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnonline(JSContext* cx, const JS::Value & aOnonline)
384 : {
385 : return NS_ERROR_NOT_IMPLEMENTED;
386 : }
387 :
388 : /* [implicit_jscontext] attribute jsval onpagehide; */
389 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnpagehide(JSContext* cx, JS::Value *aOnpagehide)
390 : {
391 : return NS_ERROR_NOT_IMPLEMENTED;
392 : }
393 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnpagehide(JSContext* cx, const JS::Value & aOnpagehide)
394 : {
395 : return NS_ERROR_NOT_IMPLEMENTED;
396 : }
397 :
398 : /* [implicit_jscontext] attribute jsval onpageshow; */
399 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnpageshow(JSContext* cx, JS::Value *aOnpageshow)
400 : {
401 : return NS_ERROR_NOT_IMPLEMENTED;
402 : }
403 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnpageshow(JSContext* cx, const JS::Value & aOnpageshow)
404 : {
405 : return NS_ERROR_NOT_IMPLEMENTED;
406 : }
407 :
408 : /* [implicit_jscontext] attribute jsval onpopstate; */
409 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnpopstate(JSContext* cx, JS::Value *aOnpopstate)
410 : {
411 : return NS_ERROR_NOT_IMPLEMENTED;
412 : }
413 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnpopstate(JSContext* cx, const JS::Value & aOnpopstate)
414 : {
415 : return NS_ERROR_NOT_IMPLEMENTED;
416 : }
417 :
418 : /* [implicit_jscontext] attribute jsval onresize; */
419 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnresize(JSContext* cx, JS::Value *aOnresize)
420 : {
421 : return NS_ERROR_NOT_IMPLEMENTED;
422 : }
423 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnresize(JSContext* cx, const JS::Value & aOnresize)
424 : {
425 : return NS_ERROR_NOT_IMPLEMENTED;
426 : }
427 :
428 : /* [implicit_jscontext] attribute jsval onunload; */
429 : NS_IMETHODIMP nsDOMHTMLBodyElement::GetOnunload(JSContext* cx, JS::Value *aOnunload)
430 : {
431 : return NS_ERROR_NOT_IMPLEMENTED;
432 : }
433 : NS_IMETHODIMP nsDOMHTMLBodyElement::SetOnunload(JSContext* cx, const JS::Value & aOnunload)
434 : {
435 : return NS_ERROR_NOT_IMPLEMENTED;
436 : }
437 :
438 : /* End of implementation class template. */
439 : #endif
440 :
441 :
442 : #endif /* __gen_nsIDOMHTMLBodyElement_h__ */
|