DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/calendar/base/public/calIICSService.idl
 */

#ifndef __gen_calIICSService_h__
#define __gen_calIICSService_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "js/Value.h"

#include "js/GCAnnotations.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class calIItemBase; /* forward declaration */

class calIDateTime; /* forward declaration */

class calIDuration; /* forward declaration */

class calITimezone; /* forward declaration */

class calITimezoneProvider; /* forward declaration */

class calIIcalProperty; /* forward declaration */

class nsIUTF8StringEnumerator; /* forward declaration */

class nsIInputStream; /* forward declaration */


/* starting interface:    calIIcalComponent */
#define CALIICALCOMPONENT_IID_STR "59132cf2-e48c-4807-ab53-779f414a7fbc"

#define CALIICALCOMPONENT_IID \
  {0x59132cf2, 0xe48c, 0x4807, \
    { 0xab, 0x53, 0x77, 0x9f, 0x41, 0x4a, 0x7f, 0xbc }}

class NS_NO_VTABLE calIIcalComponent : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICALCOMPONENT_IID)

  /* readonly attribute calIIcalComponent parent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetParent(calIIcalComponent **aParent) = 0;

  /* attribute jsval icalComponent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalComponent(JS::MutableHandleValue aIcalComponent) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalComponent(JS::HandleValue aIcalComponent) = 0;

  /* attribute jsval icalTimezone; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalTimezone(JS::MutableHandleValue aIcalTimezone) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalTimezone(JS::HandleValue aIcalTimezone) = 0;

  enum {
    INVALID_VALUE = -1
  };

  /* calIIcalComponent getFirstSubcomponent (in AUTF8String componentType); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFirstSubcomponent(const nsACString& componentType, calIIcalComponent **_retval) = 0;

  /* calIIcalComponent getNextSubcomponent (in AUTF8String componentType); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNextSubcomponent(const nsACString& componentType, calIIcalComponent **_retval) = 0;

  /* readonly attribute AUTF8String componentType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetComponentType(nsACString& aComponentType) = 0;

  /* attribute AUTF8String uid; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUid(nsACString& aUid) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUid(const nsACString& aUid) = 0;

  /* attribute AUTF8String prodid; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProdid(nsACString& aProdid) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetProdid(const nsACString& aProdid) = 0;

  /* attribute AUTF8String version; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetVersion(nsACString& aVersion) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetVersion(const nsACString& aVersion) = 0;

  /* attribute AUTF8String method; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMethod(nsACString& aMethod) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMethod(const nsACString& aMethod) = 0;

  /* attribute AUTF8String status; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStatus(nsACString& aStatus) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStatus(const nsACString& aStatus) = 0;

  /* attribute AUTF8String summary; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSummary(nsACString& aSummary) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSummary(const nsACString& aSummary) = 0;

  /* attribute AUTF8String description; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDescription(nsACString& aDescription) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDescription(const nsACString& aDescription) = 0;

  /* attribute AUTF8String location; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLocation(nsACString& aLocation) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLocation(const nsACString& aLocation) = 0;

  /* attribute AUTF8String categories; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCategories(nsACString& aCategories) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCategories(const nsACString& aCategories) = 0;

  /* attribute AUTF8String URL; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetURL(nsACString& aURL) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetURL(const nsACString& aURL) = 0;

  /* attribute int32_t priority; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPriority(int32_t *aPriority) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPriority(int32_t aPriority) = 0;

  /* attribute calIDateTime startTime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStartTime(calIDateTime **aStartTime) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStartTime(calIDateTime *aStartTime) = 0;

  /* attribute calIDateTime endTime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetEndTime(calIDateTime **aEndTime) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetEndTime(calIDateTime *aEndTime) = 0;

  /* readonly attribute calIDuration duration; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDuration(calIDuration **aDuration) = 0;

  /* attribute calIDateTime dueTime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDueTime(calIDateTime **aDueTime) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDueTime(calIDateTime *aDueTime) = 0;

  /* attribute calIDateTime stampTime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStampTime(calIDateTime **aStampTime) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStampTime(calIDateTime *aStampTime) = 0;

  /* attribute calIDateTime createdTime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCreatedTime(calIDateTime **aCreatedTime) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCreatedTime(calIDateTime *aCreatedTime) = 0;

  /* attribute calIDateTime completedTime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCompletedTime(calIDateTime **aCompletedTime) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCompletedTime(calIDateTime *aCompletedTime) = 0;

  /* attribute calIDateTime lastModified; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLastModified(calIDateTime **aLastModified) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLastModified(calIDateTime *aLastModified) = 0;

  /* attribute calIDateTime recurrenceId; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRecurrenceId(calIDateTime **aRecurrenceId) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRecurrenceId(calIDateTime *aRecurrenceId) = 0;

  /* AUTF8String serializeToICS (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SerializeToICS(nsACString& _retval) = 0;

  /* AUTF8String toString (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ToString(nsACString& _retval) = 0;

  /* nsIInputStream serializeToICSStream (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SerializeToICSStream(nsIInputStream **_retval) = 0;

  /* void addSubcomponent (in calIIcalComponent comp); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddSubcomponent(calIIcalComponent *comp) = 0;

  /* calIIcalProperty getFirstProperty (in AUTF8String kind); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFirstProperty(const nsACString& kind, calIIcalProperty **_retval) = 0;

  /* calIIcalProperty getNextProperty (in AUTF8String kind); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNextProperty(const nsACString& kind, calIIcalProperty **_retval) = 0;

  /* void addProperty (in calIIcalProperty prop); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddProperty(calIIcalProperty *prop) = 0;

  /* void addTimezoneReference (in calITimezone aTimezone); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddTimezoneReference(calITimezone *aTimezone) = 0;

  /* void getReferencedTimezones (out uint32_t aCount, [array, size_is (aCount), retval] out calITimezone aTimezones); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReferencedTimezones(uint32_t *aCount, calITimezone ***aTimezones) = 0;

  /* calIIcalComponent clone (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Clone(calIIcalComponent **_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcalComponent, CALIICALCOMPONENT_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICALCOMPONENT \
  NS_IMETHOD GetParent(calIIcalComponent **aParent) override; \
  NS_IMETHOD GetIcalComponent(JS::MutableHandleValue aIcalComponent) override; \
  NS_IMETHOD SetIcalComponent(JS::HandleValue aIcalComponent) override; \
  NS_IMETHOD GetIcalTimezone(JS::MutableHandleValue aIcalTimezone) override; \
  NS_IMETHOD SetIcalTimezone(JS::HandleValue aIcalTimezone) override; \
  NS_IMETHOD GetFirstSubcomponent(const nsACString& componentType, calIIcalComponent **_retval) override; \
  NS_IMETHOD GetNextSubcomponent(const nsACString& componentType, calIIcalComponent **_retval) override; \
  NS_IMETHOD GetComponentType(nsACString& aComponentType) override; \
  NS_IMETHOD GetUid(nsACString& aUid) override; \
  NS_IMETHOD SetUid(const nsACString& aUid) override; \
  NS_IMETHOD GetProdid(nsACString& aProdid) override; \
  NS_IMETHOD SetProdid(const nsACString& aProdid) override; \
  NS_IMETHOD GetVersion(nsACString& aVersion) override; \
  NS_IMETHOD SetVersion(const nsACString& aVersion) override; \
  NS_IMETHOD GetMethod(nsACString& aMethod) override; \
  NS_IMETHOD SetMethod(const nsACString& aMethod) override; \
  NS_IMETHOD GetStatus(nsACString& aStatus) override; \
  NS_IMETHOD SetStatus(const nsACString& aStatus) override; \
  NS_IMETHOD GetSummary(nsACString& aSummary) override; \
  NS_IMETHOD SetSummary(const nsACString& aSummary) override; \
  NS_IMETHOD GetDescription(nsACString& aDescription) override; \
  NS_IMETHOD SetDescription(const nsACString& aDescription) override; \
  NS_IMETHOD GetLocation(nsACString& aLocation) override; \
  NS_IMETHOD SetLocation(const nsACString& aLocation) override; \
  NS_IMETHOD GetCategories(nsACString& aCategories) override; \
  NS_IMETHOD SetCategories(const nsACString& aCategories) override; \
  NS_IMETHOD GetURL(nsACString& aURL) override; \
  NS_IMETHOD SetURL(const nsACString& aURL) override; \
  NS_IMETHOD GetPriority(int32_t *aPriority) override; \
  NS_IMETHOD SetPriority(int32_t aPriority) override; \
  NS_IMETHOD GetStartTime(calIDateTime **aStartTime) override; \
  NS_IMETHOD SetStartTime(calIDateTime *aStartTime) override; \
  NS_IMETHOD GetEndTime(calIDateTime **aEndTime) override; \
  NS_IMETHOD SetEndTime(calIDateTime *aEndTime) override; \
  NS_IMETHOD GetDuration(calIDuration **aDuration) override; \
  NS_IMETHOD GetDueTime(calIDateTime **aDueTime) override; \
  NS_IMETHOD SetDueTime(calIDateTime *aDueTime) override; \
  NS_IMETHOD GetStampTime(calIDateTime **aStampTime) override; \
  NS_IMETHOD SetStampTime(calIDateTime *aStampTime) override; \
  NS_IMETHOD GetCreatedTime(calIDateTime **aCreatedTime) override; \
  NS_IMETHOD SetCreatedTime(calIDateTime *aCreatedTime) override; \
  NS_IMETHOD GetCompletedTime(calIDateTime **aCompletedTime) override; \
  NS_IMETHOD SetCompletedTime(calIDateTime *aCompletedTime) override; \
  NS_IMETHOD GetLastModified(calIDateTime **aLastModified) override; \
  NS_IMETHOD SetLastModified(calIDateTime *aLastModified) override; \
  NS_IMETHOD GetRecurrenceId(calIDateTime **aRecurrenceId) override; \
  NS_IMETHOD SetRecurrenceId(calIDateTime *aRecurrenceId) override; \
  NS_IMETHOD SerializeToICS(nsACString& _retval) override; \
  NS_IMETHOD ToString(nsACString& _retval) override; \
  NS_IMETHOD SerializeToICSStream(nsIInputStream **_retval) override; \
  NS_IMETHOD AddSubcomponent(calIIcalComponent *comp) override; \
  NS_IMETHOD GetFirstProperty(const nsACString& kind, calIIcalProperty **_retval) override; \
  NS_IMETHOD GetNextProperty(const nsACString& kind, calIIcalProperty **_retval) override; \
  NS_IMETHOD AddProperty(calIIcalProperty *prop) override; \
  NS_IMETHOD AddTimezoneReference(calITimezone *aTimezone) override; \
  NS_IMETHOD GetReferencedTimezones(uint32_t *aCount, calITimezone ***aTimezones) override; \
  NS_IMETHOD Clone(calIIcalComponent **_retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIICALCOMPONENT \
  nsresult GetParent(calIIcalComponent **aParent); \
  nsresult GetIcalComponent(JS::MutableHandleValue aIcalComponent); \
  nsresult SetIcalComponent(JS::HandleValue aIcalComponent); \
  nsresult GetIcalTimezone(JS::MutableHandleValue aIcalTimezone); \
  nsresult SetIcalTimezone(JS::HandleValue aIcalTimezone); \
  nsresult GetFirstSubcomponent(const nsACString& componentType, calIIcalComponent **_retval); \
  nsresult GetNextSubcomponent(const nsACString& componentType, calIIcalComponent **_retval); \
  nsresult GetComponentType(nsACString& aComponentType); \
  nsresult GetUid(nsACString& aUid); \
  nsresult SetUid(const nsACString& aUid); \
  nsresult GetProdid(nsACString& aProdid); \
  nsresult SetProdid(const nsACString& aProdid); \
  nsresult GetVersion(nsACString& aVersion); \
  nsresult SetVersion(const nsACString& aVersion); \
  nsresult GetMethod(nsACString& aMethod); \
  nsresult SetMethod(const nsACString& aMethod); \
  nsresult GetStatus(nsACString& aStatus); \
  nsresult SetStatus(const nsACString& aStatus); \
  nsresult GetSummary(nsACString& aSummary); \
  nsresult SetSummary(const nsACString& aSummary); \
  nsresult GetDescription(nsACString& aDescription); \
  nsresult SetDescription(const nsACString& aDescription); \
  nsresult GetLocation(nsACString& aLocation); \
  nsresult SetLocation(const nsACString& aLocation); \
  nsresult GetCategories(nsACString& aCategories); \
  nsresult SetCategories(const nsACString& aCategories); \
  nsresult GetURL(nsACString& aURL); \
  nsresult SetURL(const nsACString& aURL); \
  nsresult GetPriority(int32_t *aPriority); \
  nsresult SetPriority(int32_t aPriority); \
  nsresult GetStartTime(calIDateTime **aStartTime); \
  nsresult SetStartTime(calIDateTime *aStartTime); \
  nsresult GetEndTime(calIDateTime **aEndTime); \
  nsresult SetEndTime(calIDateTime *aEndTime); \
  nsresult GetDuration(calIDuration **aDuration); \
  nsresult GetDueTime(calIDateTime **aDueTime); \
  nsresult SetDueTime(calIDateTime *aDueTime); \
  nsresult GetStampTime(calIDateTime **aStampTime); \
  nsresult SetStampTime(calIDateTime *aStampTime); \
  nsresult GetCreatedTime(calIDateTime **aCreatedTime); \
  nsresult SetCreatedTime(calIDateTime *aCreatedTime); \
  nsresult GetCompletedTime(calIDateTime **aCompletedTime); \
  nsresult SetCompletedTime(calIDateTime *aCompletedTime); \
  nsresult GetLastModified(calIDateTime **aLastModified); \
  nsresult SetLastModified(calIDateTime *aLastModified); \
  nsresult GetRecurrenceId(calIDateTime **aRecurrenceId); \
  nsresult SetRecurrenceId(calIDateTime *aRecurrenceId); \
  nsresult SerializeToICS(nsACString& _retval); \
  nsresult ToString(nsACString& _retval); \
  nsresult SerializeToICSStream(nsIInputStream **_retval); \
  nsresult AddSubcomponent(calIIcalComponent *comp); \
  nsresult GetFirstProperty(const nsACString& kind, calIIcalProperty **_retval); \
  nsresult GetNextProperty(const nsACString& kind, calIIcalProperty **_retval); \
  nsresult AddProperty(calIIcalProperty *prop); \
  nsresult AddTimezoneReference(calITimezone *aTimezone); \
  nsresult GetReferencedTimezones(uint32_t *aCount, calITimezone ***aTimezones); \
  nsresult Clone(calIIcalComponent **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICALCOMPONENT(_to) \
  NS_IMETHOD GetParent(calIIcalComponent **aParent) override { return _to GetParent(aParent); } \
  NS_IMETHOD GetIcalComponent(JS::MutableHandleValue aIcalComponent) override { return _to GetIcalComponent(aIcalComponent); } \
  NS_IMETHOD SetIcalComponent(JS::HandleValue aIcalComponent) override { return _to SetIcalComponent(aIcalComponent); } \
  NS_IMETHOD GetIcalTimezone(JS::MutableHandleValue aIcalTimezone) override { return _to GetIcalTimezone(aIcalTimezone); } \
  NS_IMETHOD SetIcalTimezone(JS::HandleValue aIcalTimezone) override { return _to SetIcalTimezone(aIcalTimezone); } \
  NS_IMETHOD GetFirstSubcomponent(const nsACString& componentType, calIIcalComponent **_retval) override { return _to GetFirstSubcomponent(componentType, _retval); } \
  NS_IMETHOD GetNextSubcomponent(const nsACString& componentType, calIIcalComponent **_retval) override { return _to GetNextSubcomponent(componentType, _retval); } \
  NS_IMETHOD GetComponentType(nsACString& aComponentType) override { return _to GetComponentType(aComponentType); } \
  NS_IMETHOD GetUid(nsACString& aUid) override { return _to GetUid(aUid); } \
  NS_IMETHOD SetUid(const nsACString& aUid) override { return _to SetUid(aUid); } \
  NS_IMETHOD GetProdid(nsACString& aProdid) override { return _to GetProdid(aProdid); } \
  NS_IMETHOD SetProdid(const nsACString& aProdid) override { return _to SetProdid(aProdid); } \
  NS_IMETHOD GetVersion(nsACString& aVersion) override { return _to GetVersion(aVersion); } \
  NS_IMETHOD SetVersion(const nsACString& aVersion) override { return _to SetVersion(aVersion); } \
  NS_IMETHOD GetMethod(nsACString& aMethod) override { return _to GetMethod(aMethod); } \
  NS_IMETHOD SetMethod(const nsACString& aMethod) override { return _to SetMethod(aMethod); } \
  NS_IMETHOD GetStatus(nsACString& aStatus) override { return _to GetStatus(aStatus); } \
  NS_IMETHOD SetStatus(const nsACString& aStatus) override { return _to SetStatus(aStatus); } \
  NS_IMETHOD GetSummary(nsACString& aSummary) override { return _to GetSummary(aSummary); } \
  NS_IMETHOD SetSummary(const nsACString& aSummary) override { return _to SetSummary(aSummary); } \
  NS_IMETHOD GetDescription(nsACString& aDescription) override { return _to GetDescription(aDescription); } \
  NS_IMETHOD SetDescription(const nsACString& aDescription) override { return _to SetDescription(aDescription); } \
  NS_IMETHOD GetLocation(nsACString& aLocation) override { return _to GetLocation(aLocation); } \
  NS_IMETHOD SetLocation(const nsACString& aLocation) override { return _to SetLocation(aLocation); } \
  NS_IMETHOD GetCategories(nsACString& aCategories) override { return _to GetCategories(aCategories); } \
  NS_IMETHOD SetCategories(const nsACString& aCategories) override { return _to SetCategories(aCategories); } \
  NS_IMETHOD GetURL(nsACString& aURL) override { return _to GetURL(aURL); } \
  NS_IMETHOD SetURL(const nsACString& aURL) override { return _to SetURL(aURL); } \
  NS_IMETHOD GetPriority(int32_t *aPriority) override { return _to GetPriority(aPriority); } \
  NS_IMETHOD SetPriority(int32_t aPriority) override { return _to SetPriority(aPriority); } \
  NS_IMETHOD GetStartTime(calIDateTime **aStartTime) override { return _to GetStartTime(aStartTime); } \
  NS_IMETHOD SetStartTime(calIDateTime *aStartTime) override { return _to SetStartTime(aStartTime); } \
  NS_IMETHOD GetEndTime(calIDateTime **aEndTime) override { return _to GetEndTime(aEndTime); } \
  NS_IMETHOD SetEndTime(calIDateTime *aEndTime) override { return _to SetEndTime(aEndTime); } \
  NS_IMETHOD GetDuration(calIDuration **aDuration) override { return _to GetDuration(aDuration); } \
  NS_IMETHOD GetDueTime(calIDateTime **aDueTime) override { return _to GetDueTime(aDueTime); } \
  NS_IMETHOD SetDueTime(calIDateTime *aDueTime) override { return _to SetDueTime(aDueTime); } \
  NS_IMETHOD GetStampTime(calIDateTime **aStampTime) override { return _to GetStampTime(aStampTime); } \
  NS_IMETHOD SetStampTime(calIDateTime *aStampTime) override { return _to SetStampTime(aStampTime); } \
  NS_IMETHOD GetCreatedTime(calIDateTime **aCreatedTime) override { return _to GetCreatedTime(aCreatedTime); } \
  NS_IMETHOD SetCreatedTime(calIDateTime *aCreatedTime) override { return _to SetCreatedTime(aCreatedTime); } \
  NS_IMETHOD GetCompletedTime(calIDateTime **aCompletedTime) override { return _to GetCompletedTime(aCompletedTime); } \
  NS_IMETHOD SetCompletedTime(calIDateTime *aCompletedTime) override { return _to SetCompletedTime(aCompletedTime); } \
  NS_IMETHOD GetLastModified(calIDateTime **aLastModified) override { return _to GetLastModified(aLastModified); } \
  NS_IMETHOD SetLastModified(calIDateTime *aLastModified) override { return _to SetLastModified(aLastModified); } \
  NS_IMETHOD GetRecurrenceId(calIDateTime **aRecurrenceId) override { return _to GetRecurrenceId(aRecurrenceId); } \
  NS_IMETHOD SetRecurrenceId(calIDateTime *aRecurrenceId) override { return _to SetRecurrenceId(aRecurrenceId); } \
  NS_IMETHOD SerializeToICS(nsACString& _retval) override { return _to SerializeToICS(_retval); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return _to ToString(_retval); } \
  NS_IMETHOD SerializeToICSStream(nsIInputStream **_retval) override { return _to SerializeToICSStream(_retval); } \
  NS_IMETHOD AddSubcomponent(calIIcalComponent *comp) override { return _to AddSubcomponent(comp); } \
  NS_IMETHOD GetFirstProperty(const nsACString& kind, calIIcalProperty **_retval) override { return _to GetFirstProperty(kind, _retval); } \
  NS_IMETHOD GetNextProperty(const nsACString& kind, calIIcalProperty **_retval) override { return _to GetNextProperty(kind, _retval); } \
  NS_IMETHOD AddProperty(calIIcalProperty *prop) override { return _to AddProperty(prop); } \
  NS_IMETHOD AddTimezoneReference(calITimezone *aTimezone) override { return _to AddTimezoneReference(aTimezone); } \
  NS_IMETHOD GetReferencedTimezones(uint32_t *aCount, calITimezone ***aTimezones) override { return _to GetReferencedTimezones(aCount, aTimezones); } \
  NS_IMETHOD Clone(calIIcalComponent **_retval) override { return _to Clone(_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_CALIICALCOMPONENT(_to) \
  NS_IMETHOD GetParent(calIIcalComponent **aParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParent(aParent); } \
  NS_IMETHOD GetIcalComponent(JS::MutableHandleValue aIcalComponent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalComponent(aIcalComponent); } \
  NS_IMETHOD SetIcalComponent(JS::HandleValue aIcalComponent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalComponent(aIcalComponent); } \
  NS_IMETHOD GetIcalTimezone(JS::MutableHandleValue aIcalTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalTimezone(aIcalTimezone); } \
  NS_IMETHOD SetIcalTimezone(JS::HandleValue aIcalTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalTimezone(aIcalTimezone); } \
  NS_IMETHOD GetFirstSubcomponent(const nsACString& componentType, calIIcalComponent **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstSubcomponent(componentType, _retval); } \
  NS_IMETHOD GetNextSubcomponent(const nsACString& componentType, calIIcalComponent **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextSubcomponent(componentType, _retval); } \
  NS_IMETHOD GetComponentType(nsACString& aComponentType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComponentType(aComponentType); } \
  NS_IMETHOD GetUid(nsACString& aUid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUid(aUid); } \
  NS_IMETHOD SetUid(const nsACString& aUid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUid(aUid); } \
  NS_IMETHOD GetProdid(nsACString& aProdid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProdid(aProdid); } \
  NS_IMETHOD SetProdid(const nsACString& aProdid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProdid(aProdid); } \
  NS_IMETHOD GetVersion(nsACString& aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
  NS_IMETHOD SetVersion(const nsACString& aVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVersion(aVersion); } \
  NS_IMETHOD GetMethod(nsACString& aMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMethod(aMethod); } \
  NS_IMETHOD SetMethod(const nsACString& aMethod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMethod(aMethod); } \
  NS_IMETHOD GetStatus(nsACString& aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatus(aStatus); } \
  NS_IMETHOD SetStatus(const nsACString& aStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatus(aStatus); } \
  NS_IMETHOD GetSummary(nsACString& aSummary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSummary(aSummary); } \
  NS_IMETHOD SetSummary(const nsACString& aSummary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSummary(aSummary); } \
  NS_IMETHOD GetDescription(nsACString& aDescription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDescription(aDescription); } \
  NS_IMETHOD SetDescription(const nsACString& aDescription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDescription(aDescription); } \
  NS_IMETHOD GetLocation(nsACString& aLocation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
  NS_IMETHOD SetLocation(const nsACString& aLocation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocation(aLocation); } \
  NS_IMETHOD GetCategories(nsACString& aCategories) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCategories(aCategories); } \
  NS_IMETHOD SetCategories(const nsACString& aCategories) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCategories(aCategories); } \
  NS_IMETHOD GetURL(nsACString& aURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURL(aURL); } \
  NS_IMETHOD SetURL(const nsACString& aURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetURL(aURL); } \
  NS_IMETHOD GetPriority(int32_t *aPriority) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPriority(aPriority); } \
  NS_IMETHOD SetPriority(int32_t aPriority) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPriority(aPriority); } \
  NS_IMETHOD GetStartTime(calIDateTime **aStartTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartTime(aStartTime); } \
  NS_IMETHOD SetStartTime(calIDateTime *aStartTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartTime(aStartTime); } \
  NS_IMETHOD GetEndTime(calIDateTime **aEndTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndTime(aEndTime); } \
  NS_IMETHOD SetEndTime(calIDateTime *aEndTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEndTime(aEndTime); } \
  NS_IMETHOD GetDuration(calIDuration **aDuration) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDuration(aDuration); } \
  NS_IMETHOD GetDueTime(calIDateTime **aDueTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDueTime(aDueTime); } \
  NS_IMETHOD SetDueTime(calIDateTime *aDueTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDueTime(aDueTime); } \
  NS_IMETHOD GetStampTime(calIDateTime **aStampTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStampTime(aStampTime); } \
  NS_IMETHOD SetStampTime(calIDateTime *aStampTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStampTime(aStampTime); } \
  NS_IMETHOD GetCreatedTime(calIDateTime **aCreatedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCreatedTime(aCreatedTime); } \
  NS_IMETHOD SetCreatedTime(calIDateTime *aCreatedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCreatedTime(aCreatedTime); } \
  NS_IMETHOD GetCompletedTime(calIDateTime **aCompletedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompletedTime(aCompletedTime); } \
  NS_IMETHOD SetCompletedTime(calIDateTime *aCompletedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCompletedTime(aCompletedTime); } \
  NS_IMETHOD GetLastModified(calIDateTime **aLastModified) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastModified(aLastModified); } \
  NS_IMETHOD SetLastModified(calIDateTime *aLastModified) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLastModified(aLastModified); } \
  NS_IMETHOD GetRecurrenceId(calIDateTime **aRecurrenceId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRecurrenceId(aRecurrenceId); } \
  NS_IMETHOD SetRecurrenceId(calIDateTime *aRecurrenceId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRecurrenceId(aRecurrenceId); } \
  NS_IMETHOD SerializeToICS(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SerializeToICS(_retval); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
  NS_IMETHOD SerializeToICSStream(nsIInputStream **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SerializeToICSStream(_retval); } \
  NS_IMETHOD AddSubcomponent(calIIcalComponent *comp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddSubcomponent(comp); } \
  NS_IMETHOD GetFirstProperty(const nsACString& kind, calIIcalProperty **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstProperty(kind, _retval); } \
  NS_IMETHOD GetNextProperty(const nsACString& kind, calIIcalProperty **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextProperty(kind, _retval); } \
  NS_IMETHOD AddProperty(calIIcalProperty *prop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddProperty(prop); } \
  NS_IMETHOD AddTimezoneReference(calITimezone *aTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddTimezoneReference(aTimezone); } \
  NS_IMETHOD GetReferencedTimezones(uint32_t *aCount, calITimezone ***aTimezones) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReferencedTimezones(aCount, aTimezones); } \
  NS_IMETHOD Clone(calIIcalComponent **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } 


/* starting interface:    calIIcalProperty */
#define CALIICALPROPERTY_IID_STR "5b13a69c-53d3-44a0-9203-f89f7e5e1604"

