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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/calendar/base/public/calIItemBase.idl
 */

#ifndef __gen_calIItemBase_h__
#define __gen_calIItemBase_h__


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

#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 nsISimpleEnumerator; /* forward declaration */

class nsIVariant; /* forward declaration */

class nsIPropertyBag; /* forward declaration */

class calIItemACLEntry; /* forward declaration */

class calIAlarm; /* forward declaration */

class calIAttachment; /* forward declaration */

class calIAttendee; /* forward declaration */

class calICalendar; /* forward declaration */

class calIDateTime; /* forward declaration */

class calIDuration; /* forward declaration */

class calIIcalComponent; /* forward declaration */

class calIRecurrenceInfo; /* forward declaration */

class calIRelation; /* forward declaration */


/* starting interface:    calIItemBase */
#define CALIITEMBASE_IID_STR "9c988b8d-af45-4046-b05e-34417bba9058"

#define CALIITEMBASE_IID \
  {0x9c988b8d, 0xaf45, 0x4046, \
    { 0xb0, 0x5e, 0x34, 0x41, 0x7b, 0xba, 0x90, 0x58 }}

class NS_NO_VTABLE calIItemBase : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIITEMBASE_IID)

  /* readonly attribute boolean isMutable; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsMutable(bool *aIsMutable) = 0;

  /* void makeImmutable (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD MakeImmutable(void) = 0;

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

  /* readonly attribute AUTF8String hashId; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHashId(nsACString& aHashId) = 0;

  /* boolean hasSameIds (in calIItemBase aItem); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD HasSameIds(calIItemBase *aItem, bool *_retval) = 0;

  /* readonly attribute calIItemACLEntry aclEntry; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAclEntry(calIItemACLEntry **aAclEntry) = 0;

  /* attribute uint32_t generation; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetGeneration(uint32_t *aGeneration) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetGeneration(uint32_t aGeneration) = 0;

  /* readonly attribute calIDateTime creationDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCreationDate(calIDateTime **aCreationDate) = 0;

  /* readonly attribute calIDateTime lastModifiedTime; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLastModifiedTime(calIDateTime **aLastModifiedTime) = 0;

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

  /* attribute calICalendar calendar; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCalendar(calICalendar **aCalendar) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCalendar(calICalendar *aCalendar) = 0;

  /* attribute AUTF8String id; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetId(nsACString& aId) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetId(const nsACString& aId) = 0;

  /* attribute AUTF8String title; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTitle(nsACString& aTitle) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetTitle(const nsACString& aTitle) = 0;

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

  /* attribute AUTF8String privacy; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPrivacy(nsACString& aPrivacy) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPrivacy(const nsACString& aPrivacy) = 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 icalString; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalString(nsACString& aIcalString) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalString(const nsACString& aIcalString) = 0;

  /* attribute calIIcalComponent icalComponent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIcalComponent(calIIcalComponent **aIcalComponent) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIcalComponent(calIIcalComponent *aIcalComponent) = 0;

  /* void getAlarms (out uint32_t count, [array, size_is (count), retval] out calIAlarm aAlarms); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAlarms(uint32_t *count, calIAlarm ***aAlarms) = 0;

  /* void addAlarm (in calIAlarm aAlarm); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddAlarm(calIAlarm *aAlarm) = 0;

  /* void deleteAlarm (in calIAlarm aAlarm); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DeleteAlarm(calIAlarm *aAlarm) = 0;

  /* void clearAlarms (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ClearAlarms(void) = 0;

  /* attribute calIDateTime alarmLastAck; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAlarmLastAck(calIDateTime **aAlarmLastAck) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAlarmLastAck(calIDateTime *aAlarmLastAck) = 0;

  /* attribute calIRecurrenceInfo recurrenceInfo; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRecurrenceInfo(calIRecurrenceInfo **aRecurrenceInfo) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRecurrenceInfo(calIRecurrenceInfo *aRecurrenceInfo) = 0;

  /* readonly attribute calIDateTime recurrenceStartDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRecurrenceStartDate(calIDateTime **aRecurrenceStartDate) = 0;

  /* readonly attribute nsISimpleEnumerator propertyEnumerator; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) = 0;

  /* boolean hasProperty (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD HasProperty(const nsAString& name, bool *_retval) = 0;

  /* nsIVariant getProperty (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProperty(const nsAString& name, nsIVariant **_retval) = 0;

  /* void setProperty (in AString name, in nsIVariant value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetProperty(const nsAString& name, nsIVariant *value) = 0;

  /* void deleteProperty (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DeleteProperty(const nsAString& name) = 0;

  /* boolean isPropertyPromoted (in AString name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD IsPropertyPromoted(const nsAString& name, bool *_retval) = 0;

  /* AString getPropertyParameter (in AString aPropertyName, in AString aParameterName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, nsAString& _retval) = 0;

  /* boolean hasPropertyParameter (in AString aPropertyName, in AString aParameterName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD HasPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, bool *_retval) = 0;

  /* void setPropertyParameter (in AString aPropertyName, in AString aParameterName, in AUTF8String aParameterValue); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, const nsACString& aParameterValue) = 0;

  /* nsISimpleEnumerator getParameterEnumerator (in AString aPropertyName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetParameterEnumerator(const nsAString& aPropertyName, nsISimpleEnumerator **_retval) = 0;

  /* attribute calIAttendee organizer; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOrganizer(calIAttendee **aOrganizer) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOrganizer(calIAttendee *aOrganizer) = 0;

  /* void getAttendees (out uint32_t count, [array, size_is (count), retval] out calIAttendee attendees); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAttendees(uint32_t *count, calIAttendee ***attendees) = 0;

  /* calIAttendee getAttendeeById (in AUTF8String id); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAttendeeById(const nsACString& id, calIAttendee **_retval) = 0;

  /* void addAttendee (in calIAttendee attendee); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddAttendee(calIAttendee *attendee) = 0;

  /* void removeAttendee (in calIAttendee attendee); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveAttendee(calIAttendee *attendee) = 0;

  /* void removeAllAttendees (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveAllAttendees(void) = 0;

  /* void getAttachments (out uint32_t count, [array, size_is (count), retval] out calIAttachment attachments); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAttachments(uint32_t *count, calIAttachment ***attachments) = 0;

  /* void addAttachment (in calIAttachment attachment); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddAttachment(calIAttachment *attachment) = 0;

  /* void removeAttachment (in calIAttachment attachment); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveAttachment(calIAttachment *attachment) = 0;

  /* void removeAllAttachments (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveAllAttachments(void) = 0;

  /* void getCategories (out uint32_t aCount, [array, size_is (aCount), retval] out wstring aCategories); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCategories(uint32_t *aCount, char16_t * **aCategories) = 0;

  /* void setCategories (in uint32_t aCount, [array, size_is (aCount)] in wstring aCategories); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCategories(uint32_t aCount, const char16_t * *aCategories) = 0;

  /* void getRelations (out uint32_t count, [array, size_is (count), retval] out calIRelation relations); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRelations(uint32_t *count, calIRelation ***relations) = 0;

  /* void addRelation (in calIRelation relation); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddRelation(calIRelation *relation) = 0;

  /* void removeRelation (in calIRelation relation); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveRelation(calIRelation *relation) = 0;

  /* void removeAllRelations (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveAllRelations(void) = 0;

  /* void getOccurrencesBetween (in calIDateTime aStartDate, in calIDateTime aEndDate, out uint32_t aCount, [array, size_is (aCount), retval] out calIItemBase aOccurrences); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOccurrencesBetween(calIDateTime *aStartDate, calIDateTime *aEndDate, uint32_t *aCount, calIItemBase ***aOccurrences) = 0;

  /* attribute calIItemBase parentItem; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetParentItem(calIItemBase **aParentItem) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetParentItem(calIItemBase *aParentItem) = 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;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIItemBase, CALIITEMBASE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIITEMBASE \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override; \
  NS_IMETHOD MakeImmutable(void) override; \
  NS_IMETHOD Clone(calIItemBase **_retval) override; \
  NS_IMETHOD GetHashId(nsACString& aHashId) override; \
  NS_IMETHOD HasSameIds(calIItemBase *aItem, bool *_retval) override; \
  NS_IMETHOD GetAclEntry(calIItemACLEntry **aAclEntry) override; \
  NS_IMETHOD GetGeneration(uint32_t *aGeneration) override; \
  NS_IMETHOD SetGeneration(uint32_t aGeneration) override; \
  NS_IMETHOD GetCreationDate(calIDateTime **aCreationDate) override; \
  NS_IMETHOD GetLastModifiedTime(calIDateTime **aLastModifiedTime) override; \
  NS_IMETHOD GetStampTime(calIDateTime **aStampTime) override; \
  NS_IMETHOD GetCalendar(calICalendar **aCalendar) override; \
  NS_IMETHOD SetCalendar(calICalendar *aCalendar) override; \
  NS_IMETHOD GetId(nsACString& aId) override; \
  NS_IMETHOD SetId(const nsACString& aId) override; \
  NS_IMETHOD GetTitle(nsACString& aTitle) override; \
  NS_IMETHOD SetTitle(const nsACString& aTitle) override; \
  NS_IMETHOD GetPriority(int16_t *aPriority) override; \
  NS_IMETHOD SetPriority(int16_t aPriority) override; \
  NS_IMETHOD GetPrivacy(nsACString& aPrivacy) override; \
  NS_IMETHOD SetPrivacy(const nsACString& aPrivacy) override; \
  NS_IMETHOD GetStatus(nsACString& aStatus) override; \
  NS_IMETHOD SetStatus(const nsACString& aStatus) override; \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override; \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override; \
  NS_IMETHOD GetIcalComponent(calIIcalComponent **aIcalComponent) override; \
  NS_IMETHOD SetIcalComponent(calIIcalComponent *aIcalComponent) override; \
  NS_IMETHOD GetAlarms(uint32_t *count, calIAlarm ***aAlarms) override; \
  NS_IMETHOD AddAlarm(calIAlarm *aAlarm) override; \
  NS_IMETHOD DeleteAlarm(calIAlarm *aAlarm) override; \
  NS_IMETHOD ClearAlarms(void) override; \
  NS_IMETHOD GetAlarmLastAck(calIDateTime **aAlarmLastAck) override; \
  NS_IMETHOD SetAlarmLastAck(calIDateTime *aAlarmLastAck) override; \
  NS_IMETHOD GetRecurrenceInfo(calIRecurrenceInfo **aRecurrenceInfo) override; \
  NS_IMETHOD SetRecurrenceInfo(calIRecurrenceInfo *aRecurrenceInfo) override; \
  NS_IMETHOD GetRecurrenceStartDate(calIDateTime **aRecurrenceStartDate) override; \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) override; \
  NS_IMETHOD HasProperty(const nsAString& name, bool *_retval) override; \
  NS_IMETHOD GetProperty(const nsAString& name, nsIVariant **_retval) override; \
  NS_IMETHOD SetProperty(const nsAString& name, nsIVariant *value) override; \
  NS_IMETHOD DeleteProperty(const nsAString& name) override; \
  NS_IMETHOD IsPropertyPromoted(const nsAString& name, bool *_retval) override; \
  NS_IMETHOD GetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, nsAString& _retval) override; \
  NS_IMETHOD HasPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, bool *_retval) override; \
  NS_IMETHOD SetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, const nsACString& aParameterValue) override; \
  NS_IMETHOD GetParameterEnumerator(const nsAString& aPropertyName, nsISimpleEnumerator **_retval) override; \
  NS_IMETHOD GetOrganizer(calIAttendee **aOrganizer) override; \
  NS_IMETHOD SetOrganizer(calIAttendee *aOrganizer) override; \
  NS_IMETHOD GetAttendees(uint32_t *count, calIAttendee ***attendees) override; \
  NS_IMETHOD GetAttendeeById(const nsACString& id, calIAttendee **_retval) override; \
  NS_IMETHOD AddAttendee(calIAttendee *attendee) override; \
  NS_IMETHOD RemoveAttendee(calIAttendee *attendee) override; \
  NS_IMETHOD RemoveAllAttendees(void) override; \
  NS_IMETHOD GetAttachments(uint32_t *count, calIAttachment ***attachments) override; \
  NS_IMETHOD AddAttachment(calIAttachment *attachment) override; \
  NS_IMETHOD RemoveAttachment(calIAttachment *attachment) override; \
  NS_IMETHOD RemoveAllAttachments(void) override; \
  NS_IMETHOD GetCategories(uint32_t *aCount, char16_t * **aCategories) override; \
  NS_IMETHOD SetCategories(uint32_t aCount, const char16_t * *aCategories) override; \
  NS_IMETHOD GetRelations(uint32_t *count, calIRelation ***relations) override; \
  NS_IMETHOD AddRelation(calIRelation *relation) override; \
  NS_IMETHOD RemoveRelation(calIRelation *relation) override; \
  NS_IMETHOD RemoveAllRelations(void) override; \
  NS_IMETHOD GetOccurrencesBetween(calIDateTime *aStartDate, calIDateTime *aEndDate, uint32_t *aCount, calIItemBase ***aOccurrences) override; \
  NS_IMETHOD GetParentItem(calIItemBase **aParentItem) override; \
  NS_IMETHOD SetParentItem(calIItemBase *aParentItem) override; \
  NS_IMETHOD GetRecurrenceId(calIDateTime **aRecurrenceId) override; \
  NS_IMETHOD SetRecurrenceId(calIDateTime *aRecurrenceId) 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_CALIITEMBASE \
  nsresult GetIsMutable(bool *aIsMutable); \
  nsresult MakeImmutable(void); \
  nsresult Clone(calIItemBase **_retval); \
  nsresult GetHashId(nsACString& aHashId); \
  nsresult HasSameIds(calIItemBase *aItem, bool *_retval); \
  nsresult GetAclEntry(calIItemACLEntry **aAclEntry); \
  nsresult GetGeneration(uint32_t *aGeneration); \
  nsresult SetGeneration(uint32_t aGeneration); \
  nsresult GetCreationDate(calIDateTime **aCreationDate); \
  nsresult GetLastModifiedTime(calIDateTime **aLastModifiedTime); \
  nsresult GetStampTime(calIDateTime **aStampTime); \
  nsresult GetCalendar(calICalendar **aCalendar); \
  nsresult SetCalendar(calICalendar *aCalendar); \
  nsresult GetId(nsACString& aId); \
  nsresult SetId(const nsACString& aId); \
  nsresult GetTitle(nsACString& aTitle); \
  nsresult SetTitle(const nsACString& aTitle); \
  nsresult GetPriority(int16_t *aPriority); \
  nsresult SetPriority(int16_t aPriority); \
  nsresult GetPrivacy(nsACString& aPrivacy); \
  nsresult SetPrivacy(const nsACString& aPrivacy); \
  nsresult GetStatus(nsACString& aStatus); \
  nsresult SetStatus(const nsACString& aStatus); \
  nsresult GetIcalString(nsACString& aIcalString); \
  nsresult SetIcalString(const nsACString& aIcalString); \
  nsresult GetIcalComponent(calIIcalComponent **aIcalComponent); \
  nsresult SetIcalComponent(calIIcalComponent *aIcalComponent); \
  nsresult GetAlarms(uint32_t *count, calIAlarm ***aAlarms); \
  nsresult AddAlarm(calIAlarm *aAlarm); \
  nsresult DeleteAlarm(calIAlarm *aAlarm); \
  nsresult ClearAlarms(void); \
  nsresult GetAlarmLastAck(calIDateTime **aAlarmLastAck); \
  nsresult SetAlarmLastAck(calIDateTime *aAlarmLastAck); \
  nsresult GetRecurrenceInfo(calIRecurrenceInfo **aRecurrenceInfo); \
  nsresult SetRecurrenceInfo(calIRecurrenceInfo *aRecurrenceInfo); \
  nsresult GetRecurrenceStartDate(calIDateTime **aRecurrenceStartDate); \
  nsresult GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator); \
  nsresult HasProperty(const nsAString& name, bool *_retval); \
  nsresult GetProperty(const nsAString& name, nsIVariant **_retval); \
  nsresult SetProperty(const nsAString& name, nsIVariant *value); \
  nsresult DeleteProperty(const nsAString& name); \
  nsresult IsPropertyPromoted(const nsAString& name, bool *_retval); \
  nsresult GetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, nsAString& _retval); \
  nsresult HasPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, bool *_retval); \
  nsresult SetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, const nsACString& aParameterValue); \
  nsresult GetParameterEnumerator(const nsAString& aPropertyName, nsISimpleEnumerator **_retval); \
  nsresult GetOrganizer(calIAttendee **aOrganizer); \
  nsresult SetOrganizer(calIAttendee *aOrganizer); \
  nsresult GetAttendees(uint32_t *count, calIAttendee ***attendees); \
  nsresult GetAttendeeById(const nsACString& id, calIAttendee **_retval); \
  nsresult AddAttendee(calIAttendee *attendee); \
  nsresult RemoveAttendee(calIAttendee *attendee); \
  nsresult RemoveAllAttendees(void); \
  nsresult GetAttachments(uint32_t *count, calIAttachment ***attachments); \
  nsresult AddAttachment(calIAttachment *attachment); \
  nsresult RemoveAttachment(calIAttachment *attachment); \
  nsresult RemoveAllAttachments(void); \
  nsresult GetCategories(uint32_t *aCount, char16_t * **aCategories); \
  nsresult SetCategories(uint32_t aCount, const char16_t * *aCategories); \
  nsresult GetRelations(uint32_t *count, calIRelation ***relations); \
  nsresult AddRelation(calIRelation *relation); \
  nsresult RemoveRelation(calIRelation *relation); \
  nsresult RemoveAllRelations(void); \
  nsresult GetOccurrencesBetween(calIDateTime *aStartDate, calIDateTime *aEndDate, uint32_t *aCount, calIItemBase ***aOccurrences); \
  nsresult GetParentItem(calIItemBase **aParentItem); \
  nsresult SetParentItem(calIItemBase *aParentItem); \
  nsresult GetRecurrenceId(calIDateTime **aRecurrenceId); \
  nsresult SetRecurrenceId(calIDateTime *aRecurrenceId); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIITEMBASE(_to) \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return _to GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return _to MakeImmutable(); } \
  NS_IMETHOD Clone(calIItemBase **_retval) override { return _to Clone(_retval); } \
  NS_IMETHOD GetHashId(nsACString& aHashId) override { return _to GetHashId(aHashId); } \
  NS_IMETHOD HasSameIds(calIItemBase *aItem, bool *_retval) override { return _to HasSameIds(aItem, _retval); } \
  NS_IMETHOD GetAclEntry(calIItemACLEntry **aAclEntry) override { return _to GetAclEntry(aAclEntry); } \
  NS_IMETHOD GetGeneration(uint32_t *aGeneration) override { return _to GetGeneration(aGeneration); } \
  NS_IMETHOD SetGeneration(uint32_t aGeneration) override { return _to SetGeneration(aGeneration); } \
  NS_IMETHOD GetCreationDate(calIDateTime **aCreationDate) override { return _to GetCreationDate(aCreationDate); } \
  NS_IMETHOD GetLastModifiedTime(calIDateTime **aLastModifiedTime) override { return _to GetLastModifiedTime(aLastModifiedTime); } \
  NS_IMETHOD GetStampTime(calIDateTime **aStampTime) override { return _to GetStampTime(aStampTime); } \
  NS_IMETHOD GetCalendar(calICalendar **aCalendar) override { return _to GetCalendar(aCalendar); } \
  NS_IMETHOD SetCalendar(calICalendar *aCalendar) override { return _to SetCalendar(aCalendar); } \
  NS_IMETHOD GetId(nsACString& aId) override { return _to GetId(aId); } \
  NS_IMETHOD SetId(const nsACString& aId) override { return _to SetId(aId); } \
  NS_IMETHOD GetTitle(nsACString& aTitle) override { return _to GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsACString& aTitle) override { return _to SetTitle(aTitle); } \
  NS_IMETHOD GetPriority(int16_t *aPriority) override { return _to GetPriority(aPriority); } \
  NS_IMETHOD SetPriority(int16_t aPriority) override { return _to SetPriority(aPriority); } \
  NS_IMETHOD GetPrivacy(nsACString& aPrivacy) override { return _to GetPrivacy(aPrivacy); } \
  NS_IMETHOD SetPrivacy(const nsACString& aPrivacy) override { return _to SetPrivacy(aPrivacy); } \
  NS_IMETHOD GetStatus(nsACString& aStatus) override { return _to GetStatus(aStatus); } \
  NS_IMETHOD SetStatus(const nsACString& aStatus) override { return _to SetStatus(aStatus); } \
  NS_IMETHOD GetIcalString(nsACString& aIcalString) override { return _to GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override { return _to SetIcalString(aIcalString); } \
  NS_IMETHOD GetIcalComponent(calIIcalComponent **aIcalComponent) override { return _to GetIcalComponent(aIcalComponent); } \
  NS_IMETHOD SetIcalComponent(calIIcalComponent *aIcalComponent) override { return _to SetIcalComponent(aIcalComponent); } \
  NS_IMETHOD GetAlarms(uint32_t *count, calIAlarm ***aAlarms) override { return _to GetAlarms(count, aAlarms); } \
  NS_IMETHOD AddAlarm(calIAlarm *aAlarm) override { return _to AddAlarm(aAlarm); } \
  NS_IMETHOD DeleteAlarm(calIAlarm *aAlarm) override { return _to DeleteAlarm(aAlarm); } \
  NS_IMETHOD ClearAlarms(void) override { return _to ClearAlarms(); } \
  NS_IMETHOD GetAlarmLastAck(calIDateTime **aAlarmLastAck) override { return _to GetAlarmLastAck(aAlarmLastAck); } \
  NS_IMETHOD SetAlarmLastAck(calIDateTime *aAlarmLastAck) override { return _to SetAlarmLastAck(aAlarmLastAck); } \
  NS_IMETHOD GetRecurrenceInfo(calIRecurrenceInfo **aRecurrenceInfo) override { return _to GetRecurrenceInfo(aRecurrenceInfo); } \
  NS_IMETHOD SetRecurrenceInfo(calIRecurrenceInfo *aRecurrenceInfo) override { return _to SetRecurrenceInfo(aRecurrenceInfo); } \
  NS_IMETHOD GetRecurrenceStartDate(calIDateTime **aRecurrenceStartDate) override { return _to GetRecurrenceStartDate(aRecurrenceStartDate); } \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) override { return _to GetPropertyEnumerator(aPropertyEnumerator); } \
  NS_IMETHOD HasProperty(const nsAString& name, bool *_retval) override { return _to HasProperty(name, _retval); } \
  NS_IMETHOD GetProperty(const nsAString& name, nsIVariant **_retval) override { return _to GetProperty(name, _retval); } \
  NS_IMETHOD SetProperty(const nsAString& name, nsIVariant *value) override { return _to SetProperty(name, value); } \
  NS_IMETHOD DeleteProperty(const nsAString& name) override { return _to DeleteProperty(name); } \
  NS_IMETHOD IsPropertyPromoted(const nsAString& name, bool *_retval) override { return _to IsPropertyPromoted(name, _retval); } \
  NS_IMETHOD GetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, nsAString& _retval) override { return _to GetPropertyParameter(aPropertyName, aParameterName, _retval); } \
  NS_IMETHOD HasPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, bool *_retval) override { return _to HasPropertyParameter(aPropertyName, aParameterName, _retval); } \
  NS_IMETHOD SetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, const nsACString& aParameterValue) override { return _to SetPropertyParameter(aPropertyName, aParameterName, aParameterValue); } \
  NS_IMETHOD GetParameterEnumerator(const nsAString& aPropertyName, nsISimpleEnumerator **_retval) override { return _to GetParameterEnumerator(aPropertyName, _retval); } \
  NS_IMETHOD GetOrganizer(calIAttendee **aOrganizer) override { return _to GetOrganizer(aOrganizer); } \
  NS_IMETHOD SetOrganizer(calIAttendee *aOrganizer) override { return _to SetOrganizer(aOrganizer); } \
  NS_IMETHOD GetAttendees(uint32_t *count, calIAttendee ***attendees) override { return _to GetAttendees(count, attendees); } \
  NS_IMETHOD GetAttendeeById(const nsACString& id, calIAttendee **_retval) override { return _to GetAttendeeById(id, _retval); } \
  NS_IMETHOD AddAttendee(calIAttendee *attendee) override { return _to AddAttendee(attendee); } \
  NS_IMETHOD RemoveAttendee(calIAttendee *attendee) override { return _to RemoveAttendee(attendee); } \
  NS_IMETHOD RemoveAllAttendees(void) override { return _to RemoveAllAttendees(); } \
  NS_IMETHOD GetAttachments(uint32_t *count, calIAttachment ***attachments) override { return _to GetAttachments(count, attachments); } \
  NS_IMETHOD AddAttachment(calIAttachment *attachment) override { return _to AddAttachment(attachment); } \
  NS_IMETHOD RemoveAttachment(calIAttachment *attachment) override { return _to RemoveAttachment(attachment); } \
  NS_IMETHOD RemoveAllAttachments(void) override { return _to RemoveAllAttachments(); } \
  NS_IMETHOD GetCategories(uint32_t *aCount, char16_t * **aCategories) override { return _to GetCategories(aCount, aCategories); } \
  NS_IMETHOD SetCategories(uint32_t aCount, const char16_t * *aCategories) override { return _to SetCategories(aCount, aCategories); } \
  NS_IMETHOD GetRelations(uint32_t *count, calIRelation ***relations) override { return _to GetRelations(count, relations); } \
  NS_IMETHOD AddRelation(calIRelation *relation) override { return _to AddRelation(relation); } \
  NS_IMETHOD RemoveRelation(calIRelation *relation) override { return _to RemoveRelation(relation); } \
  NS_IMETHOD RemoveAllRelations(void) override { return _to RemoveAllRelations(); } \
  NS_IMETHOD GetOccurrencesBetween(calIDateTime *aStartDate, calIDateTime *aEndDate, uint32_t *aCount, calIItemBase ***aOccurrences) override { return _to GetOccurrencesBetween(aStartDate, aEndDate, aCount, aOccurrences); } \
  NS_IMETHOD GetParentItem(calIItemBase **aParentItem) override { return _to GetParentItem(aParentItem); } \
  NS_IMETHOD SetParentItem(calIItemBase *aParentItem) override { return _to SetParentItem(aParentItem); } \
  NS_IMETHOD GetRecurrenceId(calIDateTime **aRecurrenceId) override { return _to GetRecurrenceId(aRecurrenceId); } \
  NS_IMETHOD SetRecurrenceId(calIDateTime *aRecurrenceId) override { return _to SetRecurrenceId(aRecurrenceId); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIITEMBASE(_to) \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MakeImmutable(); } \
  NS_IMETHOD Clone(calIItemBase **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
  NS_IMETHOD GetHashId(nsACString& aHashId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHashId(aHashId); } \
  NS_IMETHOD HasSameIds(calIItemBase *aItem, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasSameIds(aItem, _retval); } \
  NS_IMETHOD GetAclEntry(calIItemACLEntry **aAclEntry) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAclEntry(aAclEntry); } \
  NS_IMETHOD GetGeneration(uint32_t *aGeneration) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGeneration(aGeneration); } \
  NS_IMETHOD SetGeneration(uint32_t aGeneration) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetGeneration(aGeneration); } \
  NS_IMETHOD GetCreationDate(calIDateTime **aCreationDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCreationDate(aCreationDate); } \
  NS_IMETHOD GetLastModifiedTime(calIDateTime **aLastModifiedTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastModifiedTime(aLastModifiedTime); } \
  NS_IMETHOD GetStampTime(calIDateTime **aStampTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStampTime(aStampTime); } \
  NS_IMETHOD GetCalendar(calICalendar **aCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCalendar(aCalendar); } \
  NS_IMETHOD SetCalendar(calICalendar *aCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCalendar(aCalendar); } \
  NS_IMETHOD GetId(nsACString& aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
  NS_IMETHOD SetId(const nsACString& aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetId(aId); } \
  NS_IMETHOD GetTitle(nsACString& aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
  NS_IMETHOD SetTitle(const nsACString& aTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(aTitle); } \
  NS_IMETHOD GetPriority(int16_t *aPriority) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPriority(aPriority); } \
  NS_IMETHOD SetPriority(int16_t aPriority) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPriority(aPriority); } \
  NS_IMETHOD GetPrivacy(nsACString& aPrivacy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrivacy(aPrivacy); } \
  NS_IMETHOD SetPrivacy(const nsACString& aPrivacy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrivacy(aPrivacy); } \
  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 GetIcalString(nsACString& aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString& aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalString(aIcalString); } \
  NS_IMETHOD GetIcalComponent(calIIcalComponent **aIcalComponent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalComponent(aIcalComponent); } \
  NS_IMETHOD SetIcalComponent(calIIcalComponent *aIcalComponent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalComponent(aIcalComponent); } \
  NS_IMETHOD GetAlarms(uint32_t *count, calIAlarm ***aAlarms) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlarms(count, aAlarms); } \
  NS_IMETHOD AddAlarm(calIAlarm *aAlarm) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAlarm(aAlarm); } \
  NS_IMETHOD DeleteAlarm(calIAlarm *aAlarm) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteAlarm(aAlarm); } \
  NS_IMETHOD ClearAlarms(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearAlarms(); } \
  NS_IMETHOD GetAlarmLastAck(calIDateTime **aAlarmLastAck) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlarmLastAck(aAlarmLastAck); } \
  NS_IMETHOD SetAlarmLastAck(calIDateTime *aAlarmLastAck) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlarmLastAck(aAlarmLastAck); } \
  NS_IMETHOD GetRecurrenceInfo(calIRecurrenceInfo **aRecurrenceInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRecurrenceInfo(aRecurrenceInfo); } \
  NS_IMETHOD SetRecurrenceInfo(calIRecurrenceInfo *aRecurrenceInfo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRecurrenceInfo(aRecurrenceInfo); } \
  NS_IMETHOD GetRecurrenceStartDate(calIDateTime **aRecurrenceStartDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRecurrenceStartDate(aRecurrenceStartDate); } \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyEnumerator(aPropertyEnumerator); } \
  NS_IMETHOD HasProperty(const nsAString& name, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasProperty(name, _retval); } \
  NS_IMETHOD GetProperty(const nsAString& name, nsIVariant **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProperty(name, _retval); } \
  NS_IMETHOD SetProperty(const nsAString& name, nsIVariant *value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProperty(name, value); } \
  NS_IMETHOD DeleteProperty(const nsAString& name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteProperty(name); } \
  NS_IMETHOD IsPropertyPromoted(const nsAString& name, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsPropertyPromoted(name, _retval); } \
  NS_IMETHOD GetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, nsAString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyParameter(aPropertyName, aParameterName, _retval); } \
  NS_IMETHOD HasPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasPropertyParameter(aPropertyName, aParameterName, _retval); } \
  NS_IMETHOD SetPropertyParameter(const nsAString& aPropertyName, const nsAString& aParameterName, const nsACString& aParameterValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPropertyParameter(aPropertyName, aParameterName, aParameterValue); } \
  NS_IMETHOD GetParameterEnumerator(const nsAString& aPropertyName, nsISimpleEnumerator **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParameterEnumerator(aPropertyName, _retval); } \
  NS_IMETHOD GetOrganizer(calIAttendee **aOrganizer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrganizer(aOrganizer); } \
  NS_IMETHOD SetOrganizer(calIAttendee *aOrganizer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOrganizer(aOrganizer); } \
  NS_IMETHOD GetAttendees(uint32_t *count, calIAttendee ***attendees) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttendees(count, attendees); } \
  NS_IMETHOD GetAttendeeById(const nsACString& id, calIAttendee **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttendeeById(id, _retval); } \
  NS_IMETHOD AddAttendee(calIAttendee *attendee) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAttendee(attendee); } \
  NS_IMETHOD RemoveAttendee(calIAttendee *attendee) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAttendee(attendee); } \
  NS_IMETHOD RemoveAllAttendees(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAllAttendees(); } \
  NS_IMETHOD GetAttachments(uint32_t *count, calIAttachment ***attachments) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttachments(count, attachments); } \
  NS_IMETHOD AddAttachment(calIAttachment *attachment) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAttachment(attachment); } \
  NS_IMETHOD RemoveAttachment(calIAttachment *attachment) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAttachment(attachment); } \
  NS_IMETHOD RemoveAllAttachments(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAllAttachments(); } \
  NS_IMETHOD GetCategories(uint32_t *aCount, char16_t * **aCategories) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCategories(aCount, aCategories); } \
  NS_IMETHOD SetCategories(uint32_t aCount, const char16_t * *aCategories) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCategories(aCount, aCategories); } \
  NS_IMETHOD GetRelations(uint32_t *count, calIRelation ***relations) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelations(count, relations); } \
  NS_IMETHOD AddRelation(calIRelation *relation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddRelation(relation); } \
  NS_IMETHOD RemoveRelation(calIRelation *relation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveRelation(relation); } \
  NS_IMETHOD RemoveAllRelations(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAllRelations(); } \
  NS_IMETHOD GetOccurrencesBetween(calIDateTime *aStartDate, calIDateTime *aEndDate, uint32_t *aCount, calIItemBase ***aOccurrences) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOccurrencesBetween(aStartDate, aEndDate, aCount, aOccurrences); } \
  NS_IMETHOD GetParentItem(calIItemBase **aParentItem) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentItem(aParentItem); } \
  NS_IMETHOD SetParentItem(calIItemBase *aParentItem) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParentItem(aParentItem); } \
  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); } 


#endif /* __gen_calIItemBase_h__ */