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

#ifndef __gen_nsIMsgIdentity_h__
#define __gen_nsIMsgIdentity_h__


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

#ifndef __gen_nsIFile_h__
#include "nsIFile.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

/* starting interface:    nsIMsgIdentity */
#define NS_IMSGIDENTITY_IID_STR "9dede9a0-f6fc-4afc-8fc9-a6af52414b3d"

#define NS_IMSGIDENTITY_IID \
  {0x9dede9a0, 0xf6fc, 0x4afc, \
    { 0x8f, 0xc9, 0xa6, 0xaf, 0x52, 0x41, 0x4b, 0x3d }}

class NS_NO_VTABLE nsIMsgIdentity : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGIDENTITY_IID)

  /* attribute ACString key; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetKey(nsACString& aKey) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetKey(const nsACString& aKey) = 0;

  /* attribute AString label; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLabel(nsAString& aLabel) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLabel(const nsAString& aLabel) = 0;

  /* readonly attribute AString identityName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIdentityName(nsAString& aIdentityName) = 0;

  /* attribute AString fullName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFullName(nsAString& aFullName) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFullName(const nsAString& aFullName) = 0;

  /* attribute ACString email; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetEmail(nsACString& aEmail) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetEmail(const nsACString& aEmail) = 0;

  /* readonly attribute AString fullAddress; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFullAddress(nsAString& aFullAddress) = 0;

  /* attribute AUTF8String replyTo; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReplyTo(nsACString& aReplyTo) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetReplyTo(const nsACString& aReplyTo) = 0;

  /* attribute AString organization; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOrganization(nsAString& aOrganization) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOrganization(const nsAString& aOrganization) = 0;

  /* attribute boolean composeHtml; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetComposeHtml(bool *aComposeHtml) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetComposeHtml(bool aComposeHtml) = 0;

  /* attribute boolean attachSignature; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAttachSignature(bool *aAttachSignature) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAttachSignature(bool aAttachSignature) = 0;

  /* attribute boolean attachVCard; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAttachVCard(bool *aAttachVCard) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAttachVCard(bool aAttachVCard) = 0;

  /* attribute boolean autoQuote; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAutoQuote(bool *aAutoQuote) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAutoQuote(bool aAutoQuote) = 0;

  /* attribute long replyOnTop; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReplyOnTop(int32_t *aReplyOnTop) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetReplyOnTop(int32_t aReplyOnTop) = 0;

  /* attribute boolean sigBottom; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSigBottom(bool *aSigBottom) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSigBottom(bool aSigBottom) = 0;

  /* attribute boolean sigOnForward; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSigOnForward(bool *aSigOnForward) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSigOnForward(bool aSigOnForward) = 0;

  /* attribute boolean sigOnReply; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSigOnReply(bool *aSigOnReply) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSigOnReply(bool aSigOnReply) = 0;

  /* attribute nsIFile signature; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSignature(nsIFile **aSignature) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSignature(nsIFile *aSignature) = 0;

  /* attribute long signatureDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSignatureDate(int32_t *aSignatureDate) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSignatureDate(int32_t aSignatureDate) = 0;

  /* attribute AString htmlSigText; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHtmlSigText(nsAString& aHtmlSigText) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetHtmlSigText(const nsAString& aHtmlSigText) = 0;

  /* attribute boolean htmlSigFormat; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHtmlSigFormat(bool *aHtmlSigFormat) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetHtmlSigFormat(bool aHtmlSigFormat) = 0;

  /* attribute boolean suppressSigSep; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSuppressSigSep(bool *aSuppressSigSep) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSuppressSigSep(bool aSuppressSigSep) = 0;

  /* attribute ACString escapedVCard; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetEscapedVCard(nsACString& aEscapedVCard) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetEscapedVCard(const nsACString& aEscapedVCard) = 0;

  /* attribute boolean doFcc; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDoFcc(bool *aDoFcc) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDoFcc(bool aDoFcc) = 0;

  /* attribute ACString fccFolder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFccFolder(nsACString& aFccFolder) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFccFolder(const nsACString& aFccFolder) = 0;

  /* attribute boolean fccReplyFollowsParent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFccReplyFollowsParent(bool *aFccReplyFollowsParent) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFccReplyFollowsParent(bool aFccReplyFollowsParent) = 0;

  /* attribute ACString fccFolderPickerMode; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFccFolderPickerMode(nsACString& aFccFolderPickerMode) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFccFolderPickerMode(const nsACString& aFccFolderPickerMode) = 0;

  /* attribute ACString draftsFolderPickerMode; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDraftsFolderPickerMode(nsACString& aDraftsFolderPickerMode) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDraftsFolderPickerMode(const nsACString& aDraftsFolderPickerMode) = 0;

  /* attribute ACString archivesFolderPickerMode; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetArchivesFolderPickerMode(nsACString& aArchivesFolderPickerMode) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetArchivesFolderPickerMode(const nsACString& aArchivesFolderPickerMode) = 0;

  /* attribute ACString tmplFolderPickerMode; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetTmplFolderPickerMode(nsACString& aTmplFolderPickerMode) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetTmplFolderPickerMode(const nsACString& aTmplFolderPickerMode) = 0;

  /* attribute boolean bccSelf; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBccSelf(bool *aBccSelf) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBccSelf(bool aBccSelf) = 0;

  /* attribute boolean bccOthers; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBccOthers(bool *aBccOthers) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBccOthers(bool aBccOthers) = 0;

  /* attribute ACString bccList; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBccList(nsACString& aBccList) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBccList(const nsACString& aBccList) = 0;

  /* attribute boolean doCc; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDoCc(bool *aDoCc) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDoCc(bool aDoCc) = 0;

  /* attribute AUTF8String doCcList; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDoCcList(nsACString& aDoCcList) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDoCcList(const nsACString& aDoCcList) = 0;

  /* attribute boolean doBcc; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDoBcc(bool *aDoBcc) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDoBcc(bool aDoBcc) = 0;

  /* attribute AUTF8String doBccList; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDoBccList(nsACString& aDoBccList) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDoBccList(const nsACString& aDoBccList) = 0;

  /* attribute ACString draftFolder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDraftFolder(nsACString& aDraftFolder) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDraftFolder(const nsACString& aDraftFolder) = 0;

  /* attribute ACString archiveFolder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetArchiveFolder(nsACString& aArchiveFolder) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetArchiveFolder(const nsACString& aArchiveFolder) = 0;

  /* attribute ACString stationeryFolder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetStationeryFolder(nsACString& aStationeryFolder) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetStationeryFolder(const nsACString& aStationeryFolder) = 0;

  /* attribute boolean archiveEnabled; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetArchiveEnabled(bool *aArchiveEnabled) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetArchiveEnabled(bool aArchiveEnabled) = 0;

  /* attribute long archiveGranularity; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetArchiveGranularity(int32_t *aArchiveGranularity) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetArchiveGranularity(int32_t aArchiveGranularity) = 0;

  enum {
    singleArchiveFolder = 0,
    perYearArchiveFolders = 1,
    perMonthArchiveFolders = 2
  };

  /* attribute boolean archiveKeepFolderStructure; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure) = 0;

  /* attribute boolean showSaveMsgDlg; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetShowSaveMsgDlg(bool *aShowSaveMsgDlg) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetShowSaveMsgDlg(bool aShowSaveMsgDlg) = 0;

  /* attribute ACString directoryServer; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDirectoryServer(nsACString& aDirectoryServer) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDirectoryServer(const nsACString& aDirectoryServer) = 0;

  /* attribute boolean overrideGlobalPref; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOverrideGlobalPref(bool *aOverrideGlobalPref) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOverrideGlobalPref(bool aOverrideGlobalPref) = 0;

  /* attribute boolean autocompleteToMyDomain; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain) = 0;

  /* attribute boolean valid; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetValid(bool *aValid) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetValid(bool aValid) = 0;

  /* void clearAllValues (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ClearAllValues(void) = 0;

  /* attribute ACString smtpServerKey; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSmtpServerKey(nsACString& aSmtpServerKey) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSmtpServerKey(const nsACString& aSmtpServerKey) = 0;

  /* readonly attribute boolean requestReturnReceipt; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRequestReturnReceipt(bool *aRequestReturnReceipt) = 0;

  /* readonly attribute long receiptHeaderType; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReceiptHeaderType(int32_t *aReceiptHeaderType) = 0;

  /* readonly attribute boolean requestDSN; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRequestDSN(bool *aRequestDSN) = 0;

  /* void copy (in nsIMsgIdentity identity); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Copy(nsIMsgIdentity *identity) = 0;

  /* AString getUnicharAttribute (in string name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUnicharAttribute(const char * name, nsAString& _retval) = 0;

  /* void setUnicharAttribute (in string name, in AString value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUnicharAttribute(const char * name, const nsAString& value) = 0;

  /* ACString getCharAttribute (in string name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCharAttribute(const char * name, nsACString& _retval) = 0;

  /* void setCharAttribute (in string name, in ACString value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetCharAttribute(const char * name, const nsACString& value) = 0;

  /* boolean getBoolAttribute (in string name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBoolAttribute(const char * name, bool *_retval) = 0;

  /* void setBoolAttribute (in string name, in boolean value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBoolAttribute(const char * name, bool value) = 0;

  /* long getIntAttribute (in string name); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIntAttribute(const char * name, int32_t *_retval) = 0;

  /* void setIntAttribute (in string name, in long value); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIntAttribute(const char * name, int32_t value) = 0;

  /* AString toString (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ToString(nsAString& _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgIdentity, NS_IMSGIDENTITY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGIDENTITY \
  NS_IMETHOD GetKey(nsACString& aKey) override; \
  NS_IMETHOD SetKey(const nsACString& aKey) override; \
  NS_IMETHOD GetLabel(nsAString& aLabel) override; \
  NS_IMETHOD SetLabel(const nsAString& aLabel) override; \
  NS_IMETHOD GetIdentityName(nsAString& aIdentityName) override; \
  NS_IMETHOD GetFullName(nsAString& aFullName) override; \
  NS_IMETHOD SetFullName(const nsAString& aFullName) override; \
  NS_IMETHOD GetEmail(nsACString& aEmail) override; \
  NS_IMETHOD SetEmail(const nsACString& aEmail) override; \
  NS_IMETHOD GetFullAddress(nsAString& aFullAddress) override; \
  NS_IMETHOD GetReplyTo(nsACString& aReplyTo) override; \
  NS_IMETHOD SetReplyTo(const nsACString& aReplyTo) override; \
  NS_IMETHOD GetOrganization(nsAString& aOrganization) override; \
  NS_IMETHOD SetOrganization(const nsAString& aOrganization) override; \
  NS_IMETHOD GetComposeHtml(bool *aComposeHtml) override; \
  NS_IMETHOD SetComposeHtml(bool aComposeHtml) override; \
  NS_IMETHOD GetAttachSignature(bool *aAttachSignature) override; \
  NS_IMETHOD SetAttachSignature(bool aAttachSignature) override; \
  NS_IMETHOD GetAttachVCard(bool *aAttachVCard) override; \
  NS_IMETHOD SetAttachVCard(bool aAttachVCard) override; \
  NS_IMETHOD GetAutoQuote(bool *aAutoQuote) override; \
  NS_IMETHOD SetAutoQuote(bool aAutoQuote) override; \
  NS_IMETHOD GetReplyOnTop(int32_t *aReplyOnTop) override; \
  NS_IMETHOD SetReplyOnTop(int32_t aReplyOnTop) override; \
  NS_IMETHOD GetSigBottom(bool *aSigBottom) override; \
  NS_IMETHOD SetSigBottom(bool aSigBottom) override; \
  NS_IMETHOD GetSigOnForward(bool *aSigOnForward) override; \
  NS_IMETHOD SetSigOnForward(bool aSigOnForward) override; \
  NS_IMETHOD GetSigOnReply(bool *aSigOnReply) override; \
  NS_IMETHOD SetSigOnReply(bool aSigOnReply) override; \
  NS_IMETHOD GetSignature(nsIFile **aSignature) override; \
  NS_IMETHOD SetSignature(nsIFile *aSignature) override; \
  NS_IMETHOD GetSignatureDate(int32_t *aSignatureDate) override; \
  NS_IMETHOD SetSignatureDate(int32_t aSignatureDate) override; \
  NS_IMETHOD GetHtmlSigText(nsAString& aHtmlSigText) override; \
  NS_IMETHOD SetHtmlSigText(const nsAString& aHtmlSigText) override; \
  NS_IMETHOD GetHtmlSigFormat(bool *aHtmlSigFormat) override; \
  NS_IMETHOD SetHtmlSigFormat(bool aHtmlSigFormat) override; \
  NS_IMETHOD GetSuppressSigSep(bool *aSuppressSigSep) override; \
  NS_IMETHOD SetSuppressSigSep(bool aSuppressSigSep) override; \
  NS_IMETHOD GetEscapedVCard(nsACString& aEscapedVCard) override; \
  NS_IMETHOD SetEscapedVCard(const nsACString& aEscapedVCard) override; \
  NS_IMETHOD GetDoFcc(bool *aDoFcc) override; \
  NS_IMETHOD SetDoFcc(bool aDoFcc) override; \
  NS_IMETHOD GetFccFolder(nsACString& aFccFolder) override; \
  NS_IMETHOD SetFccFolder(const nsACString& aFccFolder) override; \
  NS_IMETHOD GetFccReplyFollowsParent(bool *aFccReplyFollowsParent) override; \
  NS_IMETHOD SetFccReplyFollowsParent(bool aFccReplyFollowsParent) override; \
  NS_IMETHOD GetFccFolderPickerMode(nsACString& aFccFolderPickerMode) override; \
  NS_IMETHOD SetFccFolderPickerMode(const nsACString& aFccFolderPickerMode) override; \
  NS_IMETHOD GetDraftsFolderPickerMode(nsACString& aDraftsFolderPickerMode) override; \
  NS_IMETHOD SetDraftsFolderPickerMode(const nsACString& aDraftsFolderPickerMode) override; \
  NS_IMETHOD GetArchivesFolderPickerMode(nsACString& aArchivesFolderPickerMode) override; \
  NS_IMETHOD SetArchivesFolderPickerMode(const nsACString& aArchivesFolderPickerMode) override; \
  NS_IMETHOD GetTmplFolderPickerMode(nsACString& aTmplFolderPickerMode) override; \
  NS_IMETHOD SetTmplFolderPickerMode(const nsACString& aTmplFolderPickerMode) override; \
  NS_IMETHOD GetBccSelf(bool *aBccSelf) override; \
  NS_IMETHOD SetBccSelf(bool aBccSelf) override; \
  NS_IMETHOD GetBccOthers(bool *aBccOthers) override; \
  NS_IMETHOD SetBccOthers(bool aBccOthers) override; \
  NS_IMETHOD GetBccList(nsACString& aBccList) override; \
  NS_IMETHOD SetBccList(const nsACString& aBccList) override; \
  NS_IMETHOD GetDoCc(bool *aDoCc) override; \
  NS_IMETHOD SetDoCc(bool aDoCc) override; \
  NS_IMETHOD GetDoCcList(nsACString& aDoCcList) override; \
  NS_IMETHOD SetDoCcList(const nsACString& aDoCcList) override; \
  NS_IMETHOD GetDoBcc(bool *aDoBcc) override; \
  NS_IMETHOD SetDoBcc(bool aDoBcc) override; \
  NS_IMETHOD GetDoBccList(nsACString& aDoBccList) override; \
  NS_IMETHOD SetDoBccList(const nsACString& aDoBccList) override; \
  NS_IMETHOD GetDraftFolder(nsACString& aDraftFolder) override; \
  NS_IMETHOD SetDraftFolder(const nsACString& aDraftFolder) override; \
  NS_IMETHOD GetArchiveFolder(nsACString& aArchiveFolder) override; \
  NS_IMETHOD SetArchiveFolder(const nsACString& aArchiveFolder) override; \
  NS_IMETHOD GetStationeryFolder(nsACString& aStationeryFolder) override; \
  NS_IMETHOD SetStationeryFolder(const nsACString& aStationeryFolder) override; \
  NS_IMETHOD GetArchiveEnabled(bool *aArchiveEnabled) override; \
  NS_IMETHOD SetArchiveEnabled(bool aArchiveEnabled) override; \
  NS_IMETHOD GetArchiveGranularity(int32_t *aArchiveGranularity) override; \
  NS_IMETHOD SetArchiveGranularity(int32_t aArchiveGranularity) override; \
  NS_IMETHOD GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure) override; \
  NS_IMETHOD SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure) override; \
  NS_IMETHOD GetShowSaveMsgDlg(bool *aShowSaveMsgDlg) override; \
  NS_IMETHOD SetShowSaveMsgDlg(bool aShowSaveMsgDlg) override; \
  NS_IMETHOD GetDirectoryServer(nsACString& aDirectoryServer) override; \
  NS_IMETHOD SetDirectoryServer(const nsACString& aDirectoryServer) override; \
  NS_IMETHOD GetOverrideGlobalPref(bool *aOverrideGlobalPref) override; \
  NS_IMETHOD SetOverrideGlobalPref(bool aOverrideGlobalPref) override; \
  NS_IMETHOD GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain) override; \
  NS_IMETHOD SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain) override; \
  NS_IMETHOD GetValid(bool *aValid) override; \
  NS_IMETHOD SetValid(bool aValid) override; \
  NS_IMETHOD ClearAllValues(void) override; \
  NS_IMETHOD GetSmtpServerKey(nsACString& aSmtpServerKey) override; \
  NS_IMETHOD SetSmtpServerKey(const nsACString& aSmtpServerKey) override; \
  NS_IMETHOD GetRequestReturnReceipt(bool *aRequestReturnReceipt) override; \
  NS_IMETHOD GetReceiptHeaderType(int32_t *aReceiptHeaderType) override; \
  NS_IMETHOD GetRequestDSN(bool *aRequestDSN) override; \
  NS_IMETHOD Copy(nsIMsgIdentity *identity) override; \
  NS_IMETHOD GetUnicharAttribute(const char * name, nsAString& _retval) override; \
  NS_IMETHOD SetUnicharAttribute(const char * name, const nsAString& value) override; \
  NS_IMETHOD GetCharAttribute(const char * name, nsACString& _retval) override; \
  NS_IMETHOD SetCharAttribute(const char * name, const nsACString& value) override; \
  NS_IMETHOD GetBoolAttribute(const char * name, bool *_retval) override; \
  NS_IMETHOD SetBoolAttribute(const char * name, bool value) override; \
  NS_IMETHOD GetIntAttribute(const char * name, int32_t *_retval) override; \
  NS_IMETHOD SetIntAttribute(const char * name, int32_t value) override; \
  NS_IMETHOD ToString(nsAString& _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_NSIMSGIDENTITY \
  nsresult GetKey(nsACString& aKey); \
  nsresult SetKey(const nsACString& aKey); \
  nsresult GetLabel(nsAString& aLabel); \
  nsresult SetLabel(const nsAString& aLabel); \
  nsresult GetIdentityName(nsAString& aIdentityName); \
  nsresult GetFullName(nsAString& aFullName); \
  nsresult SetFullName(const nsAString& aFullName); \
  nsresult GetEmail(nsACString& aEmail); \
  nsresult SetEmail(const nsACString& aEmail); \
  nsresult GetFullAddress(nsAString& aFullAddress); \
  nsresult GetReplyTo(nsACString& aReplyTo); \
  nsresult SetReplyTo(const nsACString& aReplyTo); \
  nsresult GetOrganization(nsAString& aOrganization); \
  nsresult SetOrganization(const nsAString& aOrganization); \
  nsresult GetComposeHtml(bool *aComposeHtml); \
  nsresult SetComposeHtml(bool aComposeHtml); \
  nsresult GetAttachSignature(bool *aAttachSignature); \
  nsresult SetAttachSignature(bool aAttachSignature); \
  nsresult GetAttachVCard(bool *aAttachVCard); \
  nsresult SetAttachVCard(bool aAttachVCard); \
  nsresult GetAutoQuote(bool *aAutoQuote); \
  nsresult SetAutoQuote(bool aAutoQuote); \
  nsresult GetReplyOnTop(int32_t *aReplyOnTop); \
  nsresult SetReplyOnTop(int32_t aReplyOnTop); \
  nsresult GetSigBottom(bool *aSigBottom); \
  nsresult SetSigBottom(bool aSigBottom); \
  nsresult GetSigOnForward(bool *aSigOnForward); \
  nsresult SetSigOnForward(bool aSigOnForward); \
  nsresult GetSigOnReply(bool *aSigOnReply); \
  nsresult SetSigOnReply(bool aSigOnReply); \
  nsresult GetSignature(nsIFile **aSignature); \
  nsresult SetSignature(nsIFile *aSignature); \
  nsresult GetSignatureDate(int32_t *aSignatureDate); \
  nsresult SetSignatureDate(int32_t aSignatureDate); \
  nsresult GetHtmlSigText(nsAString& aHtmlSigText); \
  nsresult SetHtmlSigText(const nsAString& aHtmlSigText); \
  nsresult GetHtmlSigFormat(bool *aHtmlSigFormat); \
  nsresult SetHtmlSigFormat(bool aHtmlSigFormat); \
  nsresult GetSuppressSigSep(bool *aSuppressSigSep); \
  nsresult SetSuppressSigSep(bool aSuppressSigSep); \
  nsresult GetEscapedVCard(nsACString& aEscapedVCard); \
  nsresult SetEscapedVCard(const nsACString& aEscapedVCard); \
  nsresult GetDoFcc(bool *aDoFcc); \
  nsresult SetDoFcc(bool aDoFcc); \
  nsresult GetFccFolder(nsACString& aFccFolder); \
  nsresult SetFccFolder(const nsACString& aFccFolder); \
  nsresult GetFccReplyFollowsParent(bool *aFccReplyFollowsParent); \
  nsresult SetFccReplyFollowsParent(bool aFccReplyFollowsParent); \
  nsresult GetFccFolderPickerMode(nsACString& aFccFolderPickerMode); \
  nsresult SetFccFolderPickerMode(const nsACString& aFccFolderPickerMode); \
  nsresult GetDraftsFolderPickerMode(nsACString& aDraftsFolderPickerMode); \
  nsresult SetDraftsFolderPickerMode(const nsACString& aDraftsFolderPickerMode); \
  nsresult GetArchivesFolderPickerMode(nsACString& aArchivesFolderPickerMode); \
  nsresult SetArchivesFolderPickerMode(const nsACString& aArchivesFolderPickerMode); \
  nsresult GetTmplFolderPickerMode(nsACString& aTmplFolderPickerMode); \
  nsresult SetTmplFolderPickerMode(const nsACString& aTmplFolderPickerMode); \
  nsresult GetBccSelf(bool *aBccSelf); \
  nsresult SetBccSelf(bool aBccSelf); \
  nsresult GetBccOthers(bool *aBccOthers); \
  nsresult SetBccOthers(bool aBccOthers); \
  nsresult GetBccList(nsACString& aBccList); \
  nsresult SetBccList(const nsACString& aBccList); \
  nsresult GetDoCc(bool *aDoCc); \
  nsresult SetDoCc(bool aDoCc); \
  nsresult GetDoCcList(nsACString& aDoCcList); \
  nsresult SetDoCcList(const nsACString& aDoCcList); \
  nsresult GetDoBcc(bool *aDoBcc); \
  nsresult SetDoBcc(bool aDoBcc); \
  nsresult GetDoBccList(nsACString& aDoBccList); \
  nsresult SetDoBccList(const nsACString& aDoBccList); \
  nsresult GetDraftFolder(nsACString& aDraftFolder); \
  nsresult SetDraftFolder(const nsACString& aDraftFolder); \
  nsresult GetArchiveFolder(nsACString& aArchiveFolder); \
  nsresult SetArchiveFolder(const nsACString& aArchiveFolder); \
  nsresult GetStationeryFolder(nsACString& aStationeryFolder); \
  nsresult SetStationeryFolder(const nsACString& aStationeryFolder); \
  nsresult GetArchiveEnabled(bool *aArchiveEnabled); \
  nsresult SetArchiveEnabled(bool aArchiveEnabled); \
  nsresult GetArchiveGranularity(int32_t *aArchiveGranularity); \
  nsresult SetArchiveGranularity(int32_t aArchiveGranularity); \
  nsresult GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure); \
  nsresult SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure); \
  nsresult GetShowSaveMsgDlg(bool *aShowSaveMsgDlg); \
  nsresult SetShowSaveMsgDlg(bool aShowSaveMsgDlg); \
  nsresult GetDirectoryServer(nsACString& aDirectoryServer); \
  nsresult SetDirectoryServer(const nsACString& aDirectoryServer); \
  nsresult GetOverrideGlobalPref(bool *aOverrideGlobalPref); \
  nsresult SetOverrideGlobalPref(bool aOverrideGlobalPref); \
  nsresult GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain); \
  nsresult SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain); \
  nsresult GetValid(bool *aValid); \
  nsresult SetValid(bool aValid); \
  nsresult ClearAllValues(void); \
  nsresult GetSmtpServerKey(nsACString& aSmtpServerKey); \
  nsresult SetSmtpServerKey(const nsACString& aSmtpServerKey); \
  nsresult GetRequestReturnReceipt(bool *aRequestReturnReceipt); \
  nsresult GetReceiptHeaderType(int32_t *aReceiptHeaderType); \
  nsresult GetRequestDSN(bool *aRequestDSN); \
  nsresult Copy(nsIMsgIdentity *identity); \
  nsresult GetUnicharAttribute(const char * name, nsAString& _retval); \
  nsresult SetUnicharAttribute(const char * name, const nsAString& value); \
  nsresult GetCharAttribute(const char * name, nsACString& _retval); \
  nsresult SetCharAttribute(const char * name, const nsACString& value); \
  nsresult GetBoolAttribute(const char * name, bool *_retval); \
  nsresult SetBoolAttribute(const char * name, bool value); \
  nsresult GetIntAttribute(const char * name, int32_t *_retval); \
  nsresult SetIntAttribute(const char * name, int32_t value); \
  nsresult ToString(nsAString& _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGIDENTITY(_to) \
  NS_IMETHOD GetKey(nsACString& aKey) override { return _to GetKey(aKey); } \
  NS_IMETHOD SetKey(const nsACString& aKey) override { return _to SetKey(aKey); } \
  NS_IMETHOD GetLabel(nsAString& aLabel) override { return _to GetLabel(aLabel); } \
  NS_IMETHOD SetLabel(const nsAString& aLabel) override { return _to SetLabel(aLabel); } \
  NS_IMETHOD GetIdentityName(nsAString& aIdentityName) override { return _to GetIdentityName(aIdentityName); } \
  NS_IMETHOD GetFullName(nsAString& aFullName) override { return _to GetFullName(aFullName); } \
  NS_IMETHOD SetFullName(const nsAString& aFullName) override { return _to SetFullName(aFullName); } \
  NS_IMETHOD GetEmail(nsACString& aEmail) override { return _to GetEmail(aEmail); } \
  NS_IMETHOD SetEmail(const nsACString& aEmail) override { return _to SetEmail(aEmail); } \
  NS_IMETHOD GetFullAddress(nsAString& aFullAddress) override { return _to GetFullAddress(aFullAddress); } \
  NS_IMETHOD GetReplyTo(nsACString& aReplyTo) override { return _to GetReplyTo(aReplyTo); } \
  NS_IMETHOD SetReplyTo(const nsACString& aReplyTo) override { return _to SetReplyTo(aReplyTo); } \
  NS_IMETHOD GetOrganization(nsAString& aOrganization) override { return _to GetOrganization(aOrganization); } \
  NS_IMETHOD SetOrganization(const nsAString& aOrganization) override { return _to SetOrganization(aOrganization); } \
  NS_IMETHOD GetComposeHtml(bool *aComposeHtml) override { return _to GetComposeHtml(aComposeHtml); } \
  NS_IMETHOD SetComposeHtml(bool aComposeHtml) override { return _to SetComposeHtml(aComposeHtml); } \
  NS_IMETHOD GetAttachSignature(bool *aAttachSignature) override { return _to GetAttachSignature(aAttachSignature); } \
  NS_IMETHOD SetAttachSignature(bool aAttachSignature) override { return _to SetAttachSignature(aAttachSignature); } \
  NS_IMETHOD GetAttachVCard(bool *aAttachVCard) override { return _to GetAttachVCard(aAttachVCard); } \
  NS_IMETHOD SetAttachVCard(bool aAttachVCard) override { return _to SetAttachVCard(aAttachVCard); } \
  NS_IMETHOD GetAutoQuote(bool *aAutoQuote) override { return _to GetAutoQuote(aAutoQuote); } \
  NS_IMETHOD SetAutoQuote(bool aAutoQuote) override { return _to SetAutoQuote(aAutoQuote); } \
  NS_IMETHOD GetReplyOnTop(int32_t *aReplyOnTop) override { return _to GetReplyOnTop(aReplyOnTop); } \
  NS_IMETHOD SetReplyOnTop(int32_t aReplyOnTop) override { return _to SetReplyOnTop(aReplyOnTop); } \
  NS_IMETHOD GetSigBottom(bool *aSigBottom) override { return _to GetSigBottom(aSigBottom); } \
  NS_IMETHOD SetSigBottom(bool aSigBottom) override { return _to SetSigBottom(aSigBottom); } \
  NS_IMETHOD GetSigOnForward(bool *aSigOnForward) override { return _to GetSigOnForward(aSigOnForward); } \
  NS_IMETHOD SetSigOnForward(bool aSigOnForward) override { return _to SetSigOnForward(aSigOnForward); } \
  NS_IMETHOD GetSigOnReply(bool *aSigOnReply) override { return _to GetSigOnReply(aSigOnReply); } \
  NS_IMETHOD SetSigOnReply(bool aSigOnReply) override { return _to SetSigOnReply(aSigOnReply); } \
  NS_IMETHOD GetSignature(nsIFile **aSignature) override { return _to GetSignature(aSignature); } \
  NS_IMETHOD SetSignature(nsIFile *aSignature) override { return _to SetSignature(aSignature); } \
  NS_IMETHOD GetSignatureDate(int32_t *aSignatureDate) override { return _to GetSignatureDate(aSignatureDate); } \
  NS_IMETHOD SetSignatureDate(int32_t aSignatureDate) override { return _to SetSignatureDate(aSignatureDate); } \
  NS_IMETHOD GetHtmlSigText(nsAString& aHtmlSigText) override { return _to GetHtmlSigText(aHtmlSigText); } \
  NS_IMETHOD SetHtmlSigText(const nsAString& aHtmlSigText) override { return _to SetHtmlSigText(aHtmlSigText); } \
  NS_IMETHOD GetHtmlSigFormat(bool *aHtmlSigFormat) override { return _to GetHtmlSigFormat(aHtmlSigFormat); } \
  NS_IMETHOD SetHtmlSigFormat(bool aHtmlSigFormat) override { return _to SetHtmlSigFormat(aHtmlSigFormat); } \
  NS_IMETHOD GetSuppressSigSep(bool *aSuppressSigSep) override { return _to GetSuppressSigSep(aSuppressSigSep); } \
  NS_IMETHOD SetSuppressSigSep(bool aSuppressSigSep) override { return _to SetSuppressSigSep(aSuppressSigSep); } \
  NS_IMETHOD GetEscapedVCard(nsACString& aEscapedVCard) override { return _to GetEscapedVCard(aEscapedVCard); } \
  NS_IMETHOD SetEscapedVCard(const nsACString& aEscapedVCard) override { return _to SetEscapedVCard(aEscapedVCard); } \
  NS_IMETHOD GetDoFcc(bool *aDoFcc) override { return _to GetDoFcc(aDoFcc); } \
  NS_IMETHOD SetDoFcc(bool aDoFcc) override { return _to SetDoFcc(aDoFcc); } \
  NS_IMETHOD GetFccFolder(nsACString& aFccFolder) override { return _to GetFccFolder(aFccFolder); } \
  NS_IMETHOD SetFccFolder(const nsACString& aFccFolder) override { return _to SetFccFolder(aFccFolder); } \
  NS_IMETHOD GetFccReplyFollowsParent(bool *aFccReplyFollowsParent) override { return _to GetFccReplyFollowsParent(aFccReplyFollowsParent); } \
  NS_IMETHOD SetFccReplyFollowsParent(bool aFccReplyFollowsParent) override { return _to SetFccReplyFollowsParent(aFccReplyFollowsParent); } \
  NS_IMETHOD GetFccFolderPickerMode(nsACString& aFccFolderPickerMode) override { return _to GetFccFolderPickerMode(aFccFolderPickerMode); } \
  NS_IMETHOD SetFccFolderPickerMode(const nsACString& aFccFolderPickerMode) override { return _to SetFccFolderPickerMode(aFccFolderPickerMode); } \
  NS_IMETHOD GetDraftsFolderPickerMode(nsACString& aDraftsFolderPickerMode) override { return _to GetDraftsFolderPickerMode(aDraftsFolderPickerMode); } \
  NS_IMETHOD SetDraftsFolderPickerMode(const nsACString& aDraftsFolderPickerMode) override { return _to SetDraftsFolderPickerMode(aDraftsFolderPickerMode); } \
  NS_IMETHOD GetArchivesFolderPickerMode(nsACString& aArchivesFolderPickerMode) override { return _to GetArchivesFolderPickerMode(aArchivesFolderPickerMode); } \
  NS_IMETHOD SetArchivesFolderPickerMode(const nsACString& aArchivesFolderPickerMode) override { return _to SetArchivesFolderPickerMode(aArchivesFolderPickerMode); } \
  NS_IMETHOD GetTmplFolderPickerMode(nsACString& aTmplFolderPickerMode) override { return _to GetTmplFolderPickerMode(aTmplFolderPickerMode); } \
  NS_IMETHOD SetTmplFolderPickerMode(const nsACString& aTmplFolderPickerMode) override { return _to SetTmplFolderPickerMode(aTmplFolderPickerMode); } \
  NS_IMETHOD GetBccSelf(bool *aBccSelf) override { return _to GetBccSelf(aBccSelf); } \
  NS_IMETHOD SetBccSelf(bool aBccSelf) override { return _to SetBccSelf(aBccSelf); } \
  NS_IMETHOD GetBccOthers(bool *aBccOthers) override { return _to GetBccOthers(aBccOthers); } \
  NS_IMETHOD SetBccOthers(bool aBccOthers) override { return _to SetBccOthers(aBccOthers); } \
  NS_IMETHOD GetBccList(nsACString& aBccList) override { return _to GetBccList(aBccList); } \
  NS_IMETHOD SetBccList(const nsACString& aBccList) override { return _to SetBccList(aBccList); } \
  NS_IMETHOD GetDoCc(bool *aDoCc) override { return _to GetDoCc(aDoCc); } \
  NS_IMETHOD SetDoCc(bool aDoCc) override { return _to SetDoCc(aDoCc); } \
  NS_IMETHOD GetDoCcList(nsACString& aDoCcList) override { return _to GetDoCcList(aDoCcList); } \
  NS_IMETHOD SetDoCcList(const nsACString& aDoCcList) override { return _to SetDoCcList(aDoCcList); } \
  NS_IMETHOD GetDoBcc(bool *aDoBcc) override { return _to GetDoBcc(aDoBcc); } \
  NS_IMETHOD SetDoBcc(bool aDoBcc) override { return _to SetDoBcc(aDoBcc); } \
  NS_IMETHOD GetDoBccList(nsACString& aDoBccList) override { return _to GetDoBccList(aDoBccList); } \
  NS_IMETHOD SetDoBccList(const nsACString& aDoBccList) override { return _to SetDoBccList(aDoBccList); } \
  NS_IMETHOD GetDraftFolder(nsACString& aDraftFolder) override { return _to GetDraftFolder(aDraftFolder); } \
  NS_IMETHOD SetDraftFolder(const nsACString& aDraftFolder) override { return _to SetDraftFolder(aDraftFolder); } \
  NS_IMETHOD GetArchiveFolder(nsACString& aArchiveFolder) override { return _to GetArchiveFolder(aArchiveFolder); } \
  NS_IMETHOD SetArchiveFolder(const nsACString& aArchiveFolder) override { return _to SetArchiveFolder(aArchiveFolder); } \
  NS_IMETHOD GetStationeryFolder(nsACString& aStationeryFolder) override { return _to GetStationeryFolder(aStationeryFolder); } \
  NS_IMETHOD SetStationeryFolder(const nsACString& aStationeryFolder) override { return _to SetStationeryFolder(aStationeryFolder); } \
  NS_IMETHOD GetArchiveEnabled(bool *aArchiveEnabled) override { return _to GetArchiveEnabled(aArchiveEnabled); } \
  NS_IMETHOD SetArchiveEnabled(bool aArchiveEnabled) override { return _to SetArchiveEnabled(aArchiveEnabled); } \
  NS_IMETHOD GetArchiveGranularity(int32_t *aArchiveGranularity) override { return _to GetArchiveGranularity(aArchiveGranularity); } \
  NS_IMETHOD SetArchiveGranularity(int32_t aArchiveGranularity) override { return _to SetArchiveGranularity(aArchiveGranularity); } \
  NS_IMETHOD GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure) override { return _to GetArchiveKeepFolderStructure(aArchiveKeepFolderStructure); } \
  NS_IMETHOD SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure) override { return _to SetArchiveKeepFolderStructure(aArchiveKeepFolderStructure); } \
  NS_IMETHOD GetShowSaveMsgDlg(bool *aShowSaveMsgDlg) override { return _to GetShowSaveMsgDlg(aShowSaveMsgDlg); } \
  NS_IMETHOD SetShowSaveMsgDlg(bool aShowSaveMsgDlg) override { return _to SetShowSaveMsgDlg(aShowSaveMsgDlg); } \
  NS_IMETHOD GetDirectoryServer(nsACString& aDirectoryServer) override { return _to GetDirectoryServer(aDirectoryServer); } \
  NS_IMETHOD SetDirectoryServer(const nsACString& aDirectoryServer) override { return _to SetDirectoryServer(aDirectoryServer); } \
  NS_IMETHOD GetOverrideGlobalPref(bool *aOverrideGlobalPref) override { return _to GetOverrideGlobalPref(aOverrideGlobalPref); } \
  NS_IMETHOD SetOverrideGlobalPref(bool aOverrideGlobalPref) override { return _to SetOverrideGlobalPref(aOverrideGlobalPref); } \
  NS_IMETHOD GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain) override { return _to GetAutocompleteToMyDomain(aAutocompleteToMyDomain); } \
  NS_IMETHOD SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain) override { return _to SetAutocompleteToMyDomain(aAutocompleteToMyDomain); } \
  NS_IMETHOD GetValid(bool *aValid) override { return _to GetValid(aValid); } \
  NS_IMETHOD SetValid(bool aValid) override { return _to SetValid(aValid); } \
  NS_IMETHOD ClearAllValues(void) override { return _to ClearAllValues(); } \
  NS_IMETHOD GetSmtpServerKey(nsACString& aSmtpServerKey) override { return _to GetSmtpServerKey(aSmtpServerKey); } \
  NS_IMETHOD SetSmtpServerKey(const nsACString& aSmtpServerKey) override { return _to SetSmtpServerKey(aSmtpServerKey); } \
  NS_IMETHOD GetRequestReturnReceipt(bool *aRequestReturnReceipt) override { return _to GetRequestReturnReceipt(aRequestReturnReceipt); } \
  NS_IMETHOD GetReceiptHeaderType(int32_t *aReceiptHeaderType) override { return _to GetReceiptHeaderType(aReceiptHeaderType); } \
  NS_IMETHOD GetRequestDSN(bool *aRequestDSN) override { return _to GetRequestDSN(aRequestDSN); } \
  NS_IMETHOD Copy(nsIMsgIdentity *identity) override { return _to Copy(identity); } \
  NS_IMETHOD GetUnicharAttribute(const char * name, nsAString& _retval) override { return _to GetUnicharAttribute(name, _retval); } \
  NS_IMETHOD SetUnicharAttribute(const char * name, const nsAString& value) override { return _to SetUnicharAttribute(name, value); } \
  NS_IMETHOD GetCharAttribute(const char * name, nsACString& _retval) override { return _to GetCharAttribute(name, _retval); } \
  NS_IMETHOD SetCharAttribute(const char * name, const nsACString& value) override { return _to SetCharAttribute(name, value); } \
  NS_IMETHOD GetBoolAttribute(const char * name, bool *_retval) override { return _to GetBoolAttribute(name, _retval); } \
  NS_IMETHOD SetBoolAttribute(const char * name, bool value) override { return _to SetBoolAttribute(name, value); } \
  NS_IMETHOD GetIntAttribute(const char * name, int32_t *_retval) override { return _to GetIntAttribute(name, _retval); } \
  NS_IMETHOD SetIntAttribute(const char * name, int32_t value) override { return _to SetIntAttribute(name, value); } \
  NS_IMETHOD ToString(nsAString& _retval) override { return _to ToString(_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_NSIMSGIDENTITY(_to) \
  NS_IMETHOD GetKey(nsACString& aKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKey(aKey); } \
  NS_IMETHOD SetKey(const nsACString& aKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKey(aKey); } \
  NS_IMETHOD GetLabel(nsAString& aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
  NS_IMETHOD SetLabel(const nsAString& aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } \
  NS_IMETHOD GetIdentityName(nsAString& aIdentityName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdentityName(aIdentityName); } \
  NS_IMETHOD GetFullName(nsAString& aFullName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullName(aFullName); } \
  NS_IMETHOD SetFullName(const nsAString& aFullName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFullName(aFullName); } \
  NS_IMETHOD GetEmail(nsACString& aEmail) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmail(aEmail); } \
  NS_IMETHOD SetEmail(const nsACString& aEmail) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEmail(aEmail); } \
  NS_IMETHOD GetFullAddress(nsAString& aFullAddress) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullAddress(aFullAddress); } \
  NS_IMETHOD GetReplyTo(nsACString& aReplyTo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplyTo(aReplyTo); } \
  NS_IMETHOD SetReplyTo(const nsACString& aReplyTo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReplyTo(aReplyTo); } \
  NS_IMETHOD GetOrganization(nsAString& aOrganization) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrganization(aOrganization); } \
  NS_IMETHOD SetOrganization(const nsAString& aOrganization) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOrganization(aOrganization); } \
  NS_IMETHOD GetComposeHtml(bool *aComposeHtml) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComposeHtml(aComposeHtml); } \
  NS_IMETHOD SetComposeHtml(bool aComposeHtml) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetComposeHtml(aComposeHtml); } \
  NS_IMETHOD GetAttachSignature(bool *aAttachSignature) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttachSignature(aAttachSignature); } \
  NS_IMETHOD SetAttachSignature(bool aAttachSignature) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttachSignature(aAttachSignature); } \
  NS_IMETHOD GetAttachVCard(bool *aAttachVCard) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttachVCard(aAttachVCard); } \
  NS_IMETHOD SetAttachVCard(bool aAttachVCard) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttachVCard(aAttachVCard); } \
  NS_IMETHOD GetAutoQuote(bool *aAutoQuote) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoQuote(aAutoQuote); } \
  NS_IMETHOD SetAutoQuote(bool aAutoQuote) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoQuote(aAutoQuote); } \
  NS_IMETHOD GetReplyOnTop(int32_t *aReplyOnTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplyOnTop(aReplyOnTop); } \
  NS_IMETHOD SetReplyOnTop(int32_t aReplyOnTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReplyOnTop(aReplyOnTop); } \
  NS_IMETHOD GetSigBottom(bool *aSigBottom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSigBottom(aSigBottom); } \
  NS_IMETHOD SetSigBottom(bool aSigBottom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSigBottom(aSigBottom); } \
  NS_IMETHOD GetSigOnForward(bool *aSigOnForward) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSigOnForward(aSigOnForward); } \
  NS_IMETHOD SetSigOnForward(bool aSigOnForward) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSigOnForward(aSigOnForward); } \
  NS_IMETHOD GetSigOnReply(bool *aSigOnReply) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSigOnReply(aSigOnReply); } \
  NS_IMETHOD SetSigOnReply(bool aSigOnReply) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSigOnReply(aSigOnReply); } \
  NS_IMETHOD GetSignature(nsIFile **aSignature) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignature(aSignature); } \
  NS_IMETHOD SetSignature(nsIFile *aSignature) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSignature(aSignature); } \
  NS_IMETHOD GetSignatureDate(int32_t *aSignatureDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignatureDate(aSignatureDate); } \
  NS_IMETHOD SetSignatureDate(int32_t aSignatureDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSignatureDate(aSignatureDate); } \
  NS_IMETHOD GetHtmlSigText(nsAString& aHtmlSigText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlSigText(aHtmlSigText); } \
  NS_IMETHOD SetHtmlSigText(const nsAString& aHtmlSigText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlSigText(aHtmlSigText); } \
  NS_IMETHOD GetHtmlSigFormat(bool *aHtmlSigFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlSigFormat(aHtmlSigFormat); } \
  NS_IMETHOD SetHtmlSigFormat(bool aHtmlSigFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlSigFormat(aHtmlSigFormat); } \
  NS_IMETHOD GetSuppressSigSep(bool *aSuppressSigSep) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSuppressSigSep(aSuppressSigSep); } \
  NS_IMETHOD SetSuppressSigSep(bool aSuppressSigSep) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSuppressSigSep(aSuppressSigSep); } \
  NS_IMETHOD GetEscapedVCard(nsACString& aEscapedVCard) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEscapedVCard(aEscapedVCard); } \
  NS_IMETHOD SetEscapedVCard(const nsACString& aEscapedVCard) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEscapedVCard(aEscapedVCard); } \
  NS_IMETHOD GetDoFcc(bool *aDoFcc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoFcc(aDoFcc); } \
  NS_IMETHOD SetDoFcc(bool aDoFcc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoFcc(aDoFcc); } \
  NS_IMETHOD GetFccFolder(nsACString& aFccFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFccFolder(aFccFolder); } \
  NS_IMETHOD SetFccFolder(const nsACString& aFccFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFccFolder(aFccFolder); } \
  NS_IMETHOD GetFccReplyFollowsParent(bool *aFccReplyFollowsParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFccReplyFollowsParent(aFccReplyFollowsParent); } \
  NS_IMETHOD SetFccReplyFollowsParent(bool aFccReplyFollowsParent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFccReplyFollowsParent(aFccReplyFollowsParent); } \
  NS_IMETHOD GetFccFolderPickerMode(nsACString& aFccFolderPickerMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFccFolderPickerMode(aFccFolderPickerMode); } \
  NS_IMETHOD SetFccFolderPickerMode(const nsACString& aFccFolderPickerMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFccFolderPickerMode(aFccFolderPickerMode); } \
  NS_IMETHOD GetDraftsFolderPickerMode(nsACString& aDraftsFolderPickerMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDraftsFolderPickerMode(aDraftsFolderPickerMode); } \
  NS_IMETHOD SetDraftsFolderPickerMode(const nsACString& aDraftsFolderPickerMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDraftsFolderPickerMode(aDraftsFolderPickerMode); } \
  NS_IMETHOD GetArchivesFolderPickerMode(nsACString& aArchivesFolderPickerMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchivesFolderPickerMode(aArchivesFolderPickerMode); } \
  NS_IMETHOD SetArchivesFolderPickerMode(const nsACString& aArchivesFolderPickerMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchivesFolderPickerMode(aArchivesFolderPickerMode); } \
  NS_IMETHOD GetTmplFolderPickerMode(nsACString& aTmplFolderPickerMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTmplFolderPickerMode(aTmplFolderPickerMode); } \
  NS_IMETHOD SetTmplFolderPickerMode(const nsACString& aTmplFolderPickerMode) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTmplFolderPickerMode(aTmplFolderPickerMode); } \
  NS_IMETHOD GetBccSelf(bool *aBccSelf) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBccSelf(aBccSelf); } \
  NS_IMETHOD SetBccSelf(bool aBccSelf) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBccSelf(aBccSelf); } \
  NS_IMETHOD GetBccOthers(bool *aBccOthers) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBccOthers(aBccOthers); } \
  NS_IMETHOD SetBccOthers(bool aBccOthers) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBccOthers(aBccOthers); } \
  NS_IMETHOD GetBccList(nsACString& aBccList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBccList(aBccList); } \
  NS_IMETHOD SetBccList(const nsACString& aBccList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBccList(aBccList); } \
  NS_IMETHOD GetDoCc(bool *aDoCc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoCc(aDoCc); } \
  NS_IMETHOD SetDoCc(bool aDoCc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoCc(aDoCc); } \
  NS_IMETHOD GetDoCcList(nsACString& aDoCcList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoCcList(aDoCcList); } \
  NS_IMETHOD SetDoCcList(const nsACString& aDoCcList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoCcList(aDoCcList); } \
  NS_IMETHOD GetDoBcc(bool *aDoBcc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoBcc(aDoBcc); } \
  NS_IMETHOD SetDoBcc(bool aDoBcc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoBcc(aDoBcc); } \
  NS_IMETHOD GetDoBccList(nsACString& aDoBccList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoBccList(aDoBccList); } \
  NS_IMETHOD SetDoBccList(const nsACString& aDoBccList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoBccList(aDoBccList); } \
  NS_IMETHOD GetDraftFolder(nsACString& aDraftFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDraftFolder(aDraftFolder); } \
  NS_IMETHOD SetDraftFolder(const nsACString& aDraftFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDraftFolder(aDraftFolder); } \
  NS_IMETHOD GetArchiveFolder(nsACString& aArchiveFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchiveFolder(aArchiveFolder); } \
  NS_IMETHOD SetArchiveFolder(const nsACString& aArchiveFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchiveFolder(aArchiveFolder); } \
  NS_IMETHOD GetStationeryFolder(nsACString& aStationeryFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStationeryFolder(aStationeryFolder); } \
  NS_IMETHOD SetStationeryFolder(const nsACString& aStationeryFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStationeryFolder(aStationeryFolder); } \
  NS_IMETHOD GetArchiveEnabled(bool *aArchiveEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchiveEnabled(aArchiveEnabled); } \
  NS_IMETHOD SetArchiveEnabled(bool aArchiveEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchiveEnabled(aArchiveEnabled); } \
  NS_IMETHOD GetArchiveGranularity(int32_t *aArchiveGranularity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchiveGranularity(aArchiveGranularity); } \
  NS_IMETHOD SetArchiveGranularity(int32_t aArchiveGranularity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchiveGranularity(aArchiveGranularity); } \
  NS_IMETHOD GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchiveKeepFolderStructure(aArchiveKeepFolderStructure); } \
  NS_IMETHOD SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchiveKeepFolderStructure(aArchiveKeepFolderStructure); } \
  NS_IMETHOD GetShowSaveMsgDlg(bool *aShowSaveMsgDlg) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowSaveMsgDlg(aShowSaveMsgDlg); } \
  NS_IMETHOD SetShowSaveMsgDlg(bool aShowSaveMsgDlg) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowSaveMsgDlg(aShowSaveMsgDlg); } \
  NS_IMETHOD GetDirectoryServer(nsACString& aDirectoryServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDirectoryServer(aDirectoryServer); } \
  NS_IMETHOD SetDirectoryServer(const nsACString& aDirectoryServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDirectoryServer(aDirectoryServer); } \
  NS_IMETHOD GetOverrideGlobalPref(bool *aOverrideGlobalPref) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOverrideGlobalPref(aOverrideGlobalPref); } \
  NS_IMETHOD SetOverrideGlobalPref(bool aOverrideGlobalPref) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOverrideGlobalPref(aOverrideGlobalPref); } \
  NS_IMETHOD GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutocompleteToMyDomain(aAutocompleteToMyDomain); } \
  NS_IMETHOD SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutocompleteToMyDomain(aAutocompleteToMyDomain); } \
  NS_IMETHOD GetValid(bool *aValid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); } \
  NS_IMETHOD SetValid(bool aValid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValid(aValid); } \
  NS_IMETHOD ClearAllValues(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearAllValues(); } \
  NS_IMETHOD GetSmtpServerKey(nsACString& aSmtpServerKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSmtpServerKey(aSmtpServerKey); } \
  NS_IMETHOD SetSmtpServerKey(const nsACString& aSmtpServerKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSmtpServerKey(aSmtpServerKey); } \
  NS_IMETHOD GetRequestReturnReceipt(bool *aRequestReturnReceipt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestReturnReceipt(aRequestReturnReceipt); } \
  NS_IMETHOD GetReceiptHeaderType(int32_t *aReceiptHeaderType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReceiptHeaderType(aReceiptHeaderType); } \
  NS_IMETHOD GetRequestDSN(bool *aRequestDSN) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestDSN(aRequestDSN); } \
  NS_IMETHOD Copy(nsIMsgIdentity *identity) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Copy(identity); } \
  NS_IMETHOD GetUnicharAttribute(const char * name, nsAString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnicharAttribute(name, _retval); } \
  NS_IMETHOD SetUnicharAttribute(const char * name, const nsAString& value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUnicharAttribute(name, value); } \
  NS_IMETHOD GetCharAttribute(const char * name, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharAttribute(name, _retval); } \
  NS_IMETHOD SetCharAttribute(const char * name, const nsACString& value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharAttribute(name, value); } \
  NS_IMETHOD GetBoolAttribute(const char * name, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBoolAttribute(name, _retval); } \
  NS_IMETHOD SetBoolAttribute(const char * name, bool value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBoolAttribute(name, value); } \
  NS_IMETHOD GetIntAttribute(const char * name, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIntAttribute(name, _retval); } \
  NS_IMETHOD SetIntAttribute(const char * name, int32_t value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIntAttribute(name, value); } \
  NS_IMETHOD ToString(nsAString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } 


#endif /* __gen_nsIMsgIdentity_h__ */