#define CALIICALPROPERTY_IID \
  {0x5b13a69c, 0x53d3, 0x44a0, \
    { 0x92, 0x03, 0xf8, 0x9f, 0x7e, 0x5e, 0x16, 0x04 }}

class NS_NO_VTABLE calIIcalProperty : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICALPROPERTY_IID)

  /* readonly attribute AUTF8String icalString; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalString(nsACString& aIcalString) = 0;

  /* attribute jsval icalProperty; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalProperty(JS::MutableHandleValue aIcalProperty) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalProperty(JS::HandleValue aIcalProperty) = 0;

  /* readonly attribute calIIcalComponent parent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetParent(calIIcalComponent **aParent) = 0;

  /* AUTF8String toString (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ToString(nsACString& _retval) = 0;

  /* attribute AUTF8String value; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetValue(nsACString& aValue) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetValue(const nsACString& aValue) = 0;

  /* attribute AUTF8String valueAsIcalString; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetValueAsIcalString(nsACString& aValueAsIcalString) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetValueAsIcalString(const nsACString& aValueAsIcalString) = 0;

  /* attribute calIDateTime valueAsDatetime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetValueAsDatetime(calIDateTime **aValueAsDatetime) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetValueAsDatetime(calIDateTime *aValueAsDatetime) = 0;

  /* readonly attribute AUTF8String propertyName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPropertyName(nsACString& aPropertyName) = 0;

  /* AUTF8String getParameter (in AUTF8String paramname); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetParameter(const nsACString& paramname, nsACString& _retval) = 0;

  /* void setParameter (in AUTF8String paramname, in AUTF8String paramval); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetParameter(const nsACString& paramname, const nsACString& paramval) = 0;

  /* AUTF8String getFirstParameterName (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFirstParameterName(nsACString& _retval) = 0;

  /* AUTF8String getNextParameterName (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNextParameterName(nsACString& _retval) = 0;

  /* void removeParameter (in AUTF8String paramname); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveParameter(const nsACString& paramname) = 0;

  /* void clearXParameters (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ClearXParameters(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcalProperty, CALIICALPROPERTY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICALPROPERTY \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override; \
  NS_IMETHOD GetIcalProperty(JS::MutableHandleValue aIcalProperty) override; \
  NS_IMETHOD SetIcalProperty(JS::HandleValue aIcalProperty) override; \
  NS_IMETHOD GetParent(calIIcalComponent **aParent) override; \
  NS_IMETHOD ToString(nsACString& _retval) override; \
  NS_IMETHOD GetValue(nsACString& aValue) override; \
  NS_IMETHOD SetValue(const nsACString& aValue) override; \
  NS_IMETHOD GetValueAsIcalString(nsACString& aValueAsIcalString) override; \
  NS_IMETHOD SetValueAsIcalString(const nsACString& aValueAsIcalString) override; \
  NS_IMETHOD GetValueAsDatetime(calIDateTime **aValueAsDatetime) override; \
  NS_IMETHOD SetValueAsDatetime(calIDateTime *aValueAsDatetime) override; \
  NS_IMETHOD GetPropertyName(nsACString& aPropertyName) override; \
  NS_IMETHOD GetParameter(const nsACString& paramname, nsACString& _retval) override; \
  NS_IMETHOD SetParameter(const nsACString& paramname, const nsACString& paramval) override; \
  NS_IMETHOD GetFirstParameterName(nsACString& _retval) override; \
  NS_IMETHOD GetNextParameterName(nsACString& _retval) override; \
  NS_IMETHOD RemoveParameter(const nsACString& paramname) override; \
  NS_IMETHOD ClearXParameters(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIICALPROPERTY \
  nsresult GetIcalString(nsACString& aIcalString); \
  nsresult GetIcalProperty(JS::MutableHandleValue aIcalProperty); \
  nsresult SetIcalProperty(JS::HandleValue aIcalProperty); \
  nsresult GetParent(calIIcalComponent **aParent); \
  nsresult ToString(nsACString& _retval); \
  nsresult GetValue(nsACString& aValue); \
  nsresult SetValue(const nsACString& aValue); \
  nsresult GetValueAsIcalString(nsACString& aValueAsIcalString); \
  nsresult SetValueAsIcalString(const nsACString& aValueAsIcalString); \
  nsresult GetValueAsDatetime(calIDateTime **aValueAsDatetime); \
  nsresult SetValueAsDatetime(calIDateTime *aValueAsDatetime); \
  nsresult GetPropertyName(nsACString& aPropertyName); \
  nsresult GetParameter(const nsACString& paramname, nsACString& _retval); \
  nsresult SetParameter(const nsACString& paramname, const nsACString& paramval); \
  nsresult GetFirstParameterName(nsACString& _retval); \
  nsresult GetNextParameterName(nsACString& _retval); \
  nsresult RemoveParameter(const nsACString& paramname); \
  nsresult ClearXParameters(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICALPROPERTY(_to) \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override { return _to GetIcalString(aIcalString); } \
  NS_IMETHOD GetIcalProperty(JS::MutableHandleValue aIcalProperty) override { return _to GetIcalProperty(aIcalProperty); } \
  NS_IMETHOD SetIcalProperty(JS::HandleValue aIcalProperty) override { return _to SetIcalProperty(aIcalProperty); } \
  NS_IMETHOD GetParent(calIIcalComponent **aParent) override { return _to GetParent(aParent); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return _to ToString(_retval); } \
  NS_IMETHOD GetValue(nsACString& aValue) override { return _to GetValue(aValue); } \
  NS_IMETHOD SetValue(const nsACString& aValue) override { return _to SetValue(aValue); } \
  NS_IMETHOD GetValueAsIcalString(nsACString& aValueAsIcalString) override { return _to GetValueAsIcalString(aValueAsIcalString); } \
  NS_IMETHOD SetValueAsIcalString(const nsACString& aValueAsIcalString) override { return _to SetValueAsIcalString(aValueAsIcalString); } \
  NS_IMETHOD GetValueAsDatetime(calIDateTime **aValueAsDatetime) override { return _to GetValueAsDatetime(aValueAsDatetime); } \
  NS_IMETHOD SetValueAsDatetime(calIDateTime *aValueAsDatetime) override { return _to SetValueAsDatetime(aValueAsDatetime); } \
  NS_IMETHOD GetPropertyName(nsACString& aPropertyName) override { return _to GetPropertyName(aPropertyName); } \
  NS_IMETHOD GetParameter(const nsACString& paramname, nsACString& _retval) override { return _to GetParameter(paramname, _retval); } \
  NS_IMETHOD SetParameter(const nsACString& paramname, const nsACString& paramval) override { return _to SetParameter(paramname, paramval); } \
  NS_IMETHOD GetFirstParameterName(nsACString& _retval) override { return _to GetFirstParameterName(_retval); } \
  NS_IMETHOD GetNextParameterName(nsACString& _retval) override { return _to GetNextParameterName(_retval); } \
  NS_IMETHOD RemoveParameter(const nsACString& paramname) override { return _to RemoveParameter(paramname); } \
  NS_IMETHOD ClearXParameters(void) override { return _to ClearXParameters(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIICALPROPERTY(_to) \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalString(aIcalString); } \
  NS_IMETHOD GetIcalProperty(JS::MutableHandleValue aIcalProperty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalProperty(aIcalProperty); } \
  NS_IMETHOD SetIcalProperty(JS::HandleValue aIcalProperty) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalProperty(aIcalProperty); } \
  NS_IMETHOD GetParent(calIIcalComponent **aParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParent(aParent); } \
  NS_IMETHOD ToString(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
  NS_IMETHOD GetValue(nsACString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
  NS_IMETHOD SetValue(const nsACString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
  NS_IMETHOD GetValueAsIcalString(nsACString& aValueAsIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueAsIcalString(aValueAsIcalString); } \
  NS_IMETHOD SetValueAsIcalString(const nsACString& aValueAsIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueAsIcalString(aValueAsIcalString); } \
  NS_IMETHOD GetValueAsDatetime(calIDateTime **aValueAsDatetime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueAsDatetime(aValueAsDatetime); } \
  NS_IMETHOD SetValueAsDatetime(calIDateTime *aValueAsDatetime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueAsDatetime(aValueAsDatetime); } \
  NS_IMETHOD GetPropertyName(nsACString& aPropertyName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyName(aPropertyName); } \
  NS_IMETHOD GetParameter(const nsACString& paramname, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParameter(paramname, _retval); } \
  NS_IMETHOD SetParameter(const nsACString& paramname, const nsACString& paramval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParameter(paramname, paramval); } \
  NS_IMETHOD GetFirstParameterName(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFirstParameterName(_retval); } \
  NS_IMETHOD GetNextParameterName(nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextParameterName(_retval); } \
  NS_IMETHOD RemoveParameter(const nsACString& paramname) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveParameter(paramname); } \
  NS_IMETHOD ClearXParameters(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearXParameters(); } 


/* starting interface:    calIIcsComponentParsingListener */
#define CALIICSCOMPONENTPARSINGLISTENER_IID_STR "eda9565f-f9bb-4846-b134-1e0653b2e767"

