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

#ifndef __gen_calIAlarm_h__
#define __gen_calIAlarm_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 nsIVariant; /* forward declaration */

class nsISimpleEnumerator; /* forward declaration */

class calIAttachment; /* forward declaration */

class calIAttendee; /* forward declaration */

class calIDateTime; /* forward declaration */

class calIDuration; /* forward declaration */

class calIItemBase; /* forward declaration */

class calIIcalComponent; /* forward declaration */


/* starting interface:    calIAlarm */
#define CALIALARM_IID_STR "b8db7c7f-c168-4e11-becb-f26c1c4f5f8f"

#define CALIALARM_IID \
  {0xb8db7c7f, 0xc168, 0x4e11, \
    { 0xbe, 0xcb, 0xf2, 0x6c, 0x1c, 0x4f, 0x5f, 0x8f }}

class NS_NO_VTABLE calIAlarm : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIALARM_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;

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

  /* attribute AUTF8String action; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAction(nsACString& aAction) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAction(const nsACString& aAction) = 0;

  /* attribute calIDuration offset; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOffset(calIDuration **aOffset) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOffset(calIDuration *aOffset) = 0;

  /* attribute calIDateTime alarmDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAlarmDate(calIDateTime **aAlarmDate) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAlarmDate(calIDateTime *aAlarmDate) = 0;

  /* attribute unsigned long related; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRelated(uint32_t *aRelated) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRelated(uint32_t aRelated) = 0;

  enum {
    ALARM_RELATED_ABSOLUTE = 0U,
    ALARM_RELATED_START = 1U,
    ALARM_RELATED_END = 2U
  };

  /* attribute unsigned long repeat; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRepeat(uint32_t *aRepeat) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRepeat(uint32_t aRepeat) = 0;

  /* attribute calIDuration repeatOffset; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRepeatOffset(calIDuration **aRepeatOffset) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRepeatOffset(calIDuration *aRepeatOffset) = 0;

  /* readonly attribute calIDateTime repeatDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRepeatDate(calIDateTime **aRepeatDate) = 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 summary; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSummary(nsACString& aSummary) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSummary(const nsACString& aSummary) = 0;

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

  /* void deleteAttendee (in calIAttendee aAttendee); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DeleteAttendee(calIAttendee *aAttendee) = 0;

  /* void clearAttendees (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ClearAttendees(void) = 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;

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

  /* void deleteAttachment (in calIAttachment aAttachment); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DeleteAttachment(calIAttachment *aAttachment) = 0;

  /* void clearAttachments (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ClearAttachments(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;

  /* AUTF8String toString ([optional] in calIItemBase aItem); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ToString(calIItemBase *aItem, nsACString& _retval) = 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;

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

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

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

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

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

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIAlarm, CALIALARM_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIALARM \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override; \
  NS_IMETHOD MakeImmutable(void) override; \
  NS_IMETHOD Clone(calIAlarm **_retval) override; \
  NS_IMETHOD GetAction(nsACString& aAction) override; \
  NS_IMETHOD SetAction(const nsACString& aAction) override; \
  NS_IMETHOD GetOffset(calIDuration **aOffset) override; \
  NS_IMETHOD SetOffset(calIDuration *aOffset) override; \
  NS_IMETHOD GetAlarmDate(calIDateTime **aAlarmDate) override; \
  NS_IMETHOD SetAlarmDate(calIDateTime *aAlarmDate) override; \
  NS_IMETHOD GetRelated(uint32_t *aRelated) override; \
  NS_IMETHOD SetRelated(uint32_t aRelated) override; \
  NS_IMETHOD GetRepeat(uint32_t *aRepeat) override; \
  NS_IMETHOD SetRepeat(uint32_t aRepeat) override; \
  NS_IMETHOD GetRepeatOffset(calIDuration **aRepeatOffset) override; \
  NS_IMETHOD SetRepeatOffset(calIDuration *aRepeatOffset) override; \
  NS_IMETHOD GetRepeatDate(calIDateTime **aRepeatDate) override; \
  NS_IMETHOD GetDescription(nsACString& aDescription) override; \
  NS_IMETHOD SetDescription(const nsACString& aDescription) override; \
  NS_IMETHOD GetSummary(nsACString& aSummary) override; \
  NS_IMETHOD SetSummary(const nsACString& aSummary) override; \
  NS_IMETHOD AddAttendee(calIAttendee *aAttendee) override; \
  NS_IMETHOD DeleteAttendee(calIAttendee *aAttendee) override; \
  NS_IMETHOD ClearAttendees(void) override; \
  NS_IMETHOD GetAttendees(uint32_t *count, calIAttendee ***attendees) override; \
  NS_IMETHOD AddAttachment(calIAttachment *aAttachment) override; \
  NS_IMETHOD DeleteAttachment(calIAttachment *aAttachment) override; \
  NS_IMETHOD ClearAttachments(void) override; \
  NS_IMETHOD GetAttachments(uint32_t *count, calIAttachment ***attachments) override; \
  NS_IMETHOD ToString(calIItemBase *aItem, nsACString& _retval) 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 HasProperty(const nsACString& name, bool *_retval) override; \
  NS_IMETHOD GetProperty(const nsACString& name, nsIVariant **_retval) override; \
  NS_IMETHOD SetProperty(const nsACString& name, nsIVariant *value) override; \
  NS_IMETHOD DeleteProperty(const nsACString& name) override; \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) 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_CALIALARM \
  nsresult GetIsMutable(bool *aIsMutable); \
  nsresult MakeImmutable(void); \
  nsresult Clone(calIAlarm **_retval); \
  nsresult GetAction(nsACString& aAction); \
  nsresult SetAction(const nsACString& aAction); \
  nsresult GetOffset(calIDuration **aOffset); \
  nsresult SetOffset(calIDuration *aOffset); \
  nsresult GetAlarmDate(calIDateTime **aAlarmDate); \
  nsresult SetAlarmDate(calIDateTime *aAlarmDate); \
  nsresult GetRelated(uint32_t *aRelated); \
  nsresult SetRelated(uint32_t aRelated); \
  nsresult GetRepeat(uint32_t *aRepeat); \
  nsresult SetRepeat(uint32_t aRepeat); \
  nsresult GetRepeatOffset(calIDuration **aRepeatOffset); \
  nsresult SetRepeatOffset(calIDuration *aRepeatOffset); \
  nsresult GetRepeatDate(calIDateTime **aRepeatDate); \
  nsresult GetDescription(nsACString& aDescription); \
  nsresult SetDescription(const nsACString& aDescription); \
  nsresult GetSummary(nsACString& aSummary); \
  nsresult SetSummary(const nsACString& aSummary); \
  nsresult AddAttendee(calIAttendee *aAttendee); \
  nsresult DeleteAttendee(calIAttendee *aAttendee); \
  nsresult ClearAttendees(void); \
  nsresult GetAttendees(uint32_t *count, calIAttendee ***attendees); \
  nsresult AddAttachment(calIAttachment *aAttachment); \
  nsresult DeleteAttachment(calIAttachment *aAttachment); \
  nsresult ClearAttachments(void); \
  nsresult GetAttachments(uint32_t *count, calIAttachment ***attachments); \
  nsresult ToString(calIItemBase *aItem, nsACString& _retval); \
  nsresult GetIcalString(nsACString& aIcalString); \
  nsresult SetIcalString(const nsACString& aIcalString); \
  nsresult GetIcalComponent(calIIcalComponent **aIcalComponent); \
  nsresult SetIcalComponent(calIIcalComponent *aIcalComponent); \
  nsresult HasProperty(const nsACString& name, bool *_retval); \
  nsresult GetProperty(const nsACString& name, nsIVariant **_retval); \
  nsresult SetProperty(const nsACString& name, nsIVariant *value); \
  nsresult DeleteProperty(const nsACString& name); \
  nsresult GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIALARM(_to) \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return _to GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return _to MakeImmutable(); } \
  NS_IMETHOD Clone(calIAlarm **_retval) override { return _to Clone(_retval); } \
  NS_IMETHOD GetAction(nsACString& aAction) override { return _to GetAction(aAction); } \
  NS_IMETHOD SetAction(const nsACString& aAction) override { return _to SetAction(aAction); } \
  NS_IMETHOD GetOffset(calIDuration **aOffset) override { return _to GetOffset(aOffset); } \
  NS_IMETHOD SetOffset(calIDuration *aOffset) override { return _to SetOffset(aOffset); } \
  NS_IMETHOD GetAlarmDate(calIDateTime **aAlarmDate) override { return _to GetAlarmDate(aAlarmDate); } \
  NS_IMETHOD SetAlarmDate(calIDateTime *aAlarmDate) override { return _to SetAlarmDate(aAlarmDate); } \
  NS_IMETHOD GetRelated(uint32_t *aRelated) override { return _to GetRelated(aRelated); } \
  NS_IMETHOD SetRelated(uint32_t aRelated) override { return _to SetRelated(aRelated); } \
  NS_IMETHOD GetRepeat(uint32_t *aRepeat) override { return _to GetRepeat(aRepeat); } \
  NS_IMETHOD SetRepeat(uint32_t aRepeat) override { return _to SetRepeat(aRepeat); } \
  NS_IMETHOD GetRepeatOffset(calIDuration **aRepeatOffset) override { return _to GetRepeatOffset(aRepeatOffset); } \
  NS_IMETHOD SetRepeatOffset(calIDuration *aRepeatOffset) override { return _to SetRepeatOffset(aRepeatOffset); } \
  NS_IMETHOD GetRepeatDate(calIDateTime **aRepeatDate) override { return _to GetRepeatDate(aRepeatDate); } \
  NS_IMETHOD GetDescription(nsACString& aDescription) override { return _to GetDescription(aDescription); } \
  NS_IMETHOD SetDescription(const nsACString& aDescription) override { return _to SetDescription(aDescription); } \
  NS_IMETHOD GetSummary(nsACString& aSummary) override { return _to GetSummary(aSummary); } \
  NS_IMETHOD SetSummary(const nsACString& aSummary) override { return _to SetSummary(aSummary); } \
  NS_IMETHOD AddAttendee(calIAttendee *aAttendee) override { return _to AddAttendee(aAttendee); } \
  NS_IMETHOD DeleteAttendee(calIAttendee *aAttendee) override { return _to DeleteAttendee(aAttendee); } \
  NS_IMETHOD ClearAttendees(void) override { return _to ClearAttendees(); } \
  NS_IMETHOD GetAttendees(uint32_t *count, calIAttendee ***attendees) override { return _to GetAttendees(count, attendees); } \
  NS_IMETHOD AddAttachment(calIAttachment *aAttachment) override { return _to AddAttachment(aAttachment); } \
  NS_IMETHOD DeleteAttachment(calIAttachment *aAttachment) override { return _to DeleteAttachment(aAttachment); } \
  NS_IMETHOD ClearAttachments(void) override { return _to ClearAttachments(); } \
  NS_IMETHOD GetAttachments(uint32_t *count, calIAttachment ***attachments) override { return _to GetAttachments(count, attachments); } \
  NS_IMETHOD ToString(calIItemBase *aItem, nsACString& _retval) override { return _to ToString(aItem, _retval); } \
  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 HasProperty(const nsACString& name, bool *_retval) override { return _to HasProperty(name, _retval); } \
  NS_IMETHOD GetProperty(const nsACString& name, nsIVariant **_retval) override { return _to GetProperty(name, _retval); } \
  NS_IMETHOD SetProperty(const nsACString& name, nsIVariant *value) override { return _to SetProperty(name, value); } \
  NS_IMETHOD DeleteProperty(const nsACString& name) override { return _to DeleteProperty(name); } \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) override { return _to GetPropertyEnumerator(aPropertyEnumerator); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIALARM(_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(calIAlarm **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
  NS_IMETHOD GetAction(nsACString& aAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAction(aAction); } \
  NS_IMETHOD SetAction(const nsACString& aAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAction(aAction); } \
  NS_IMETHOD GetOffset(calIDuration **aOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffset(aOffset); } \
  NS_IMETHOD SetOffset(calIDuration *aOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOffset(aOffset); } \
  NS_IMETHOD GetAlarmDate(calIDateTime **aAlarmDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlarmDate(aAlarmDate); } \
  NS_IMETHOD SetAlarmDate(calIDateTime *aAlarmDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlarmDate(aAlarmDate); } \
  NS_IMETHOD GetRelated(uint32_t *aRelated) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRelated(aRelated); } \
  NS_IMETHOD SetRelated(uint32_t aRelated) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRelated(aRelated); } \
  NS_IMETHOD GetRepeat(uint32_t *aRepeat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRepeat(aRepeat); } \
  NS_IMETHOD SetRepeat(uint32_t aRepeat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRepeat(aRepeat); } \
  NS_IMETHOD GetRepeatOffset(calIDuration **aRepeatOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRepeatOffset(aRepeatOffset); } \
  NS_IMETHOD SetRepeatOffset(calIDuration *aRepeatOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRepeatOffset(aRepeatOffset); } \
  NS_IMETHOD GetRepeatDate(calIDateTime **aRepeatDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRepeatDate(aRepeatDate); } \
  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 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 AddAttendee(calIAttendee *aAttendee) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAttendee(aAttendee); } \
  NS_IMETHOD DeleteAttendee(calIAttendee *aAttendee) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteAttendee(aAttendee); } \
  NS_IMETHOD ClearAttendees(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearAttendees(); } \
  NS_IMETHOD GetAttendees(uint32_t *count, calIAttendee ***attendees) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttendees(count, attendees); } \
  NS_IMETHOD AddAttachment(calIAttachment *aAttachment) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAttachment(aAttachment); } \
  NS_IMETHOD DeleteAttachment(calIAttachment *aAttachment) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteAttachment(aAttachment); } \
  NS_IMETHOD ClearAttachments(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearAttachments(); } \
  NS_IMETHOD GetAttachments(uint32_t *count, calIAttachment ***attachments) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttachments(count, attachments); } \
  NS_IMETHOD ToString(calIItemBase *aItem, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(aItem, _retval); } \
  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 HasProperty(const nsACString& name, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HasProperty(name, _retval); } \
  NS_IMETHOD GetProperty(const nsACString& name, nsIVariant **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProperty(name, _retval); } \
  NS_IMETHOD SetProperty(const nsACString& name, nsIVariant *value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProperty(name, value); } \
  NS_IMETHOD DeleteProperty(const nsACString& name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteProperty(name); } \
  NS_IMETHOD GetPropertyEnumerator(nsISimpleEnumerator **aPropertyEnumerator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyEnumerator(aPropertyEnumerator); } 


#endif /* __gen_calIAlarm_h__ */