/usr/include/thunderbird/calIAlarm.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/calIAlarm.idl
*/
#ifndef __gen_calIAlarm_h__
#define __gen_calIAlarm_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* 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; */
NS_IMETHOD GetIsMutable(bool *aIsMutable) = 0;
/* void makeImmutable (); */
NS_IMETHOD MakeImmutable(void) = 0;
/* calIAlarm clone (); */
NS_IMETHOD Clone(calIAlarm * *_retval) = 0;
/* attribute AUTF8String action; */
NS_IMETHOD GetAction(nsACString & aAction) = 0;
NS_IMETHOD SetAction(const nsACString & aAction) = 0;
/* attribute calIDuration offset; */
NS_IMETHOD GetOffset(calIDuration * *aOffset) = 0;
NS_IMETHOD SetOffset(calIDuration *aOffset) = 0;
/* attribute calIDateTime alarmDate; */
NS_IMETHOD GetAlarmDate(calIDateTime * *aAlarmDate) = 0;
NS_IMETHOD SetAlarmDate(calIDateTime *aAlarmDate) = 0;
/* attribute unsigned long related; */
NS_IMETHOD GetRelated(uint32_t *aRelated) = 0;
NS_IMETHOD SetRelated(uint32_t aRelated) = 0;
enum {
ALARM_RELATED_ABSOLUTE = 0U,
ALARM_RELATED_START = 1U,
ALARM_RELATED_END = 2U
};
/* attribute unsigned long repeat; */
NS_IMETHOD GetRepeat(uint32_t *aRepeat) = 0;
NS_IMETHOD SetRepeat(uint32_t aRepeat) = 0;
/* attribute calIDuration repeatOffset; */
NS_IMETHOD GetRepeatOffset(calIDuration * *aRepeatOffset) = 0;
NS_IMETHOD SetRepeatOffset(calIDuration *aRepeatOffset) = 0;
/* readonly attribute calIDateTime repeatDate; */
NS_IMETHOD GetRepeatDate(calIDateTime * *aRepeatDate) = 0;
/* attribute AUTF8String description; */
NS_IMETHOD GetDescription(nsACString & aDescription) = 0;
NS_IMETHOD SetDescription(const nsACString & aDescription) = 0;
/* attribute AUTF8String summary; */
NS_IMETHOD GetSummary(nsACString & aSummary) = 0;
NS_IMETHOD SetSummary(const nsACString & aSummary) = 0;
/* void addAttendee (in calIAttendee aAttendee); */
NS_IMETHOD AddAttendee(calIAttendee *aAttendee) = 0;
/* void deleteAttendee (in calIAttendee aAttendee); */
NS_IMETHOD DeleteAttendee(calIAttendee *aAttendee) = 0;
/* void clearAttendees (); */
NS_IMETHOD ClearAttendees(void) = 0;
/* void getAttendees (out uint32_t count, [array, size_is (count), retval] out calIAttendee attendees); */
NS_IMETHOD GetAttendees(uint32_t *count, calIAttendee * **attendees) = 0;
/* void addAttachment (in calIAttachment aAttachment); */
NS_IMETHOD AddAttachment(calIAttachment *aAttachment) = 0;
/* void deleteAttachment (in calIAttachment aAttachment); */
NS_IMETHOD DeleteAttachment(calIAttachment *aAttachment) = 0;
/* void clearAttachments (); */
NS_IMETHOD ClearAttachments(void) = 0;
/* void getAttachments (out uint32_t count, [array, size_is (count), retval] out calIAttachment attachments); */
NS_IMETHOD GetAttachments(uint32_t *count, calIAttachment * **attachments) = 0;
/* AUTF8String toString ([optional] in calIItemBase aItem); */
NS_IMETHOD ToString(calIItemBase *aItem, nsACString & _retval) = 0;
/* attribute AUTF8String icalString; */
NS_IMETHOD GetIcalString(nsACString & aIcalString) = 0;
NS_IMETHOD SetIcalString(const nsACString & aIcalString) = 0;
/* attribute calIIcalComponent icalComponent; */
NS_IMETHOD GetIcalComponent(calIIcalComponent * *aIcalComponent) = 0;
NS_IMETHOD SetIcalComponent(calIIcalComponent *aIcalComponent) = 0;
/* boolean hasProperty (in AUTF8String name); */
NS_IMETHOD HasProperty(const nsACString & name, bool *_retval) = 0;
/* nsIVariant getProperty (in AUTF8String name); */
NS_IMETHOD GetProperty(const nsACString & name, nsIVariant * *_retval) = 0;
/* void setProperty (in AUTF8String name, in nsIVariant value); */
NS_IMETHOD SetProperty(const nsACString & name, nsIVariant *value) = 0;
/* void deleteProperty (in AUTF8String name); */
NS_IMETHOD DeleteProperty(const nsACString & name) = 0;
/* readonly attribute nsISimpleEnumerator propertyEnumerator; */
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 \
NS_METHOD GetIsMutable(bool *aIsMutable); \
NS_METHOD MakeImmutable(void); \
NS_METHOD Clone(calIAlarm * *_retval); \
NS_METHOD GetAction(nsACString & aAction); \
NS_METHOD SetAction(const nsACString & aAction); \
NS_METHOD GetOffset(calIDuration * *aOffset); \
NS_METHOD SetOffset(calIDuration *aOffset); \
NS_METHOD GetAlarmDate(calIDateTime * *aAlarmDate); \
NS_METHOD SetAlarmDate(calIDateTime *aAlarmDate); \
NS_METHOD GetRelated(uint32_t *aRelated); \
NS_METHOD SetRelated(uint32_t aRelated); \
NS_METHOD GetRepeat(uint32_t *aRepeat); \
NS_METHOD SetRepeat(uint32_t aRepeat); \
NS_METHOD GetRepeatOffset(calIDuration * *aRepeatOffset); \
NS_METHOD SetRepeatOffset(calIDuration *aRepeatOffset); \
NS_METHOD GetRepeatDate(calIDateTime * *aRepeatDate); \
NS_METHOD GetDescription(nsACString & aDescription); \
NS_METHOD SetDescription(const nsACString & aDescription); \
NS_METHOD GetSummary(nsACString & aSummary); \
NS_METHOD SetSummary(const nsACString & aSummary); \
NS_METHOD AddAttendee(calIAttendee *aAttendee); \
NS_METHOD DeleteAttendee(calIAttendee *aAttendee); \
NS_METHOD ClearAttendees(void); \
NS_METHOD GetAttendees(uint32_t *count, calIAttendee * **attendees); \
NS_METHOD AddAttachment(calIAttachment *aAttachment); \
NS_METHOD DeleteAttachment(calIAttachment *aAttachment); \
NS_METHOD ClearAttachments(void); \
NS_METHOD GetAttachments(uint32_t *count, calIAttachment * **attachments); \
NS_METHOD ToString(calIItemBase *aItem, nsACString & _retval); \
NS_METHOD GetIcalString(nsACString & aIcalString); \
NS_METHOD SetIcalString(const nsACString & aIcalString); \
NS_METHOD GetIcalComponent(calIIcalComponent * *aIcalComponent); \
NS_METHOD SetIcalComponent(calIIcalComponent *aIcalComponent); \
NS_METHOD HasProperty(const nsACString & name, bool *_retval); \
NS_METHOD GetProperty(const nsACString & name, nsIVariant * *_retval); \
NS_METHOD SetProperty(const nsACString & name, nsIVariant *value); \
NS_METHOD DeleteProperty(const nsACString & name); \
NS_METHOD 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); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calIAlarm
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALIALARM
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIAlarm)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute boolean isMutable; */
NS_IMETHODIMP _MYCLASS_::GetIsMutable(bool *aIsMutable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void makeImmutable (); */
NS_IMETHODIMP _MYCLASS_::MakeImmutable()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* calIAlarm clone (); */
NS_IMETHODIMP _MYCLASS_::Clone(calIAlarm * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String action; */
NS_IMETHODIMP _MYCLASS_::GetAction(nsACString & aAction)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetAction(const nsACString & aAction)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute calIDuration offset; */
NS_IMETHODIMP _MYCLASS_::GetOffset(calIDuration * *aOffset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetOffset(calIDuration *aOffset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute calIDateTime alarmDate; */
NS_IMETHODIMP _MYCLASS_::GetAlarmDate(calIDateTime * *aAlarmDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetAlarmDate(calIDateTime *aAlarmDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute unsigned long related; */
NS_IMETHODIMP _MYCLASS_::GetRelated(uint32_t *aRelated)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetRelated(uint32_t aRelated)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute unsigned long repeat; */
NS_IMETHODIMP _MYCLASS_::GetRepeat(uint32_t *aRepeat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetRepeat(uint32_t aRepeat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute calIDuration repeatOffset; */
NS_IMETHODIMP _MYCLASS_::GetRepeatOffset(calIDuration * *aRepeatOffset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetRepeatOffset(calIDuration *aRepeatOffset)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute calIDateTime repeatDate; */
NS_IMETHODIMP _MYCLASS_::GetRepeatDate(calIDateTime * *aRepeatDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String description; */
NS_IMETHODIMP _MYCLASS_::GetDescription(nsACString & aDescription)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetDescription(const nsACString & aDescription)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String summary; */
NS_IMETHODIMP _MYCLASS_::GetSummary(nsACString & aSummary)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetSummary(const nsACString & aSummary)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addAttendee (in calIAttendee aAttendee); */
NS_IMETHODIMP _MYCLASS_::AddAttendee(calIAttendee *aAttendee)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void deleteAttendee (in calIAttendee aAttendee); */
NS_IMETHODIMP _MYCLASS_::DeleteAttendee(calIAttendee *aAttendee)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void clearAttendees (); */
NS_IMETHODIMP _MYCLASS_::ClearAttendees()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getAttendees (out uint32_t count, [array, size_is (count), retval] out calIAttendee attendees); */
NS_IMETHODIMP _MYCLASS_::GetAttendees(uint32_t *count, calIAttendee * **attendees)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addAttachment (in calIAttachment aAttachment); */
NS_IMETHODIMP _MYCLASS_::AddAttachment(calIAttachment *aAttachment)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void deleteAttachment (in calIAttachment aAttachment); */
NS_IMETHODIMP _MYCLASS_::DeleteAttachment(calIAttachment *aAttachment)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void clearAttachments (); */
NS_IMETHODIMP _MYCLASS_::ClearAttachments()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getAttachments (out uint32_t count, [array, size_is (count), retval] out calIAttachment attachments); */
NS_IMETHODIMP _MYCLASS_::GetAttachments(uint32_t *count, calIAttachment * **attachments)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AUTF8String toString ([optional] in calIItemBase aItem); */
NS_IMETHODIMP _MYCLASS_::ToString(calIItemBase *aItem, nsACString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String icalString; */
NS_IMETHODIMP _MYCLASS_::GetIcalString(nsACString & aIcalString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIcalString(const nsACString & aIcalString)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute calIIcalComponent icalComponent; */
NS_IMETHODIMP _MYCLASS_::GetIcalComponent(calIIcalComponent * *aIcalComponent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIcalComponent(calIIcalComponent *aIcalComponent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean hasProperty (in AUTF8String name); */
NS_IMETHODIMP _MYCLASS_::HasProperty(const nsACString & name, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIVariant getProperty (in AUTF8String name); */
NS_IMETHODIMP _MYCLASS_::GetProperty(const nsACString & name, nsIVariant * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setProperty (in AUTF8String name, in nsIVariant value); */
NS_IMETHODIMP _MYCLASS_::SetProperty(const nsACString & name, nsIVariant *value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void deleteProperty (in AUTF8String name); */
NS_IMETHODIMP _MYCLASS_::DeleteProperty(const nsACString & name)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsISimpleEnumerator propertyEnumerator; */
NS_IMETHODIMP _MYCLASS_::GetPropertyEnumerator(nsISimpleEnumerator * *aPropertyEnumerator)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_calIAlarm_h__ */
|