#define CALIICSCOMPONENTPARSINGLISTENER_IID \
  {0xeda9565f, 0xf9bb, 0x4846, \
    { 0xb1, 0x34, 0x1e, 0x06, 0x53, 0xb2, 0xe7, 0x67 }}

class NS_NO_VTABLE calIIcsComponentParsingListener : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICSCOMPONENTPARSINGLISTENER_IID)

  /* void onParsingComplete (in nsresult rc, in calIIcalComponent rootComp); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnParsingComplete(nsresult rc, calIIcalComponent *rootComp) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcsComponentParsingListener, CALIICSCOMPONENTPARSINGLISTENER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICSCOMPONENTPARSINGLISTENER \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcalComponent *rootComp) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIICSCOMPONENTPARSINGLISTENER \
  nsresult OnParsingComplete(nsresult rc, calIIcalComponent *rootComp); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICSCOMPONENTPARSINGLISTENER(_to) \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcalComponent *rootComp) override { return _to OnParsingComplete(rc, rootComp); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIICSCOMPONENTPARSINGLISTENER(_to) \
  NS_IMETHOD OnParsingComplete(nsresult rc, calIIcalComponent *rootComp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnParsingComplete(rc, rootComp); } 


/* starting interface:    calIICSService */
#define CALIICSSERVICE_IID_STR "31e7636b-5a64-4d15-bc60-67b67cd85176"

