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