/usr/include/thunderbird-11.0.1/nsIDOMSVGSVGElement.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 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/dom/interfaces/svg/nsIDOMSVGSVGElement.idl
*/
#ifndef __gen_nsIDOMSVGSVGElement_h__
#define __gen_nsIDOMSVGSVGElement_h__
#ifndef __gen_nsIDOMSVGElement_h__
#include "nsIDOMSVGElement.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMSVGAnimatedLength; /* forward declaration */
class nsIDOMSVGRect; /* forward declaration */
class nsIDOMSVGViewSpec; /* forward declaration */
class nsIDOMSVGPoint; /* forward declaration */
class nsIDOMSVGNumber; /* forward declaration */
class nsIDOMSVGLength; /* forward declaration */
class nsIDOMSVGAngle; /* forward declaration */
class nsIDOMSVGMatrix; /* forward declaration */
class nsIDOMSVGTransform; /* forward declaration */
#ifdef GetCurrentTime
#undef GetCurrentTime
#endif
/* starting interface: nsIDOMSVGSVGElement */
#define NS_IDOMSVGSVGELEMENT_IID_STR "19198100-d373-408b-9b75-4c6c6310ea5b"
#define NS_IDOMSVGSVGELEMENT_IID \
{0x19198100, 0xd373, 0x408b, \
{ 0x9b, 0x75, 0x4c, 0x6c, 0x63, 0x10, 0xea, 0x5b }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGSVGElement : public nsIDOMSVGElement {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGSVGELEMENT_IID)
/* readonly attribute nsIDOMSVGAnimatedLength x; */
NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) = 0;
/* readonly attribute nsIDOMSVGAnimatedLength y; */
NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) = 0;
/* readonly attribute nsIDOMSVGAnimatedLength width; */
NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) = 0;
/* readonly attribute nsIDOMSVGAnimatedLength height; */
NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) = 0;
/* attribute DOMString contentScriptType; */
NS_SCRIPTABLE NS_IMETHOD GetContentScriptType(nsAString & aContentScriptType) = 0;
NS_SCRIPTABLE NS_IMETHOD SetContentScriptType(const nsAString & aContentScriptType) = 0;
/* attribute DOMString contentStyleType; */
NS_SCRIPTABLE NS_IMETHOD GetContentStyleType(nsAString & aContentStyleType) = 0;
NS_SCRIPTABLE NS_IMETHOD SetContentStyleType(const nsAString & aContentStyleType) = 0;
/* readonly attribute nsIDOMSVGRect viewport; */
NS_SCRIPTABLE NS_IMETHOD GetViewport(nsIDOMSVGRect * *aViewport) = 0;
/* readonly attribute float pixelUnitToMillimeterX; */
NS_SCRIPTABLE NS_IMETHOD GetPixelUnitToMillimeterX(float *aPixelUnitToMillimeterX) = 0;
/* readonly attribute float pixelUnitToMillimeterY; */
NS_SCRIPTABLE NS_IMETHOD GetPixelUnitToMillimeterY(float *aPixelUnitToMillimeterY) = 0;
/* readonly attribute float screenPixelToMillimeterX; */
NS_SCRIPTABLE NS_IMETHOD GetScreenPixelToMillimeterX(float *aScreenPixelToMillimeterX) = 0;
/* readonly attribute float screenPixelToMillimeterY; */
NS_SCRIPTABLE NS_IMETHOD GetScreenPixelToMillimeterY(float *aScreenPixelToMillimeterY) = 0;
/* attribute boolean useCurrentView; */
NS_SCRIPTABLE NS_IMETHOD GetUseCurrentView(bool *aUseCurrentView) = 0;
NS_SCRIPTABLE NS_IMETHOD SetUseCurrentView(bool aUseCurrentView) = 0;
/* readonly attribute nsIDOMSVGViewSpec currentView; */
NS_SCRIPTABLE NS_IMETHOD GetCurrentView(nsIDOMSVGViewSpec * *aCurrentView) = 0;
/* attribute float currentScale; */
NS_SCRIPTABLE NS_IMETHOD GetCurrentScale(float *aCurrentScale) = 0;
NS_SCRIPTABLE NS_IMETHOD SetCurrentScale(float aCurrentScale) = 0;
/* readonly attribute nsIDOMSVGPoint currentTranslate; */
NS_SCRIPTABLE NS_IMETHOD GetCurrentTranslate(nsIDOMSVGPoint * *aCurrentTranslate) = 0;
/* unsigned long suspendRedraw (in unsigned long max_wait_milliseconds); */
NS_SCRIPTABLE NS_IMETHOD SuspendRedraw(PRUint32 max_wait_milliseconds, PRUint32 *_retval NS_OUTPARAM) = 0;
/* void unsuspendRedraw (in unsigned long suspend_handle_id); */
NS_SCRIPTABLE NS_IMETHOD UnsuspendRedraw(PRUint32 suspend_handle_id) = 0;
/* void unsuspendRedrawAll (); */
NS_SCRIPTABLE NS_IMETHOD UnsuspendRedrawAll(void) = 0;
/* void forceRedraw (); */
NS_SCRIPTABLE NS_IMETHOD ForceRedraw(void) = 0;
/* void pauseAnimations (); */
NS_SCRIPTABLE NS_IMETHOD PauseAnimations(void) = 0;
/* void unpauseAnimations (); */
NS_SCRIPTABLE NS_IMETHOD UnpauseAnimations(void) = 0;
/* boolean animationsPaused (); */
NS_SCRIPTABLE NS_IMETHOD AnimationsPaused(bool *_retval NS_OUTPARAM) = 0;
/* float getCurrentTime (); */
NS_SCRIPTABLE NS_IMETHOD GetCurrentTime(float *_retval NS_OUTPARAM) = 0;
/* void setCurrentTime (in float seconds); */
NS_SCRIPTABLE NS_IMETHOD SetCurrentTime(float seconds) = 0;
/* nsIDOMNodeList getIntersectionList (in nsIDOMSVGRect rect, in nsIDOMSVGElement referenceElement); */
NS_SCRIPTABLE NS_IMETHOD GetIntersectionList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM) = 0;
/* nsIDOMNodeList getEnclosureList (in nsIDOMSVGRect rect, in nsIDOMSVGElement referenceElement); */
NS_SCRIPTABLE NS_IMETHOD GetEnclosureList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM) = 0;
/* boolean checkIntersection (in nsIDOMSVGElement element, in nsIDOMSVGRect rect); */
NS_SCRIPTABLE NS_IMETHOD CheckIntersection(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM) = 0;
/* boolean checkEnclosure (in nsIDOMSVGElement element, in nsIDOMSVGRect rect); */
NS_SCRIPTABLE NS_IMETHOD CheckEnclosure(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM) = 0;
/* void deSelectAll (); */
NS_SCRIPTABLE NS_IMETHOD DeSelectAll(void) = 0;
/* nsIDOMSVGNumber createSVGNumber (); */
NS_SCRIPTABLE NS_IMETHOD CreateSVGNumber(nsIDOMSVGNumber * *_retval NS_OUTPARAM) = 0;
/* nsIDOMSVGLength createSVGLength (); */
NS_SCRIPTABLE NS_IMETHOD CreateSVGLength(nsIDOMSVGLength * *_retval NS_OUTPARAM) = 0;
/* nsIDOMSVGAngle createSVGAngle (); */
NS_SCRIPTABLE NS_IMETHOD CreateSVGAngle(nsIDOMSVGAngle * *_retval NS_OUTPARAM) = 0;
/* nsIDOMSVGPoint createSVGPoint (); */
NS_SCRIPTABLE NS_IMETHOD CreateSVGPoint(nsIDOMSVGPoint * *_retval NS_OUTPARAM) = 0;
/* nsIDOMSVGMatrix createSVGMatrix (); */
NS_SCRIPTABLE NS_IMETHOD CreateSVGMatrix(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) = 0;
/* nsIDOMSVGRect createSVGRect (); */
NS_SCRIPTABLE NS_IMETHOD CreateSVGRect(nsIDOMSVGRect * *_retval NS_OUTPARAM) = 0;
/* nsIDOMSVGTransform createSVGTransform (); */
NS_SCRIPTABLE NS_IMETHOD CreateSVGTransform(nsIDOMSVGTransform * *_retval NS_OUTPARAM) = 0;
/* nsIDOMSVGTransform createSVGTransformFromMatrix (in nsIDOMSVGMatrix matrix); */
NS_SCRIPTABLE NS_IMETHOD CreateSVGTransformFromMatrix(nsIDOMSVGMatrix *matrix, nsIDOMSVGTransform * *_retval NS_OUTPARAM) = 0;
/* nsIDOMElement getElementById (in DOMString elementId); */
NS_SCRIPTABLE NS_IMETHOD GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGSVGElement, NS_IDOMSVGSVGELEMENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMSVGSVGELEMENT \
NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX); \
NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY); \
NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth); \
NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight); \
NS_SCRIPTABLE NS_IMETHOD GetContentScriptType(nsAString & aContentScriptType); \
NS_SCRIPTABLE NS_IMETHOD SetContentScriptType(const nsAString & aContentScriptType); \
NS_SCRIPTABLE NS_IMETHOD GetContentStyleType(nsAString & aContentStyleType); \
NS_SCRIPTABLE NS_IMETHOD SetContentStyleType(const nsAString & aContentStyleType); \
NS_SCRIPTABLE NS_IMETHOD GetViewport(nsIDOMSVGRect * *aViewport); \
NS_SCRIPTABLE NS_IMETHOD GetPixelUnitToMillimeterX(float *aPixelUnitToMillimeterX); \
NS_SCRIPTABLE NS_IMETHOD GetPixelUnitToMillimeterY(float *aPixelUnitToMillimeterY); \
NS_SCRIPTABLE NS_IMETHOD GetScreenPixelToMillimeterX(float *aScreenPixelToMillimeterX); \
NS_SCRIPTABLE NS_IMETHOD GetScreenPixelToMillimeterY(float *aScreenPixelToMillimeterY); \
NS_SCRIPTABLE NS_IMETHOD GetUseCurrentView(bool *aUseCurrentView); \
NS_SCRIPTABLE NS_IMETHOD SetUseCurrentView(bool aUseCurrentView); \
NS_SCRIPTABLE NS_IMETHOD GetCurrentView(nsIDOMSVGViewSpec * *aCurrentView); \
NS_SCRIPTABLE NS_IMETHOD GetCurrentScale(float *aCurrentScale); \
NS_SCRIPTABLE NS_IMETHOD SetCurrentScale(float aCurrentScale); \
NS_SCRIPTABLE NS_IMETHOD GetCurrentTranslate(nsIDOMSVGPoint * *aCurrentTranslate); \
NS_SCRIPTABLE NS_IMETHOD SuspendRedraw(PRUint32 max_wait_milliseconds, PRUint32 *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD UnsuspendRedraw(PRUint32 suspend_handle_id); \
NS_SCRIPTABLE NS_IMETHOD UnsuspendRedrawAll(void); \
NS_SCRIPTABLE NS_IMETHOD ForceRedraw(void); \
NS_SCRIPTABLE NS_IMETHOD PauseAnimations(void); \
NS_SCRIPTABLE NS_IMETHOD UnpauseAnimations(void); \
NS_SCRIPTABLE NS_IMETHOD AnimationsPaused(bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetCurrentTime(float *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD SetCurrentTime(float seconds); \
NS_SCRIPTABLE NS_IMETHOD GetIntersectionList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetEnclosureList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CheckIntersection(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CheckEnclosure(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD DeSelectAll(void); \
NS_SCRIPTABLE NS_IMETHOD CreateSVGNumber(nsIDOMSVGNumber * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CreateSVGLength(nsIDOMSVGLength * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CreateSVGAngle(nsIDOMSVGAngle * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CreateSVGPoint(nsIDOMSVGPoint * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CreateSVGMatrix(nsIDOMSVGMatrix * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CreateSVGRect(nsIDOMSVGRect * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CreateSVGTransform(nsIDOMSVGTransform * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CreateSVGTransformFromMatrix(nsIDOMSVGMatrix *matrix, nsIDOMSVGTransform * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMSVGSVGELEMENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return _to GetX(aX); } \
NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return _to GetY(aY); } \
NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return _to GetWidth(aWidth); } \
NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return _to GetHeight(aHeight); } \
NS_SCRIPTABLE NS_IMETHOD GetContentScriptType(nsAString & aContentScriptType) { return _to GetContentScriptType(aContentScriptType); } \
NS_SCRIPTABLE NS_IMETHOD SetContentScriptType(const nsAString & aContentScriptType) { return _to SetContentScriptType(aContentScriptType); } \
NS_SCRIPTABLE NS_IMETHOD GetContentStyleType(nsAString & aContentStyleType) { return _to GetContentStyleType(aContentStyleType); } \
NS_SCRIPTABLE NS_IMETHOD SetContentStyleType(const nsAString & aContentStyleType) { return _to SetContentStyleType(aContentStyleType); } \
NS_SCRIPTABLE NS_IMETHOD GetViewport(nsIDOMSVGRect * *aViewport) { return _to GetViewport(aViewport); } \
NS_SCRIPTABLE NS_IMETHOD GetPixelUnitToMillimeterX(float *aPixelUnitToMillimeterX) { return _to GetPixelUnitToMillimeterX(aPixelUnitToMillimeterX); } \
NS_SCRIPTABLE NS_IMETHOD GetPixelUnitToMillimeterY(float *aPixelUnitToMillimeterY) { return _to GetPixelUnitToMillimeterY(aPixelUnitToMillimeterY); } \
NS_SCRIPTABLE NS_IMETHOD GetScreenPixelToMillimeterX(float *aScreenPixelToMillimeterX) { return _to GetScreenPixelToMillimeterX(aScreenPixelToMillimeterX); } \
NS_SCRIPTABLE NS_IMETHOD GetScreenPixelToMillimeterY(float *aScreenPixelToMillimeterY) { return _to GetScreenPixelToMillimeterY(aScreenPixelToMillimeterY); } \
NS_SCRIPTABLE NS_IMETHOD GetUseCurrentView(bool *aUseCurrentView) { return _to GetUseCurrentView(aUseCurrentView); } \
NS_SCRIPTABLE NS_IMETHOD SetUseCurrentView(bool aUseCurrentView) { return _to SetUseCurrentView(aUseCurrentView); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentView(nsIDOMSVGViewSpec * *aCurrentView) { return _to GetCurrentView(aCurrentView); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentScale(float *aCurrentScale) { return _to GetCurrentScale(aCurrentScale); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentScale(float aCurrentScale) { return _to SetCurrentScale(aCurrentScale); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentTranslate(nsIDOMSVGPoint * *aCurrentTranslate) { return _to GetCurrentTranslate(aCurrentTranslate); } \
NS_SCRIPTABLE NS_IMETHOD SuspendRedraw(PRUint32 max_wait_milliseconds, PRUint32 *_retval NS_OUTPARAM) { return _to SuspendRedraw(max_wait_milliseconds, _retval); } \
NS_SCRIPTABLE NS_IMETHOD UnsuspendRedraw(PRUint32 suspend_handle_id) { return _to UnsuspendRedraw(suspend_handle_id); } \
NS_SCRIPTABLE NS_IMETHOD UnsuspendRedrawAll(void) { return _to UnsuspendRedrawAll(); } \
NS_SCRIPTABLE NS_IMETHOD ForceRedraw(void) { return _to ForceRedraw(); } \
NS_SCRIPTABLE NS_IMETHOD PauseAnimations(void) { return _to PauseAnimations(); } \
NS_SCRIPTABLE NS_IMETHOD UnpauseAnimations(void) { return _to UnpauseAnimations(); } \
NS_SCRIPTABLE NS_IMETHOD AnimationsPaused(bool *_retval NS_OUTPARAM) { return _to AnimationsPaused(_retval); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentTime(float *_retval NS_OUTPARAM) { return _to GetCurrentTime(_retval); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentTime(float seconds) { return _to SetCurrentTime(seconds); } \
NS_SCRIPTABLE NS_IMETHOD GetIntersectionList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM) { return _to GetIntersectionList(rect, referenceElement, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetEnclosureList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM) { return _to GetEnclosureList(rect, referenceElement, _retval); } \
NS_SCRIPTABLE NS_IMETHOD CheckIntersection(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM) { return _to CheckIntersection(element, rect, _retval); } \
NS_SCRIPTABLE NS_IMETHOD CheckEnclosure(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM) { return _to CheckEnclosure(element, rect, _retval); } \
NS_SCRIPTABLE NS_IMETHOD DeSelectAll(void) { return _to DeSelectAll(); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGNumber(nsIDOMSVGNumber * *_retval NS_OUTPARAM) { return _to CreateSVGNumber(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGLength(nsIDOMSVGLength * *_retval NS_OUTPARAM) { return _to CreateSVGLength(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGAngle(nsIDOMSVGAngle * *_retval NS_OUTPARAM) { return _to CreateSVGAngle(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGPoint(nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return _to CreateSVGPoint(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGMatrix(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) { return _to CreateSVGMatrix(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGRect(nsIDOMSVGRect * *_retval NS_OUTPARAM) { return _to CreateSVGRect(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGTransform(nsIDOMSVGTransform * *_retval NS_OUTPARAM) { return _to CreateSVGTransform(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGTransformFromMatrix(nsIDOMSVGMatrix *matrix, nsIDOMSVGTransform * *_retval NS_OUTPARAM) { return _to CreateSVGTransformFromMatrix(matrix, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM) { return _to GetElementById(elementId, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMSVGSVGELEMENT(_to) \
NS_SCRIPTABLE NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
NS_SCRIPTABLE NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
NS_SCRIPTABLE NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
NS_SCRIPTABLE NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
NS_SCRIPTABLE NS_IMETHOD GetContentScriptType(nsAString & aContentScriptType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentScriptType(aContentScriptType); } \
NS_SCRIPTABLE NS_IMETHOD SetContentScriptType(const nsAString & aContentScriptType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentScriptType(aContentScriptType); } \
NS_SCRIPTABLE NS_IMETHOD GetContentStyleType(nsAString & aContentStyleType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentStyleType(aContentStyleType); } \
NS_SCRIPTABLE NS_IMETHOD SetContentStyleType(const nsAString & aContentStyleType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentStyleType(aContentStyleType); } \
NS_SCRIPTABLE NS_IMETHOD GetViewport(nsIDOMSVGRect * *aViewport) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewport(aViewport); } \
NS_SCRIPTABLE NS_IMETHOD GetPixelUnitToMillimeterX(float *aPixelUnitToMillimeterX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPixelUnitToMillimeterX(aPixelUnitToMillimeterX); } \
NS_SCRIPTABLE NS_IMETHOD GetPixelUnitToMillimeterY(float *aPixelUnitToMillimeterY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPixelUnitToMillimeterY(aPixelUnitToMillimeterY); } \
NS_SCRIPTABLE NS_IMETHOD GetScreenPixelToMillimeterX(float *aScreenPixelToMillimeterX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScreenPixelToMillimeterX(aScreenPixelToMillimeterX); } \
NS_SCRIPTABLE NS_IMETHOD GetScreenPixelToMillimeterY(float *aScreenPixelToMillimeterY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScreenPixelToMillimeterY(aScreenPixelToMillimeterY); } \
NS_SCRIPTABLE NS_IMETHOD GetUseCurrentView(bool *aUseCurrentView) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUseCurrentView(aUseCurrentView); } \
NS_SCRIPTABLE NS_IMETHOD SetUseCurrentView(bool aUseCurrentView) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUseCurrentView(aUseCurrentView); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentView(nsIDOMSVGViewSpec * *aCurrentView) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentView(aCurrentView); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentScale(float *aCurrentScale) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentScale(aCurrentScale); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentScale(float aCurrentScale) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentScale(aCurrentScale); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentTranslate(nsIDOMSVGPoint * *aCurrentTranslate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentTranslate(aCurrentTranslate); } \
NS_SCRIPTABLE NS_IMETHOD SuspendRedraw(PRUint32 max_wait_milliseconds, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->SuspendRedraw(max_wait_milliseconds, _retval); } \
NS_SCRIPTABLE NS_IMETHOD UnsuspendRedraw(PRUint32 suspend_handle_id) { return !_to ? NS_ERROR_NULL_POINTER : _to->UnsuspendRedraw(suspend_handle_id); } \
NS_SCRIPTABLE NS_IMETHOD UnsuspendRedrawAll(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->UnsuspendRedrawAll(); } \
NS_SCRIPTABLE NS_IMETHOD ForceRedraw(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ForceRedraw(); } \
NS_SCRIPTABLE NS_IMETHOD PauseAnimations(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->PauseAnimations(); } \
NS_SCRIPTABLE NS_IMETHOD UnpauseAnimations(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->UnpauseAnimations(); } \
NS_SCRIPTABLE NS_IMETHOD AnimationsPaused(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->AnimationsPaused(_retval); } \
NS_SCRIPTABLE NS_IMETHOD GetCurrentTime(float *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentTime(_retval); } \
NS_SCRIPTABLE NS_IMETHOD SetCurrentTime(float seconds) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCurrentTime(seconds); } \
NS_SCRIPTABLE NS_IMETHOD GetIntersectionList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIntersectionList(rect, referenceElement, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetEnclosureList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnclosureList(rect, referenceElement, _retval); } \
NS_SCRIPTABLE NS_IMETHOD CheckIntersection(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckIntersection(element, rect, _retval); } \
NS_SCRIPTABLE NS_IMETHOD CheckEnclosure(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckEnclosure(element, rect, _retval); } \
NS_SCRIPTABLE NS_IMETHOD DeSelectAll(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeSelectAll(); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGNumber(nsIDOMSVGNumber * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGNumber(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGLength(nsIDOMSVGLength * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGLength(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGAngle(nsIDOMSVGAngle * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGAngle(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGPoint(nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPoint(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGMatrix(nsIDOMSVGMatrix * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGMatrix(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGRect(nsIDOMSVGRect * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGRect(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGTransform(nsIDOMSVGTransform * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGTransform(_retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateSVGTransformFromMatrix(nsIDOMSVGMatrix *matrix, nsIDOMSVGTransform * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGTransformFromMatrix(matrix, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetElementById(elementId, _retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMSVGSVGElement : public nsIDOMSVGSVGElement
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMSVGSVGELEMENT
nsDOMSVGSVGElement();
private:
~nsDOMSVGSVGElement();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMSVGSVGElement, nsIDOMSVGSVGElement)
nsDOMSVGSVGElement::nsDOMSVGSVGElement()
{
/* member initializers and constructor code */
}
nsDOMSVGSVGElement::~nsDOMSVGSVGElement()
{
/* destructor code */
}
/* readonly attribute nsIDOMSVGAnimatedLength x; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetX(nsIDOMSVGAnimatedLength * *aX)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMSVGAnimatedLength y; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetY(nsIDOMSVGAnimatedLength * *aY)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMSVGAnimatedLength width; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetWidth(nsIDOMSVGAnimatedLength * *aWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMSVGAnimatedLength height; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetHeight(nsIDOMSVGAnimatedLength * *aHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString contentScriptType; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetContentScriptType(nsAString & aContentScriptType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGSVGElement::SetContentScriptType(const nsAString & aContentScriptType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute DOMString contentStyleType; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetContentStyleType(nsAString & aContentStyleType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGSVGElement::SetContentStyleType(const nsAString & aContentStyleType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMSVGRect viewport; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetViewport(nsIDOMSVGRect * *aViewport)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute float pixelUnitToMillimeterX; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetPixelUnitToMillimeterX(float *aPixelUnitToMillimeterX)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute float pixelUnitToMillimeterY; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetPixelUnitToMillimeterY(float *aPixelUnitToMillimeterY)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute float screenPixelToMillimeterX; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetScreenPixelToMillimeterX(float *aScreenPixelToMillimeterX)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute float screenPixelToMillimeterY; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetScreenPixelToMillimeterY(float *aScreenPixelToMillimeterY)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean useCurrentView; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetUseCurrentView(bool *aUseCurrentView)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGSVGElement::SetUseCurrentView(bool aUseCurrentView)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMSVGViewSpec currentView; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetCurrentView(nsIDOMSVGViewSpec * *aCurrentView)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute float currentScale; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetCurrentScale(float *aCurrentScale)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMSVGSVGElement::SetCurrentScale(float aCurrentScale)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMSVGPoint currentTranslate; */
NS_IMETHODIMP nsDOMSVGSVGElement::GetCurrentTranslate(nsIDOMSVGPoint * *aCurrentTranslate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* unsigned long suspendRedraw (in unsigned long max_wait_milliseconds); */
NS_IMETHODIMP nsDOMSVGSVGElement::SuspendRedraw(PRUint32 max_wait_milliseconds, PRUint32 *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void unsuspendRedraw (in unsigned long suspend_handle_id); */
NS_IMETHODIMP nsDOMSVGSVGElement::UnsuspendRedraw(PRUint32 suspend_handle_id)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void unsuspendRedrawAll (); */
NS_IMETHODIMP nsDOMSVGSVGElement::UnsuspendRedrawAll()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void forceRedraw (); */
NS_IMETHODIMP nsDOMSVGSVGElement::ForceRedraw()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void pauseAnimations (); */
NS_IMETHODIMP nsDOMSVGSVGElement::PauseAnimations()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void unpauseAnimations (); */
NS_IMETHODIMP nsDOMSVGSVGElement::UnpauseAnimations()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean animationsPaused (); */
NS_IMETHODIMP nsDOMSVGSVGElement::AnimationsPaused(bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* float getCurrentTime (); */
NS_IMETHODIMP nsDOMSVGSVGElement::GetCurrentTime(float *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setCurrentTime (in float seconds); */
NS_IMETHODIMP nsDOMSVGSVGElement::SetCurrentTime(float seconds)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMNodeList getIntersectionList (in nsIDOMSVGRect rect, in nsIDOMSVGElement referenceElement); */
NS_IMETHODIMP nsDOMSVGSVGElement::GetIntersectionList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMNodeList getEnclosureList (in nsIDOMSVGRect rect, in nsIDOMSVGElement referenceElement); */
NS_IMETHODIMP nsDOMSVGSVGElement::GetEnclosureList(nsIDOMSVGRect *rect, nsIDOMSVGElement *referenceElement, nsIDOMNodeList * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean checkIntersection (in nsIDOMSVGElement element, in nsIDOMSVGRect rect); */
NS_IMETHODIMP nsDOMSVGSVGElement::CheckIntersection(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean checkEnclosure (in nsIDOMSVGElement element, in nsIDOMSVGRect rect); */
NS_IMETHODIMP nsDOMSVGSVGElement::CheckEnclosure(nsIDOMSVGElement *element, nsIDOMSVGRect *rect, bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void deSelectAll (); */
NS_IMETHODIMP nsDOMSVGSVGElement::DeSelectAll()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMSVGNumber createSVGNumber (); */
NS_IMETHODIMP nsDOMSVGSVGElement::CreateSVGNumber(nsIDOMSVGNumber * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMSVGLength createSVGLength (); */
NS_IMETHODIMP nsDOMSVGSVGElement::CreateSVGLength(nsIDOMSVGLength * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMSVGAngle createSVGAngle (); */
NS_IMETHODIMP nsDOMSVGSVGElement::CreateSVGAngle(nsIDOMSVGAngle * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMSVGPoint createSVGPoint (); */
NS_IMETHODIMP nsDOMSVGSVGElement::CreateSVGPoint(nsIDOMSVGPoint * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMSVGMatrix createSVGMatrix (); */
NS_IMETHODIMP nsDOMSVGSVGElement::CreateSVGMatrix(nsIDOMSVGMatrix * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMSVGRect createSVGRect (); */
NS_IMETHODIMP nsDOMSVGSVGElement::CreateSVGRect(nsIDOMSVGRect * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMSVGTransform createSVGTransform (); */
NS_IMETHODIMP nsDOMSVGSVGElement::CreateSVGTransform(nsIDOMSVGTransform * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMSVGTransform createSVGTransformFromMatrix (in nsIDOMSVGMatrix matrix); */
NS_IMETHODIMP nsDOMSVGSVGElement::CreateSVGTransformFromMatrix(nsIDOMSVGMatrix *matrix, nsIDOMSVGTransform * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIDOMElement getElementById (in DOMString elementId); */
NS_IMETHODIMP nsDOMSVGSVGElement::GetElementById(const nsAString & elementId, nsIDOMElement * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMSVGSVGElement_h__ */
|