#define CALIICSSERVICE_IID \
  {0x31e7636b, 0x5a64, 0x4d15, \
    { 0xbc, 0x60, 0x67, 0xb6, 0x7c, 0xd8, 0x51, 0x76 }}

class NS_NO_VTABLE calIICSService : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICSSERVICE_IID)

  /* calIIcalComponent parseICS (in AUTF8String serialized, in calITimezoneProvider tzProvider); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ParseICS(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcalComponent **_retval) = 0;

  /* void parseICSAsync (in AUTF8String serialized, in calITimezoneProvider tzProvider, in calIIcsComponentParsingListener listener); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ParseICSAsync(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcsComponentParsingListener *listener) = 0;

  /* calIIcalComponent createIcalComponent (in AUTF8String kind); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CreateIcalComponent(const nsACString& kind, calIIcalComponent **_retval) = 0;

  /* calIIcalProperty createIcalProperty (in AUTF8String kind); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CreateIcalProperty(const nsACString& kind, calIIcalProperty **_retval) = 0;

  /* calIIcalProperty createIcalPropertyFromString (in AUTF8String str); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CreateIcalPropertyFromString(const nsACString& str, calIIcalProperty **_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIICSService, CALIICSSERVICE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICSSERVICE \
  NS_IMETHOD ParseICS(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcalComponent **_retval) override; \
  NS_IMETHOD ParseICSAsync(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcsComponentParsingListener *listener) override; \
  NS_IMETHOD CreateIcalComponent(const nsACString& kind, calIIcalComponent **_retval) override; \
  NS_IMETHOD CreateIcalProperty(const nsACString& kind, calIIcalProperty **_retval) override; \
  NS_IMETHOD CreateIcalPropertyFromString(const nsACString& str, calIIcalProperty **_retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIICSSERVICE \
  nsresult ParseICS(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcalComponent **_retval); \
  nsresult ParseICSAsync(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcsComponentParsingListener *listener); \
  nsresult CreateIcalComponent(const nsACString& kind, calIIcalComponent **_retval); \
  nsresult CreateIcalProperty(const nsACString& kind, calIIcalProperty **_retval); \
  nsresult CreateIcalPropertyFromString(const nsACString& str, calIIcalProperty **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICSSERVICE(_to) \
  NS_IMETHOD ParseICS(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcalComponent **_retval) override { return _to ParseICS(serialized, tzProvider, _retval); } \
  NS_IMETHOD ParseICSAsync(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcsComponentParsingListener *listener) override { return _to ParseICSAsync(serialized, tzProvider, listener); } \
  NS_IMETHOD CreateIcalComponent(const nsACString& kind, calIIcalComponent **_retval) override { return _to CreateIcalComponent(kind, _retval); } \
  NS_IMETHOD CreateIcalProperty(const nsACString& kind, calIIcalProperty **_retval) override { return _to CreateIcalProperty(kind, _retval); } \
  NS_IMETHOD CreateIcalPropertyFromString(const nsACString& str, calIIcalProperty **_retval) override { return _to CreateIcalPropertyFromString(str, _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_CALIICSSERVICE(_to) \
  NS_IMETHOD ParseICS(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcalComponent **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseICS(serialized, tzProvider, _retval); } \
  NS_IMETHOD ParseICSAsync(const nsACString& serialized, calITimezoneProvider *tzProvider, calIIcsComponentParsingListener *listener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ParseICSAsync(serialized, tzProvider, listener); } \
  NS_IMETHOD CreateIcalComponent(const nsACString& kind, calIIcalComponent **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateIcalComponent(kind, _retval); } \
  NS_IMETHOD CreateIcalProperty(const nsACString& kind, calIIcalProperty **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateIcalProperty(kind, _retval); } \
  NS_IMETHOD CreateIcalPropertyFromString(const nsACString& str, calIIcalProperty **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateIcalPropertyFromString(str, _retval); } 


/* starting interface:    calIIcalComponentLibical */
#define CALIICALCOMPONENTLIBICAL_IID_STR "d2fc0264-191e-435e-8ef2-b2ab1fa81ca9"

#define CALIICALCOMPONENTLIBICAL_IID \
  {0xd2fc0264, 0x191e, 0x435e, \
    { 0x8e, 0xf2, 0xb2, 0xab, 0x1f, 0xa8, 0x1c, 0xa9 }}

class NS_NO_VTABLE calIIcalComponentLibical : public calIIcalComponent {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICALCOMPONENTLIBICAL_IID)

  /* [noscript,notxpcom] icalcomponentptr getLibicalComponent (); */
  NS_IMETHOD_(struct icalcomponent_impl *) GetLibicalComponent(void) = 0;

  /* [noscript,notxpcom] icaltimezoneptr getLibicalTimezone (); */
  NS_IMETHOD_(struct _icaltimezone *) GetLibicalTimezone(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcalComponentLibical, CALIICALCOMPONENTLIBICAL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICALCOMPONENTLIBICAL \
  NS_IMETHOD_(struct icalcomponent_impl *) GetLibicalComponent(void) override; \
  NS_IMETHOD_(struct _icaltimezone *) GetLibicalTimezone(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIICALCOMPONENTLIBICAL \
  nsresult_(struct icalcomponent_impl *) GetLibicalComponent(void); \
  nsresult_(struct _icaltimezone *) GetLibicalTimezone(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICALCOMPONENTLIBICAL(_to) \
  NS_IMETHOD_(struct icalcomponent_impl *) GetLibicalComponent(void) override { return _to GetLibicalComponent(); } \
  NS_IMETHOD_(struct _icaltimezone *) GetLibicalTimezone(void) override { return _to GetLibicalTimezone(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIICALCOMPONENTLIBICAL(_to) \
  NS_IMETHOD_(struct icalcomponent_impl *) GetLibicalComponent(void) override; \
  NS_IMETHOD_(struct _icaltimezone *) GetLibicalTimezone(void) override; 


/* starting interface:    calIIcalPropertyLibical */
#define CALIICALPROPERTYLIBICAL_IID_STR "e0b9067f-0a53-4724-9c69-63599681877e"

#define CALIICALPROPERTYLIBICAL_IID \
  {0xe0b9067f, 0x0a53, 0x4724, \
    { 0x9c, 0x69, 0x63, 0x59, 0x96, 0x81, 0x87, 0x7e }}

class NS_NO_VTABLE calIIcalPropertyLibical : public calIIcalProperty {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIICALPROPERTYLIBICAL_IID)

  /* [noscript,notxpcom] icalpropertyptr getLibicalProperty (); */
  NS_IMETHOD_(struct icalproperty_impl *) GetLibicalProperty(void) = 0;

  /* [noscript,notxpcom] icalcomponentptr getLibicalComponent (); */
  NS_IMETHOD_(struct icalcomponent_impl *) GetLibicalComponent(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIIcalPropertyLibical, CALIICALPROPERTYLIBICAL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIICALPROPERTYLIBICAL \
  NS_IMETHOD_(struct icalproperty_impl *) GetLibicalProperty(void) override; \
  NS_IMETHOD_(struct icalcomponent_impl *) GetLibicalComponent(void) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIICALPROPERTYLIBICAL \
  nsresult_(struct icalproperty_impl *) GetLibicalProperty(void); \
  nsresult_(struct icalcomponent_impl *) GetLibicalComponent(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIICALPROPERTYLIBICAL(_to) \
  NS_IMETHOD_(struct icalproperty_impl *) GetLibicalProperty(void) override { return _to GetLibicalProperty(); } \
  NS_IMETHOD_(struct icalcomponent_impl *) GetLibicalComponent(void) override { return _to GetLibicalComponent(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIICALPROPERTYLIBICAL(_to) \
  NS_IMETHOD_(struct icalproperty_impl *) GetLibicalProperty(void) override; \
  NS_IMETHOD_(struct icalcomponent_impl *) GetLibicalComponent(void) override; 


#endif /* __gen_calIICSService_h__ */