/usr/include/thunderbird-11.0.1/nsIMsgIdentity.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
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 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/base/public/nsIMsgIdentity.idl
*/
#ifndef __gen_nsIMsgIdentity_h__
#define __gen_nsIMsgIdentity_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsILocalFile_h__
#include "nsILocalFile.h"
#endif
/* 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 "4a769f39-f8c2-41e6-962a-175a33107578"
#define NS_IMSGIDENTITY_IID \
{0x4a769f39, 0xf8c2, 0x41e6, \
{ 0x96, 0x2a, 0x17, 0x5a, 0x33, 0x10, 0x75, 0x78 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIMsgIdentity : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGIDENTITY_IID)
/* attribute ACString key; */
NS_SCRIPTABLE NS_IMETHOD GetKey(nsACString & aKey) = 0;
NS_SCRIPTABLE NS_IMETHOD SetKey(const nsACString & aKey) = 0;
/* attribute AString identityName; */
NS_SCRIPTABLE NS_IMETHOD GetIdentityName(nsAString & aIdentityName) = 0;
NS_SCRIPTABLE NS_IMETHOD SetIdentityName(const nsAString & aIdentityName) = 0;
/* attribute AString fullName; */
NS_SCRIPTABLE NS_IMETHOD GetFullName(nsAString & aFullName) = 0;
NS_SCRIPTABLE NS_IMETHOD SetFullName(const nsAString & aFullName) = 0;
/* attribute ACString email; */
NS_SCRIPTABLE NS_IMETHOD GetEmail(nsACString & aEmail) = 0;
NS_SCRIPTABLE NS_IMETHOD SetEmail(const nsACString & aEmail) = 0;
/* attribute AUTF8String replyTo; */
NS_SCRIPTABLE NS_IMETHOD GetReplyTo(nsACString & aReplyTo) = 0;
NS_SCRIPTABLE NS_IMETHOD SetReplyTo(const nsACString & aReplyTo) = 0;
/* attribute AString organization; */
NS_SCRIPTABLE NS_IMETHOD GetOrganization(nsAString & aOrganization) = 0;
NS_SCRIPTABLE NS_IMETHOD SetOrganization(const nsAString & aOrganization) = 0;
/* attribute boolean composeHtml; */
NS_SCRIPTABLE NS_IMETHOD GetComposeHtml(bool *aComposeHtml) = 0;
NS_SCRIPTABLE NS_IMETHOD SetComposeHtml(bool aComposeHtml) = 0;
/* attribute boolean attachSignature; */
NS_SCRIPTABLE NS_IMETHOD GetAttachSignature(bool *aAttachSignature) = 0;
NS_SCRIPTABLE NS_IMETHOD SetAttachSignature(bool aAttachSignature) = 0;
/* attribute boolean attachVCard; */
NS_SCRIPTABLE NS_IMETHOD GetAttachVCard(bool *aAttachVCard) = 0;
NS_SCRIPTABLE NS_IMETHOD SetAttachVCard(bool aAttachVCard) = 0;
/* attribute boolean autoQuote; */
NS_SCRIPTABLE NS_IMETHOD GetAutoQuote(bool *aAutoQuote) = 0;
NS_SCRIPTABLE NS_IMETHOD SetAutoQuote(bool aAutoQuote) = 0;
/* attribute long replyOnTop; */
NS_SCRIPTABLE NS_IMETHOD GetReplyOnTop(PRInt32 *aReplyOnTop) = 0;
NS_SCRIPTABLE NS_IMETHOD SetReplyOnTop(PRInt32 aReplyOnTop) = 0;
/* attribute boolean sigBottom; */
NS_SCRIPTABLE NS_IMETHOD GetSigBottom(bool *aSigBottom) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSigBottom(bool aSigBottom) = 0;
/* attribute boolean sigOnForward; */
NS_SCRIPTABLE NS_IMETHOD GetSigOnForward(bool *aSigOnForward) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSigOnForward(bool aSigOnForward) = 0;
/* attribute boolean sigOnReply; */
NS_SCRIPTABLE NS_IMETHOD GetSigOnReply(bool *aSigOnReply) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSigOnReply(bool aSigOnReply) = 0;
/* attribute nsILocalFile signature; */
NS_SCRIPTABLE NS_IMETHOD GetSignature(nsILocalFile * *aSignature) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSignature(nsILocalFile *aSignature) = 0;
/* attribute long signatureDate; */
NS_SCRIPTABLE NS_IMETHOD GetSignatureDate(PRInt32 *aSignatureDate) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSignatureDate(PRInt32 aSignatureDate) = 0;
/* attribute AString htmlSigText; */
NS_SCRIPTABLE NS_IMETHOD GetHtmlSigText(nsAString & aHtmlSigText) = 0;
NS_SCRIPTABLE NS_IMETHOD SetHtmlSigText(const nsAString & aHtmlSigText) = 0;
/* attribute boolean htmlSigFormat; */
NS_SCRIPTABLE NS_IMETHOD GetHtmlSigFormat(bool *aHtmlSigFormat) = 0;
NS_SCRIPTABLE NS_IMETHOD SetHtmlSigFormat(bool aHtmlSigFormat) = 0;
/* attribute boolean suppressSigSep; */
NS_SCRIPTABLE NS_IMETHOD GetSuppressSigSep(bool *aSuppressSigSep) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSuppressSigSep(bool aSuppressSigSep) = 0;
/* attribute ACString escapedVCard; */
NS_SCRIPTABLE NS_IMETHOD GetEscapedVCard(nsACString & aEscapedVCard) = 0;
NS_SCRIPTABLE NS_IMETHOD SetEscapedVCard(const nsACString & aEscapedVCard) = 0;
/* attribute boolean doFcc; */
NS_SCRIPTABLE NS_IMETHOD GetDoFcc(bool *aDoFcc) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDoFcc(bool aDoFcc) = 0;
/* attribute ACString fccFolder; */
NS_SCRIPTABLE NS_IMETHOD GetFccFolder(nsACString & aFccFolder) = 0;
NS_SCRIPTABLE NS_IMETHOD SetFccFolder(const nsACString & aFccFolder) = 0;
/* attribute boolean fccReplyFollowsParent; */
NS_SCRIPTABLE NS_IMETHOD GetFccReplyFollowsParent(bool *aFccReplyFollowsParent) = 0;
NS_SCRIPTABLE NS_IMETHOD SetFccReplyFollowsParent(bool aFccReplyFollowsParent) = 0;
/* attribute ACString fccFolderPickerMode; */
NS_SCRIPTABLE NS_IMETHOD GetFccFolderPickerMode(nsACString & aFccFolderPickerMode) = 0;
NS_SCRIPTABLE NS_IMETHOD SetFccFolderPickerMode(const nsACString & aFccFolderPickerMode) = 0;
/* attribute ACString draftsFolderPickerMode; */
NS_SCRIPTABLE NS_IMETHOD GetDraftsFolderPickerMode(nsACString & aDraftsFolderPickerMode) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDraftsFolderPickerMode(const nsACString & aDraftsFolderPickerMode) = 0;
/* attribute ACString archivesFolderPickerMode; */
NS_SCRIPTABLE NS_IMETHOD GetArchivesFolderPickerMode(nsACString & aArchivesFolderPickerMode) = 0;
NS_SCRIPTABLE NS_IMETHOD SetArchivesFolderPickerMode(const nsACString & aArchivesFolderPickerMode) = 0;
/* attribute ACString tmplFolderPickerMode; */
NS_SCRIPTABLE NS_IMETHOD GetTmplFolderPickerMode(nsACString & aTmplFolderPickerMode) = 0;
NS_SCRIPTABLE NS_IMETHOD SetTmplFolderPickerMode(const nsACString & aTmplFolderPickerMode) = 0;
/* attribute boolean bccSelf; */
NS_SCRIPTABLE NS_IMETHOD GetBccSelf(bool *aBccSelf) = 0;
NS_SCRIPTABLE NS_IMETHOD SetBccSelf(bool aBccSelf) = 0;
/* attribute boolean bccOthers; */
NS_SCRIPTABLE NS_IMETHOD GetBccOthers(bool *aBccOthers) = 0;
NS_SCRIPTABLE NS_IMETHOD SetBccOthers(bool aBccOthers) = 0;
/* attribute ACString bccList; */
NS_SCRIPTABLE NS_IMETHOD GetBccList(nsACString & aBccList) = 0;
NS_SCRIPTABLE NS_IMETHOD SetBccList(const nsACString & aBccList) = 0;
/* attribute boolean doCc; */
NS_SCRIPTABLE NS_IMETHOD GetDoCc(bool *aDoCc) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDoCc(bool aDoCc) = 0;
/* attribute AUTF8String doCcList; */
NS_SCRIPTABLE NS_IMETHOD GetDoCcList(nsACString & aDoCcList) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDoCcList(const nsACString & aDoCcList) = 0;
/* attribute boolean doBcc; */
NS_SCRIPTABLE NS_IMETHOD GetDoBcc(bool *aDoBcc) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDoBcc(bool aDoBcc) = 0;
/* attribute AUTF8String doBccList; */
NS_SCRIPTABLE NS_IMETHOD GetDoBccList(nsACString & aDoBccList) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDoBccList(const nsACString & aDoBccList) = 0;
/* attribute ACString draftFolder; */
NS_SCRIPTABLE NS_IMETHOD GetDraftFolder(nsACString & aDraftFolder) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDraftFolder(const nsACString & aDraftFolder) = 0;
/* attribute ACString archiveFolder; */
NS_SCRIPTABLE NS_IMETHOD GetArchiveFolder(nsACString & aArchiveFolder) = 0;
NS_SCRIPTABLE NS_IMETHOD SetArchiveFolder(const nsACString & aArchiveFolder) = 0;
/* attribute ACString stationeryFolder; */
NS_SCRIPTABLE NS_IMETHOD GetStationeryFolder(nsACString & aStationeryFolder) = 0;
NS_SCRIPTABLE NS_IMETHOD SetStationeryFolder(const nsACString & aStationeryFolder) = 0;
/* attribute boolean archiveEnabled; */
NS_SCRIPTABLE NS_IMETHOD GetArchiveEnabled(bool *aArchiveEnabled) = 0;
NS_SCRIPTABLE NS_IMETHOD SetArchiveEnabled(bool aArchiveEnabled) = 0;
/* attribute long archiveGranularity; */
NS_SCRIPTABLE NS_IMETHOD GetArchiveGranularity(PRInt32 *aArchiveGranularity) = 0;
NS_SCRIPTABLE NS_IMETHOD SetArchiveGranularity(PRInt32 aArchiveGranularity) = 0;
enum {
singleArchiveFolder = 0,
perYearArchiveFolders = 1,
perMonthArchiveFolders = 2
};
/* attribute boolean archiveKeepFolderStructure; */
NS_SCRIPTABLE NS_IMETHOD GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure) = 0;
NS_SCRIPTABLE NS_IMETHOD SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure) = 0;
/* attribute boolean showSaveMsgDlg; */
NS_SCRIPTABLE NS_IMETHOD GetShowSaveMsgDlg(bool *aShowSaveMsgDlg) = 0;
NS_SCRIPTABLE NS_IMETHOD SetShowSaveMsgDlg(bool aShowSaveMsgDlg) = 0;
/* attribute ACString directoryServer; */
NS_SCRIPTABLE NS_IMETHOD GetDirectoryServer(nsACString & aDirectoryServer) = 0;
NS_SCRIPTABLE NS_IMETHOD SetDirectoryServer(const nsACString & aDirectoryServer) = 0;
/* attribute boolean overrideGlobalPref; */
NS_SCRIPTABLE NS_IMETHOD GetOverrideGlobalPref(bool *aOverrideGlobalPref) = 0;
NS_SCRIPTABLE NS_IMETHOD SetOverrideGlobalPref(bool aOverrideGlobalPref) = 0;
/* attribute boolean autocompleteToMyDomain; */
NS_SCRIPTABLE NS_IMETHOD GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain) = 0;
NS_SCRIPTABLE NS_IMETHOD SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain) = 0;
/* attribute boolean valid; */
NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) = 0;
NS_SCRIPTABLE NS_IMETHOD SetValid(bool aValid) = 0;
/* void clearAllValues (); */
NS_SCRIPTABLE NS_IMETHOD ClearAllValues(void) = 0;
/* attribute ACString smtpServerKey; */
NS_SCRIPTABLE NS_IMETHOD GetSmtpServerKey(nsACString & aSmtpServerKey) = 0;
NS_SCRIPTABLE NS_IMETHOD SetSmtpServerKey(const nsACString & aSmtpServerKey) = 0;
/* readonly attribute boolean requestReturnReceipt; */
NS_SCRIPTABLE NS_IMETHOD GetRequestReturnReceipt(bool *aRequestReturnReceipt) = 0;
/* readonly attribute long receiptHeaderType; */
NS_SCRIPTABLE NS_IMETHOD GetReceiptHeaderType(PRInt32 *aReceiptHeaderType) = 0;
/* readonly attribute boolean requestDSN; */
NS_SCRIPTABLE NS_IMETHOD GetRequestDSN(bool *aRequestDSN) = 0;
/* void copy (in nsIMsgIdentity identity); */
NS_SCRIPTABLE NS_IMETHOD Copy(nsIMsgIdentity *identity) = 0;
/* AString getUnicharAttribute (in string name); */
NS_SCRIPTABLE NS_IMETHOD GetUnicharAttribute(const char * name, nsAString & _retval NS_OUTPARAM) = 0;
/* void setUnicharAttribute (in string name, in AString value); */
NS_SCRIPTABLE NS_IMETHOD SetUnicharAttribute(const char * name, const nsAString & value) = 0;
/* ACString getCharAttribute (in string name); */
NS_SCRIPTABLE NS_IMETHOD GetCharAttribute(const char * name, nsACString & _retval NS_OUTPARAM) = 0;
/* void setCharAttribute (in string name, in ACString value); */
NS_SCRIPTABLE NS_IMETHOD SetCharAttribute(const char * name, const nsACString & value) = 0;
/* boolean getBoolAttribute (in string name); */
NS_SCRIPTABLE NS_IMETHOD GetBoolAttribute(const char * name, bool *_retval NS_OUTPARAM) = 0;
/* void setBoolAttribute (in string name, in boolean value); */
NS_SCRIPTABLE NS_IMETHOD SetBoolAttribute(const char * name, bool value) = 0;
/* long getIntAttribute (in string name); */
NS_SCRIPTABLE NS_IMETHOD GetIntAttribute(const char * name, PRInt32 *_retval NS_OUTPARAM) = 0;
/* void setIntAttribute (in string name, in long value); */
NS_SCRIPTABLE NS_IMETHOD SetIntAttribute(const char * name, PRInt32 value) = 0;
/* AString toString (); */
NS_SCRIPTABLE NS_IMETHOD ToString(nsAString & _retval NS_OUTPARAM) = 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_SCRIPTABLE NS_IMETHOD GetKey(nsACString & aKey); \
NS_SCRIPTABLE NS_IMETHOD SetKey(const nsACString & aKey); \
NS_SCRIPTABLE NS_IMETHOD GetIdentityName(nsAString & aIdentityName); \
NS_SCRIPTABLE NS_IMETHOD SetIdentityName(const nsAString & aIdentityName); \
NS_SCRIPTABLE NS_IMETHOD GetFullName(nsAString & aFullName); \
NS_SCRIPTABLE NS_IMETHOD SetFullName(const nsAString & aFullName); \
NS_SCRIPTABLE NS_IMETHOD GetEmail(nsACString & aEmail); \
NS_SCRIPTABLE NS_IMETHOD SetEmail(const nsACString & aEmail); \
NS_SCRIPTABLE NS_IMETHOD GetReplyTo(nsACString & aReplyTo); \
NS_SCRIPTABLE NS_IMETHOD SetReplyTo(const nsACString & aReplyTo); \
NS_SCRIPTABLE NS_IMETHOD GetOrganization(nsAString & aOrganization); \
NS_SCRIPTABLE NS_IMETHOD SetOrganization(const nsAString & aOrganization); \
NS_SCRIPTABLE NS_IMETHOD GetComposeHtml(bool *aComposeHtml); \
NS_SCRIPTABLE NS_IMETHOD SetComposeHtml(bool aComposeHtml); \
NS_SCRIPTABLE NS_IMETHOD GetAttachSignature(bool *aAttachSignature); \
NS_SCRIPTABLE NS_IMETHOD SetAttachSignature(bool aAttachSignature); \
NS_SCRIPTABLE NS_IMETHOD GetAttachVCard(bool *aAttachVCard); \
NS_SCRIPTABLE NS_IMETHOD SetAttachVCard(bool aAttachVCard); \
NS_SCRIPTABLE NS_IMETHOD GetAutoQuote(bool *aAutoQuote); \
NS_SCRIPTABLE NS_IMETHOD SetAutoQuote(bool aAutoQuote); \
NS_SCRIPTABLE NS_IMETHOD GetReplyOnTop(PRInt32 *aReplyOnTop); \
NS_SCRIPTABLE NS_IMETHOD SetReplyOnTop(PRInt32 aReplyOnTop); \
NS_SCRIPTABLE NS_IMETHOD GetSigBottom(bool *aSigBottom); \
NS_SCRIPTABLE NS_IMETHOD SetSigBottom(bool aSigBottom); \
NS_SCRIPTABLE NS_IMETHOD GetSigOnForward(bool *aSigOnForward); \
NS_SCRIPTABLE NS_IMETHOD SetSigOnForward(bool aSigOnForward); \
NS_SCRIPTABLE NS_IMETHOD GetSigOnReply(bool *aSigOnReply); \
NS_SCRIPTABLE NS_IMETHOD SetSigOnReply(bool aSigOnReply); \
NS_SCRIPTABLE NS_IMETHOD GetSignature(nsILocalFile * *aSignature); \
NS_SCRIPTABLE NS_IMETHOD SetSignature(nsILocalFile *aSignature); \
NS_SCRIPTABLE NS_IMETHOD GetSignatureDate(PRInt32 *aSignatureDate); \
NS_SCRIPTABLE NS_IMETHOD SetSignatureDate(PRInt32 aSignatureDate); \
NS_SCRIPTABLE NS_IMETHOD GetHtmlSigText(nsAString & aHtmlSigText); \
NS_SCRIPTABLE NS_IMETHOD SetHtmlSigText(const nsAString & aHtmlSigText); \
NS_SCRIPTABLE NS_IMETHOD GetHtmlSigFormat(bool *aHtmlSigFormat); \
NS_SCRIPTABLE NS_IMETHOD SetHtmlSigFormat(bool aHtmlSigFormat); \
NS_SCRIPTABLE NS_IMETHOD GetSuppressSigSep(bool *aSuppressSigSep); \
NS_SCRIPTABLE NS_IMETHOD SetSuppressSigSep(bool aSuppressSigSep); \
NS_SCRIPTABLE NS_IMETHOD GetEscapedVCard(nsACString & aEscapedVCard); \
NS_SCRIPTABLE NS_IMETHOD SetEscapedVCard(const nsACString & aEscapedVCard); \
NS_SCRIPTABLE NS_IMETHOD GetDoFcc(bool *aDoFcc); \
NS_SCRIPTABLE NS_IMETHOD SetDoFcc(bool aDoFcc); \
NS_SCRIPTABLE NS_IMETHOD GetFccFolder(nsACString & aFccFolder); \
NS_SCRIPTABLE NS_IMETHOD SetFccFolder(const nsACString & aFccFolder); \
NS_SCRIPTABLE NS_IMETHOD GetFccReplyFollowsParent(bool *aFccReplyFollowsParent); \
NS_SCRIPTABLE NS_IMETHOD SetFccReplyFollowsParent(bool aFccReplyFollowsParent); \
NS_SCRIPTABLE NS_IMETHOD GetFccFolderPickerMode(nsACString & aFccFolderPickerMode); \
NS_SCRIPTABLE NS_IMETHOD SetFccFolderPickerMode(const nsACString & aFccFolderPickerMode); \
NS_SCRIPTABLE NS_IMETHOD GetDraftsFolderPickerMode(nsACString & aDraftsFolderPickerMode); \
NS_SCRIPTABLE NS_IMETHOD SetDraftsFolderPickerMode(const nsACString & aDraftsFolderPickerMode); \
NS_SCRIPTABLE NS_IMETHOD GetArchivesFolderPickerMode(nsACString & aArchivesFolderPickerMode); \
NS_SCRIPTABLE NS_IMETHOD SetArchivesFolderPickerMode(const nsACString & aArchivesFolderPickerMode); \
NS_SCRIPTABLE NS_IMETHOD GetTmplFolderPickerMode(nsACString & aTmplFolderPickerMode); \
NS_SCRIPTABLE NS_IMETHOD SetTmplFolderPickerMode(const nsACString & aTmplFolderPickerMode); \
NS_SCRIPTABLE NS_IMETHOD GetBccSelf(bool *aBccSelf); \
NS_SCRIPTABLE NS_IMETHOD SetBccSelf(bool aBccSelf); \
NS_SCRIPTABLE NS_IMETHOD GetBccOthers(bool *aBccOthers); \
NS_SCRIPTABLE NS_IMETHOD SetBccOthers(bool aBccOthers); \
NS_SCRIPTABLE NS_IMETHOD GetBccList(nsACString & aBccList); \
NS_SCRIPTABLE NS_IMETHOD SetBccList(const nsACString & aBccList); \
NS_SCRIPTABLE NS_IMETHOD GetDoCc(bool *aDoCc); \
NS_SCRIPTABLE NS_IMETHOD SetDoCc(bool aDoCc); \
NS_SCRIPTABLE NS_IMETHOD GetDoCcList(nsACString & aDoCcList); \
NS_SCRIPTABLE NS_IMETHOD SetDoCcList(const nsACString & aDoCcList); \
NS_SCRIPTABLE NS_IMETHOD GetDoBcc(bool *aDoBcc); \
NS_SCRIPTABLE NS_IMETHOD SetDoBcc(bool aDoBcc); \
NS_SCRIPTABLE NS_IMETHOD GetDoBccList(nsACString & aDoBccList); \
NS_SCRIPTABLE NS_IMETHOD SetDoBccList(const nsACString & aDoBccList); \
NS_SCRIPTABLE NS_IMETHOD GetDraftFolder(nsACString & aDraftFolder); \
NS_SCRIPTABLE NS_IMETHOD SetDraftFolder(const nsACString & aDraftFolder); \
NS_SCRIPTABLE NS_IMETHOD GetArchiveFolder(nsACString & aArchiveFolder); \
NS_SCRIPTABLE NS_IMETHOD SetArchiveFolder(const nsACString & aArchiveFolder); \
NS_SCRIPTABLE NS_IMETHOD GetStationeryFolder(nsACString & aStationeryFolder); \
NS_SCRIPTABLE NS_IMETHOD SetStationeryFolder(const nsACString & aStationeryFolder); \
NS_SCRIPTABLE NS_IMETHOD GetArchiveEnabled(bool *aArchiveEnabled); \
NS_SCRIPTABLE NS_IMETHOD SetArchiveEnabled(bool aArchiveEnabled); \
NS_SCRIPTABLE NS_IMETHOD GetArchiveGranularity(PRInt32 *aArchiveGranularity); \
NS_SCRIPTABLE NS_IMETHOD SetArchiveGranularity(PRInt32 aArchiveGranularity); \
NS_SCRIPTABLE NS_IMETHOD GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure); \
NS_SCRIPTABLE NS_IMETHOD SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure); \
NS_SCRIPTABLE NS_IMETHOD GetShowSaveMsgDlg(bool *aShowSaveMsgDlg); \
NS_SCRIPTABLE NS_IMETHOD SetShowSaveMsgDlg(bool aShowSaveMsgDlg); \
NS_SCRIPTABLE NS_IMETHOD GetDirectoryServer(nsACString & aDirectoryServer); \
NS_SCRIPTABLE NS_IMETHOD SetDirectoryServer(const nsACString & aDirectoryServer); \
NS_SCRIPTABLE NS_IMETHOD GetOverrideGlobalPref(bool *aOverrideGlobalPref); \
NS_SCRIPTABLE NS_IMETHOD SetOverrideGlobalPref(bool aOverrideGlobalPref); \
NS_SCRIPTABLE NS_IMETHOD GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain); \
NS_SCRIPTABLE NS_IMETHOD SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain); \
NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid); \
NS_SCRIPTABLE NS_IMETHOD SetValid(bool aValid); \
NS_SCRIPTABLE NS_IMETHOD ClearAllValues(void); \
NS_SCRIPTABLE NS_IMETHOD GetSmtpServerKey(nsACString & aSmtpServerKey); \
NS_SCRIPTABLE NS_IMETHOD SetSmtpServerKey(const nsACString & aSmtpServerKey); \
NS_SCRIPTABLE NS_IMETHOD GetRequestReturnReceipt(bool *aRequestReturnReceipt); \
NS_SCRIPTABLE NS_IMETHOD GetReceiptHeaderType(PRInt32 *aReceiptHeaderType); \
NS_SCRIPTABLE NS_IMETHOD GetRequestDSN(bool *aRequestDSN); \
NS_SCRIPTABLE NS_IMETHOD Copy(nsIMsgIdentity *identity); \
NS_SCRIPTABLE NS_IMETHOD GetUnicharAttribute(const char * name, nsAString & _retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD SetUnicharAttribute(const char * name, const nsAString & value); \
NS_SCRIPTABLE NS_IMETHOD GetCharAttribute(const char * name, nsACString & _retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD SetCharAttribute(const char * name, const nsACString & value); \
NS_SCRIPTABLE NS_IMETHOD GetBoolAttribute(const char * name, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD SetBoolAttribute(const char * name, bool value); \
NS_SCRIPTABLE NS_IMETHOD GetIntAttribute(const char * name, PRInt32 *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD SetIntAttribute(const char * name, PRInt32 value); \
NS_SCRIPTABLE NS_IMETHOD ToString(nsAString & _retval NS_OUTPARAM);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGIDENTITY(_to) \
NS_SCRIPTABLE NS_IMETHOD GetKey(nsACString & aKey) { return _to GetKey(aKey); } \
NS_SCRIPTABLE NS_IMETHOD SetKey(const nsACString & aKey) { return _to SetKey(aKey); } \
NS_SCRIPTABLE NS_IMETHOD GetIdentityName(nsAString & aIdentityName) { return _to GetIdentityName(aIdentityName); } \
NS_SCRIPTABLE NS_IMETHOD SetIdentityName(const nsAString & aIdentityName) { return _to SetIdentityName(aIdentityName); } \
NS_SCRIPTABLE NS_IMETHOD GetFullName(nsAString & aFullName) { return _to GetFullName(aFullName); } \
NS_SCRIPTABLE NS_IMETHOD SetFullName(const nsAString & aFullName) { return _to SetFullName(aFullName); } \
NS_SCRIPTABLE NS_IMETHOD GetEmail(nsACString & aEmail) { return _to GetEmail(aEmail); } \
NS_SCRIPTABLE NS_IMETHOD SetEmail(const nsACString & aEmail) { return _to SetEmail(aEmail); } \
NS_SCRIPTABLE NS_IMETHOD GetReplyTo(nsACString & aReplyTo) { return _to GetReplyTo(aReplyTo); } \
NS_SCRIPTABLE NS_IMETHOD SetReplyTo(const nsACString & aReplyTo) { return _to SetReplyTo(aReplyTo); } \
NS_SCRIPTABLE NS_IMETHOD GetOrganization(nsAString & aOrganization) { return _to GetOrganization(aOrganization); } \
NS_SCRIPTABLE NS_IMETHOD SetOrganization(const nsAString & aOrganization) { return _to SetOrganization(aOrganization); } \
NS_SCRIPTABLE NS_IMETHOD GetComposeHtml(bool *aComposeHtml) { return _to GetComposeHtml(aComposeHtml); } \
NS_SCRIPTABLE NS_IMETHOD SetComposeHtml(bool aComposeHtml) { return _to SetComposeHtml(aComposeHtml); } \
NS_SCRIPTABLE NS_IMETHOD GetAttachSignature(bool *aAttachSignature) { return _to GetAttachSignature(aAttachSignature); } \
NS_SCRIPTABLE NS_IMETHOD SetAttachSignature(bool aAttachSignature) { return _to SetAttachSignature(aAttachSignature); } \
NS_SCRIPTABLE NS_IMETHOD GetAttachVCard(bool *aAttachVCard) { return _to GetAttachVCard(aAttachVCard); } \
NS_SCRIPTABLE NS_IMETHOD SetAttachVCard(bool aAttachVCard) { return _to SetAttachVCard(aAttachVCard); } \
NS_SCRIPTABLE NS_IMETHOD GetAutoQuote(bool *aAutoQuote) { return _to GetAutoQuote(aAutoQuote); } \
NS_SCRIPTABLE NS_IMETHOD SetAutoQuote(bool aAutoQuote) { return _to SetAutoQuote(aAutoQuote); } \
NS_SCRIPTABLE NS_IMETHOD GetReplyOnTop(PRInt32 *aReplyOnTop) { return _to GetReplyOnTop(aReplyOnTop); } \
NS_SCRIPTABLE NS_IMETHOD SetReplyOnTop(PRInt32 aReplyOnTop) { return _to SetReplyOnTop(aReplyOnTop); } \
NS_SCRIPTABLE NS_IMETHOD GetSigBottom(bool *aSigBottom) { return _to GetSigBottom(aSigBottom); } \
NS_SCRIPTABLE NS_IMETHOD SetSigBottom(bool aSigBottom) { return _to SetSigBottom(aSigBottom); } \
NS_SCRIPTABLE NS_IMETHOD GetSigOnForward(bool *aSigOnForward) { return _to GetSigOnForward(aSigOnForward); } \
NS_SCRIPTABLE NS_IMETHOD SetSigOnForward(bool aSigOnForward) { return _to SetSigOnForward(aSigOnForward); } \
NS_SCRIPTABLE NS_IMETHOD GetSigOnReply(bool *aSigOnReply) { return _to GetSigOnReply(aSigOnReply); } \
NS_SCRIPTABLE NS_IMETHOD SetSigOnReply(bool aSigOnReply) { return _to SetSigOnReply(aSigOnReply); } \
NS_SCRIPTABLE NS_IMETHOD GetSignature(nsILocalFile * *aSignature) { return _to GetSignature(aSignature); } \
NS_SCRIPTABLE NS_IMETHOD SetSignature(nsILocalFile *aSignature) { return _to SetSignature(aSignature); } \
NS_SCRIPTABLE NS_IMETHOD GetSignatureDate(PRInt32 *aSignatureDate) { return _to GetSignatureDate(aSignatureDate); } \
NS_SCRIPTABLE NS_IMETHOD SetSignatureDate(PRInt32 aSignatureDate) { return _to SetSignatureDate(aSignatureDate); } \
NS_SCRIPTABLE NS_IMETHOD GetHtmlSigText(nsAString & aHtmlSigText) { return _to GetHtmlSigText(aHtmlSigText); } \
NS_SCRIPTABLE NS_IMETHOD SetHtmlSigText(const nsAString & aHtmlSigText) { return _to SetHtmlSigText(aHtmlSigText); } \
NS_SCRIPTABLE NS_IMETHOD GetHtmlSigFormat(bool *aHtmlSigFormat) { return _to GetHtmlSigFormat(aHtmlSigFormat); } \
NS_SCRIPTABLE NS_IMETHOD SetHtmlSigFormat(bool aHtmlSigFormat) { return _to SetHtmlSigFormat(aHtmlSigFormat); } \
NS_SCRIPTABLE NS_IMETHOD GetSuppressSigSep(bool *aSuppressSigSep) { return _to GetSuppressSigSep(aSuppressSigSep); } \
NS_SCRIPTABLE NS_IMETHOD SetSuppressSigSep(bool aSuppressSigSep) { return _to SetSuppressSigSep(aSuppressSigSep); } \
NS_SCRIPTABLE NS_IMETHOD GetEscapedVCard(nsACString & aEscapedVCard) { return _to GetEscapedVCard(aEscapedVCard); } \
NS_SCRIPTABLE NS_IMETHOD SetEscapedVCard(const nsACString & aEscapedVCard) { return _to SetEscapedVCard(aEscapedVCard); } \
NS_SCRIPTABLE NS_IMETHOD GetDoFcc(bool *aDoFcc) { return _to GetDoFcc(aDoFcc); } \
NS_SCRIPTABLE NS_IMETHOD SetDoFcc(bool aDoFcc) { return _to SetDoFcc(aDoFcc); } \
NS_SCRIPTABLE NS_IMETHOD GetFccFolder(nsACString & aFccFolder) { return _to GetFccFolder(aFccFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetFccFolder(const nsACString & aFccFolder) { return _to SetFccFolder(aFccFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetFccReplyFollowsParent(bool *aFccReplyFollowsParent) { return _to GetFccReplyFollowsParent(aFccReplyFollowsParent); } \
NS_SCRIPTABLE NS_IMETHOD SetFccReplyFollowsParent(bool aFccReplyFollowsParent) { return _to SetFccReplyFollowsParent(aFccReplyFollowsParent); } \
NS_SCRIPTABLE NS_IMETHOD GetFccFolderPickerMode(nsACString & aFccFolderPickerMode) { return _to GetFccFolderPickerMode(aFccFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD SetFccFolderPickerMode(const nsACString & aFccFolderPickerMode) { return _to SetFccFolderPickerMode(aFccFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD GetDraftsFolderPickerMode(nsACString & aDraftsFolderPickerMode) { return _to GetDraftsFolderPickerMode(aDraftsFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD SetDraftsFolderPickerMode(const nsACString & aDraftsFolderPickerMode) { return _to SetDraftsFolderPickerMode(aDraftsFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD GetArchivesFolderPickerMode(nsACString & aArchivesFolderPickerMode) { return _to GetArchivesFolderPickerMode(aArchivesFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD SetArchivesFolderPickerMode(const nsACString & aArchivesFolderPickerMode) { return _to SetArchivesFolderPickerMode(aArchivesFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD GetTmplFolderPickerMode(nsACString & aTmplFolderPickerMode) { return _to GetTmplFolderPickerMode(aTmplFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD SetTmplFolderPickerMode(const nsACString & aTmplFolderPickerMode) { return _to SetTmplFolderPickerMode(aTmplFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD GetBccSelf(bool *aBccSelf) { return _to GetBccSelf(aBccSelf); } \
NS_SCRIPTABLE NS_IMETHOD SetBccSelf(bool aBccSelf) { return _to SetBccSelf(aBccSelf); } \
NS_SCRIPTABLE NS_IMETHOD GetBccOthers(bool *aBccOthers) { return _to GetBccOthers(aBccOthers); } \
NS_SCRIPTABLE NS_IMETHOD SetBccOthers(bool aBccOthers) { return _to SetBccOthers(aBccOthers); } \
NS_SCRIPTABLE NS_IMETHOD GetBccList(nsACString & aBccList) { return _to GetBccList(aBccList); } \
NS_SCRIPTABLE NS_IMETHOD SetBccList(const nsACString & aBccList) { return _to SetBccList(aBccList); } \
NS_SCRIPTABLE NS_IMETHOD GetDoCc(bool *aDoCc) { return _to GetDoCc(aDoCc); } \
NS_SCRIPTABLE NS_IMETHOD SetDoCc(bool aDoCc) { return _to SetDoCc(aDoCc); } \
NS_SCRIPTABLE NS_IMETHOD GetDoCcList(nsACString & aDoCcList) { return _to GetDoCcList(aDoCcList); } \
NS_SCRIPTABLE NS_IMETHOD SetDoCcList(const nsACString & aDoCcList) { return _to SetDoCcList(aDoCcList); } \
NS_SCRIPTABLE NS_IMETHOD GetDoBcc(bool *aDoBcc) { return _to GetDoBcc(aDoBcc); } \
NS_SCRIPTABLE NS_IMETHOD SetDoBcc(bool aDoBcc) { return _to SetDoBcc(aDoBcc); } \
NS_SCRIPTABLE NS_IMETHOD GetDoBccList(nsACString & aDoBccList) { return _to GetDoBccList(aDoBccList); } \
NS_SCRIPTABLE NS_IMETHOD SetDoBccList(const nsACString & aDoBccList) { return _to SetDoBccList(aDoBccList); } \
NS_SCRIPTABLE NS_IMETHOD GetDraftFolder(nsACString & aDraftFolder) { return _to GetDraftFolder(aDraftFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetDraftFolder(const nsACString & aDraftFolder) { return _to SetDraftFolder(aDraftFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetArchiveFolder(nsACString & aArchiveFolder) { return _to GetArchiveFolder(aArchiveFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetArchiveFolder(const nsACString & aArchiveFolder) { return _to SetArchiveFolder(aArchiveFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetStationeryFolder(nsACString & aStationeryFolder) { return _to GetStationeryFolder(aStationeryFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetStationeryFolder(const nsACString & aStationeryFolder) { return _to SetStationeryFolder(aStationeryFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetArchiveEnabled(bool *aArchiveEnabled) { return _to GetArchiveEnabled(aArchiveEnabled); } \
NS_SCRIPTABLE NS_IMETHOD SetArchiveEnabled(bool aArchiveEnabled) { return _to SetArchiveEnabled(aArchiveEnabled); } \
NS_SCRIPTABLE NS_IMETHOD GetArchiveGranularity(PRInt32 *aArchiveGranularity) { return _to GetArchiveGranularity(aArchiveGranularity); } \
NS_SCRIPTABLE NS_IMETHOD SetArchiveGranularity(PRInt32 aArchiveGranularity) { return _to SetArchiveGranularity(aArchiveGranularity); } \
NS_SCRIPTABLE NS_IMETHOD GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure) { return _to GetArchiveKeepFolderStructure(aArchiveKeepFolderStructure); } \
NS_SCRIPTABLE NS_IMETHOD SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure) { return _to SetArchiveKeepFolderStructure(aArchiveKeepFolderStructure); } \
NS_SCRIPTABLE NS_IMETHOD GetShowSaveMsgDlg(bool *aShowSaveMsgDlg) { return _to GetShowSaveMsgDlg(aShowSaveMsgDlg); } \
NS_SCRIPTABLE NS_IMETHOD SetShowSaveMsgDlg(bool aShowSaveMsgDlg) { return _to SetShowSaveMsgDlg(aShowSaveMsgDlg); } \
NS_SCRIPTABLE NS_IMETHOD GetDirectoryServer(nsACString & aDirectoryServer) { return _to GetDirectoryServer(aDirectoryServer); } \
NS_SCRIPTABLE NS_IMETHOD SetDirectoryServer(const nsACString & aDirectoryServer) { return _to SetDirectoryServer(aDirectoryServer); } \
NS_SCRIPTABLE NS_IMETHOD GetOverrideGlobalPref(bool *aOverrideGlobalPref) { return _to GetOverrideGlobalPref(aOverrideGlobalPref); } \
NS_SCRIPTABLE NS_IMETHOD SetOverrideGlobalPref(bool aOverrideGlobalPref) { return _to SetOverrideGlobalPref(aOverrideGlobalPref); } \
NS_SCRIPTABLE NS_IMETHOD GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain) { return _to GetAutocompleteToMyDomain(aAutocompleteToMyDomain); } \
NS_SCRIPTABLE NS_IMETHOD SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain) { return _to SetAutocompleteToMyDomain(aAutocompleteToMyDomain); } \
NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return _to GetValid(aValid); } \
NS_SCRIPTABLE NS_IMETHOD SetValid(bool aValid) { return _to SetValid(aValid); } \
NS_SCRIPTABLE NS_IMETHOD ClearAllValues(void) { return _to ClearAllValues(); } \
NS_SCRIPTABLE NS_IMETHOD GetSmtpServerKey(nsACString & aSmtpServerKey) { return _to GetSmtpServerKey(aSmtpServerKey); } \
NS_SCRIPTABLE NS_IMETHOD SetSmtpServerKey(const nsACString & aSmtpServerKey) { return _to SetSmtpServerKey(aSmtpServerKey); } \
NS_SCRIPTABLE NS_IMETHOD GetRequestReturnReceipt(bool *aRequestReturnReceipt) { return _to GetRequestReturnReceipt(aRequestReturnReceipt); } \
NS_SCRIPTABLE NS_IMETHOD GetReceiptHeaderType(PRInt32 *aReceiptHeaderType) { return _to GetReceiptHeaderType(aReceiptHeaderType); } \
NS_SCRIPTABLE NS_IMETHOD GetRequestDSN(bool *aRequestDSN) { return _to GetRequestDSN(aRequestDSN); } \
NS_SCRIPTABLE NS_IMETHOD Copy(nsIMsgIdentity *identity) { return _to Copy(identity); } \
NS_SCRIPTABLE NS_IMETHOD GetUnicharAttribute(const char * name, nsAString & _retval NS_OUTPARAM) { return _to GetUnicharAttribute(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetUnicharAttribute(const char * name, const nsAString & value) { return _to SetUnicharAttribute(name, value); } \
NS_SCRIPTABLE NS_IMETHOD GetCharAttribute(const char * name, nsACString & _retval NS_OUTPARAM) { return _to GetCharAttribute(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetCharAttribute(const char * name, const nsACString & value) { return _to SetCharAttribute(name, value); } \
NS_SCRIPTABLE NS_IMETHOD GetBoolAttribute(const char * name, bool *_retval NS_OUTPARAM) { return _to GetBoolAttribute(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetBoolAttribute(const char * name, bool value) { return _to SetBoolAttribute(name, value); } \
NS_SCRIPTABLE NS_IMETHOD GetIntAttribute(const char * name, PRInt32 *_retval NS_OUTPARAM) { return _to GetIntAttribute(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetIntAttribute(const char * name, PRInt32 value) { return _to SetIntAttribute(name, value); } \
NS_SCRIPTABLE NS_IMETHOD ToString(nsAString & _retval NS_OUTPARAM) { 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_SCRIPTABLE NS_IMETHOD GetKey(nsACString & aKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKey(aKey); } \
NS_SCRIPTABLE NS_IMETHOD SetKey(const nsACString & aKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKey(aKey); } \
NS_SCRIPTABLE NS_IMETHOD GetIdentityName(nsAString & aIdentityName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdentityName(aIdentityName); } \
NS_SCRIPTABLE NS_IMETHOD SetIdentityName(const nsAString & aIdentityName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIdentityName(aIdentityName); } \
NS_SCRIPTABLE NS_IMETHOD GetFullName(nsAString & aFullName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFullName(aFullName); } \
NS_SCRIPTABLE NS_IMETHOD SetFullName(const nsAString & aFullName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFullName(aFullName); } \
NS_SCRIPTABLE NS_IMETHOD GetEmail(nsACString & aEmail) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmail(aEmail); } \
NS_SCRIPTABLE NS_IMETHOD SetEmail(const nsACString & aEmail) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEmail(aEmail); } \
NS_SCRIPTABLE NS_IMETHOD GetReplyTo(nsACString & aReplyTo) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplyTo(aReplyTo); } \
NS_SCRIPTABLE NS_IMETHOD SetReplyTo(const nsACString & aReplyTo) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReplyTo(aReplyTo); } \
NS_SCRIPTABLE NS_IMETHOD GetOrganization(nsAString & aOrganization) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOrganization(aOrganization); } \
NS_SCRIPTABLE NS_IMETHOD SetOrganization(const nsAString & aOrganization) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOrganization(aOrganization); } \
NS_SCRIPTABLE NS_IMETHOD GetComposeHtml(bool *aComposeHtml) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetComposeHtml(aComposeHtml); } \
NS_SCRIPTABLE NS_IMETHOD SetComposeHtml(bool aComposeHtml) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetComposeHtml(aComposeHtml); } \
NS_SCRIPTABLE NS_IMETHOD GetAttachSignature(bool *aAttachSignature) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttachSignature(aAttachSignature); } \
NS_SCRIPTABLE NS_IMETHOD SetAttachSignature(bool aAttachSignature) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttachSignature(aAttachSignature); } \
NS_SCRIPTABLE NS_IMETHOD GetAttachVCard(bool *aAttachVCard) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttachVCard(aAttachVCard); } \
NS_SCRIPTABLE NS_IMETHOD SetAttachVCard(bool aAttachVCard) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttachVCard(aAttachVCard); } \
NS_SCRIPTABLE NS_IMETHOD GetAutoQuote(bool *aAutoQuote) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoQuote(aAutoQuote); } \
NS_SCRIPTABLE NS_IMETHOD SetAutoQuote(bool aAutoQuote) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoQuote(aAutoQuote); } \
NS_SCRIPTABLE NS_IMETHOD GetReplyOnTop(PRInt32 *aReplyOnTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplyOnTop(aReplyOnTop); } \
NS_SCRIPTABLE NS_IMETHOD SetReplyOnTop(PRInt32 aReplyOnTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReplyOnTop(aReplyOnTop); } \
NS_SCRIPTABLE NS_IMETHOD GetSigBottom(bool *aSigBottom) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSigBottom(aSigBottom); } \
NS_SCRIPTABLE NS_IMETHOD SetSigBottom(bool aSigBottom) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSigBottom(aSigBottom); } \
NS_SCRIPTABLE NS_IMETHOD GetSigOnForward(bool *aSigOnForward) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSigOnForward(aSigOnForward); } \
NS_SCRIPTABLE NS_IMETHOD SetSigOnForward(bool aSigOnForward) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSigOnForward(aSigOnForward); } \
NS_SCRIPTABLE NS_IMETHOD GetSigOnReply(bool *aSigOnReply) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSigOnReply(aSigOnReply); } \
NS_SCRIPTABLE NS_IMETHOD SetSigOnReply(bool aSigOnReply) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSigOnReply(aSigOnReply); } \
NS_SCRIPTABLE NS_IMETHOD GetSignature(nsILocalFile * *aSignature) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignature(aSignature); } \
NS_SCRIPTABLE NS_IMETHOD SetSignature(nsILocalFile *aSignature) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSignature(aSignature); } \
NS_SCRIPTABLE NS_IMETHOD GetSignatureDate(PRInt32 *aSignatureDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignatureDate(aSignatureDate); } \
NS_SCRIPTABLE NS_IMETHOD SetSignatureDate(PRInt32 aSignatureDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSignatureDate(aSignatureDate); } \
NS_SCRIPTABLE NS_IMETHOD GetHtmlSigText(nsAString & aHtmlSigText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlSigText(aHtmlSigText); } \
NS_SCRIPTABLE NS_IMETHOD SetHtmlSigText(const nsAString & aHtmlSigText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlSigText(aHtmlSigText); } \
NS_SCRIPTABLE NS_IMETHOD GetHtmlSigFormat(bool *aHtmlSigFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHtmlSigFormat(aHtmlSigFormat); } \
NS_SCRIPTABLE NS_IMETHOD SetHtmlSigFormat(bool aHtmlSigFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHtmlSigFormat(aHtmlSigFormat); } \
NS_SCRIPTABLE NS_IMETHOD GetSuppressSigSep(bool *aSuppressSigSep) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSuppressSigSep(aSuppressSigSep); } \
NS_SCRIPTABLE NS_IMETHOD SetSuppressSigSep(bool aSuppressSigSep) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSuppressSigSep(aSuppressSigSep); } \
NS_SCRIPTABLE NS_IMETHOD GetEscapedVCard(nsACString & aEscapedVCard) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEscapedVCard(aEscapedVCard); } \
NS_SCRIPTABLE NS_IMETHOD SetEscapedVCard(const nsACString & aEscapedVCard) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEscapedVCard(aEscapedVCard); } \
NS_SCRIPTABLE NS_IMETHOD GetDoFcc(bool *aDoFcc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoFcc(aDoFcc); } \
NS_SCRIPTABLE NS_IMETHOD SetDoFcc(bool aDoFcc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoFcc(aDoFcc); } \
NS_SCRIPTABLE NS_IMETHOD GetFccFolder(nsACString & aFccFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFccFolder(aFccFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetFccFolder(const nsACString & aFccFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFccFolder(aFccFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetFccReplyFollowsParent(bool *aFccReplyFollowsParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFccReplyFollowsParent(aFccReplyFollowsParent); } \
NS_SCRIPTABLE NS_IMETHOD SetFccReplyFollowsParent(bool aFccReplyFollowsParent) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFccReplyFollowsParent(aFccReplyFollowsParent); } \
NS_SCRIPTABLE NS_IMETHOD GetFccFolderPickerMode(nsACString & aFccFolderPickerMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFccFolderPickerMode(aFccFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD SetFccFolderPickerMode(const nsACString & aFccFolderPickerMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFccFolderPickerMode(aFccFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD GetDraftsFolderPickerMode(nsACString & aDraftsFolderPickerMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDraftsFolderPickerMode(aDraftsFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD SetDraftsFolderPickerMode(const nsACString & aDraftsFolderPickerMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDraftsFolderPickerMode(aDraftsFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD GetArchivesFolderPickerMode(nsACString & aArchivesFolderPickerMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchivesFolderPickerMode(aArchivesFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD SetArchivesFolderPickerMode(const nsACString & aArchivesFolderPickerMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchivesFolderPickerMode(aArchivesFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD GetTmplFolderPickerMode(nsACString & aTmplFolderPickerMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTmplFolderPickerMode(aTmplFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD SetTmplFolderPickerMode(const nsACString & aTmplFolderPickerMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTmplFolderPickerMode(aTmplFolderPickerMode); } \
NS_SCRIPTABLE NS_IMETHOD GetBccSelf(bool *aBccSelf) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBccSelf(aBccSelf); } \
NS_SCRIPTABLE NS_IMETHOD SetBccSelf(bool aBccSelf) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBccSelf(aBccSelf); } \
NS_SCRIPTABLE NS_IMETHOD GetBccOthers(bool *aBccOthers) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBccOthers(aBccOthers); } \
NS_SCRIPTABLE NS_IMETHOD SetBccOthers(bool aBccOthers) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBccOthers(aBccOthers); } \
NS_SCRIPTABLE NS_IMETHOD GetBccList(nsACString & aBccList) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBccList(aBccList); } \
NS_SCRIPTABLE NS_IMETHOD SetBccList(const nsACString & aBccList) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBccList(aBccList); } \
NS_SCRIPTABLE NS_IMETHOD GetDoCc(bool *aDoCc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoCc(aDoCc); } \
NS_SCRIPTABLE NS_IMETHOD SetDoCc(bool aDoCc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoCc(aDoCc); } \
NS_SCRIPTABLE NS_IMETHOD GetDoCcList(nsACString & aDoCcList) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoCcList(aDoCcList); } \
NS_SCRIPTABLE NS_IMETHOD SetDoCcList(const nsACString & aDoCcList) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoCcList(aDoCcList); } \
NS_SCRIPTABLE NS_IMETHOD GetDoBcc(bool *aDoBcc) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoBcc(aDoBcc); } \
NS_SCRIPTABLE NS_IMETHOD SetDoBcc(bool aDoBcc) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoBcc(aDoBcc); } \
NS_SCRIPTABLE NS_IMETHOD GetDoBccList(nsACString & aDoBccList) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoBccList(aDoBccList); } \
NS_SCRIPTABLE NS_IMETHOD SetDoBccList(const nsACString & aDoBccList) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoBccList(aDoBccList); } \
NS_SCRIPTABLE NS_IMETHOD GetDraftFolder(nsACString & aDraftFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDraftFolder(aDraftFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetDraftFolder(const nsACString & aDraftFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDraftFolder(aDraftFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetArchiveFolder(nsACString & aArchiveFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchiveFolder(aArchiveFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetArchiveFolder(const nsACString & aArchiveFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchiveFolder(aArchiveFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetStationeryFolder(nsACString & aStationeryFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStationeryFolder(aStationeryFolder); } \
NS_SCRIPTABLE NS_IMETHOD SetStationeryFolder(const nsACString & aStationeryFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStationeryFolder(aStationeryFolder); } \
NS_SCRIPTABLE NS_IMETHOD GetArchiveEnabled(bool *aArchiveEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchiveEnabled(aArchiveEnabled); } \
NS_SCRIPTABLE NS_IMETHOD SetArchiveEnabled(bool aArchiveEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchiveEnabled(aArchiveEnabled); } \
NS_SCRIPTABLE NS_IMETHOD GetArchiveGranularity(PRInt32 *aArchiveGranularity) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchiveGranularity(aArchiveGranularity); } \
NS_SCRIPTABLE NS_IMETHOD SetArchiveGranularity(PRInt32 aArchiveGranularity) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchiveGranularity(aArchiveGranularity); } \
NS_SCRIPTABLE NS_IMETHOD GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetArchiveKeepFolderStructure(aArchiveKeepFolderStructure); } \
NS_SCRIPTABLE NS_IMETHOD SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetArchiveKeepFolderStructure(aArchiveKeepFolderStructure); } \
NS_SCRIPTABLE NS_IMETHOD GetShowSaveMsgDlg(bool *aShowSaveMsgDlg) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowSaveMsgDlg(aShowSaveMsgDlg); } \
NS_SCRIPTABLE NS_IMETHOD SetShowSaveMsgDlg(bool aShowSaveMsgDlg) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowSaveMsgDlg(aShowSaveMsgDlg); } \
NS_SCRIPTABLE NS_IMETHOD GetDirectoryServer(nsACString & aDirectoryServer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDirectoryServer(aDirectoryServer); } \
NS_SCRIPTABLE NS_IMETHOD SetDirectoryServer(const nsACString & aDirectoryServer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDirectoryServer(aDirectoryServer); } \
NS_SCRIPTABLE NS_IMETHOD GetOverrideGlobalPref(bool *aOverrideGlobalPref) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOverrideGlobalPref(aOverrideGlobalPref); } \
NS_SCRIPTABLE NS_IMETHOD SetOverrideGlobalPref(bool aOverrideGlobalPref) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOverrideGlobalPref(aOverrideGlobalPref); } \
NS_SCRIPTABLE NS_IMETHOD GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutocompleteToMyDomain(aAutocompleteToMyDomain); } \
NS_SCRIPTABLE NS_IMETHOD SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutocompleteToMyDomain(aAutocompleteToMyDomain); } \
NS_SCRIPTABLE NS_IMETHOD GetValid(bool *aValid) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValid(aValid); } \
NS_SCRIPTABLE NS_IMETHOD SetValid(bool aValid) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValid(aValid); } \
NS_SCRIPTABLE NS_IMETHOD ClearAllValues(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearAllValues(); } \
NS_SCRIPTABLE NS_IMETHOD GetSmtpServerKey(nsACString & aSmtpServerKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSmtpServerKey(aSmtpServerKey); } \
NS_SCRIPTABLE NS_IMETHOD SetSmtpServerKey(const nsACString & aSmtpServerKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSmtpServerKey(aSmtpServerKey); } \
NS_SCRIPTABLE NS_IMETHOD GetRequestReturnReceipt(bool *aRequestReturnReceipt) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestReturnReceipt(aRequestReturnReceipt); } \
NS_SCRIPTABLE NS_IMETHOD GetReceiptHeaderType(PRInt32 *aReceiptHeaderType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReceiptHeaderType(aReceiptHeaderType); } \
NS_SCRIPTABLE NS_IMETHOD GetRequestDSN(bool *aRequestDSN) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequestDSN(aRequestDSN); } \
NS_SCRIPTABLE NS_IMETHOD Copy(nsIMsgIdentity *identity) { return !_to ? NS_ERROR_NULL_POINTER : _to->Copy(identity); } \
NS_SCRIPTABLE NS_IMETHOD GetUnicharAttribute(const char * name, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnicharAttribute(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetUnicharAttribute(const char * name, const nsAString & value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUnicharAttribute(name, value); } \
NS_SCRIPTABLE NS_IMETHOD GetCharAttribute(const char * name, nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharAttribute(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetCharAttribute(const char * name, const nsACString & value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharAttribute(name, value); } \
NS_SCRIPTABLE NS_IMETHOD GetBoolAttribute(const char * name, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBoolAttribute(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetBoolAttribute(const char * name, bool value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBoolAttribute(name, value); } \
NS_SCRIPTABLE NS_IMETHOD GetIntAttribute(const char * name, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIntAttribute(name, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetIntAttribute(const char * name, PRInt32 value) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIntAttribute(name, value); } \
NS_SCRIPTABLE NS_IMETHOD ToString(nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgIdentity : public nsIMsgIdentity
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGIDENTITY
nsMsgIdentity();
private:
~nsMsgIdentity();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgIdentity, nsIMsgIdentity)
nsMsgIdentity::nsMsgIdentity()
{
/* member initializers and constructor code */
}
nsMsgIdentity::~nsMsgIdentity()
{
/* destructor code */
}
/* attribute ACString key; */
NS_IMETHODIMP nsMsgIdentity::GetKey(nsACString & aKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetKey(const nsACString & aKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString identityName; */
NS_IMETHODIMP nsMsgIdentity::GetIdentityName(nsAString & aIdentityName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetIdentityName(const nsAString & aIdentityName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString fullName; */
NS_IMETHODIMP nsMsgIdentity::GetFullName(nsAString & aFullName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetFullName(const nsAString & aFullName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString email; */
NS_IMETHODIMP nsMsgIdentity::GetEmail(nsACString & aEmail)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetEmail(const nsACString & aEmail)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String replyTo; */
NS_IMETHODIMP nsMsgIdentity::GetReplyTo(nsACString & aReplyTo)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetReplyTo(const nsACString & aReplyTo)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString organization; */
NS_IMETHODIMP nsMsgIdentity::GetOrganization(nsAString & aOrganization)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetOrganization(const nsAString & aOrganization)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean composeHtml; */
NS_IMETHODIMP nsMsgIdentity::GetComposeHtml(bool *aComposeHtml)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetComposeHtml(bool aComposeHtml)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean attachSignature; */
NS_IMETHODIMP nsMsgIdentity::GetAttachSignature(bool *aAttachSignature)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetAttachSignature(bool aAttachSignature)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean attachVCard; */
NS_IMETHODIMP nsMsgIdentity::GetAttachVCard(bool *aAttachVCard)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetAttachVCard(bool aAttachVCard)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean autoQuote; */
NS_IMETHODIMP nsMsgIdentity::GetAutoQuote(bool *aAutoQuote)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetAutoQuote(bool aAutoQuote)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long replyOnTop; */
NS_IMETHODIMP nsMsgIdentity::GetReplyOnTop(PRInt32 *aReplyOnTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetReplyOnTop(PRInt32 aReplyOnTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean sigBottom; */
NS_IMETHODIMP nsMsgIdentity::GetSigBottom(bool *aSigBottom)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetSigBottom(bool aSigBottom)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean sigOnForward; */
NS_IMETHODIMP nsMsgIdentity::GetSigOnForward(bool *aSigOnForward)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetSigOnForward(bool aSigOnForward)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean sigOnReply; */
NS_IMETHODIMP nsMsgIdentity::GetSigOnReply(bool *aSigOnReply)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetSigOnReply(bool aSigOnReply)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsILocalFile signature; */
NS_IMETHODIMP nsMsgIdentity::GetSignature(nsILocalFile * *aSignature)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetSignature(nsILocalFile *aSignature)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long signatureDate; */
NS_IMETHODIMP nsMsgIdentity::GetSignatureDate(PRInt32 *aSignatureDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetSignatureDate(PRInt32 aSignatureDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AString htmlSigText; */
NS_IMETHODIMP nsMsgIdentity::GetHtmlSigText(nsAString & aHtmlSigText)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetHtmlSigText(const nsAString & aHtmlSigText)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean htmlSigFormat; */
NS_IMETHODIMP nsMsgIdentity::GetHtmlSigFormat(bool *aHtmlSigFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetHtmlSigFormat(bool aHtmlSigFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean suppressSigSep; */
NS_IMETHODIMP nsMsgIdentity::GetSuppressSigSep(bool *aSuppressSigSep)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetSuppressSigSep(bool aSuppressSigSep)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString escapedVCard; */
NS_IMETHODIMP nsMsgIdentity::GetEscapedVCard(nsACString & aEscapedVCard)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetEscapedVCard(const nsACString & aEscapedVCard)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean doFcc; */
NS_IMETHODIMP nsMsgIdentity::GetDoFcc(bool *aDoFcc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetDoFcc(bool aDoFcc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString fccFolder; */
NS_IMETHODIMP nsMsgIdentity::GetFccFolder(nsACString & aFccFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetFccFolder(const nsACString & aFccFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean fccReplyFollowsParent; */
NS_IMETHODIMP nsMsgIdentity::GetFccReplyFollowsParent(bool *aFccReplyFollowsParent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetFccReplyFollowsParent(bool aFccReplyFollowsParent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString fccFolderPickerMode; */
NS_IMETHODIMP nsMsgIdentity::GetFccFolderPickerMode(nsACString & aFccFolderPickerMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetFccFolderPickerMode(const nsACString & aFccFolderPickerMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString draftsFolderPickerMode; */
NS_IMETHODIMP nsMsgIdentity::GetDraftsFolderPickerMode(nsACString & aDraftsFolderPickerMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetDraftsFolderPickerMode(const nsACString & aDraftsFolderPickerMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString archivesFolderPickerMode; */
NS_IMETHODIMP nsMsgIdentity::GetArchivesFolderPickerMode(nsACString & aArchivesFolderPickerMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetArchivesFolderPickerMode(const nsACString & aArchivesFolderPickerMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString tmplFolderPickerMode; */
NS_IMETHODIMP nsMsgIdentity::GetTmplFolderPickerMode(nsACString & aTmplFolderPickerMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetTmplFolderPickerMode(const nsACString & aTmplFolderPickerMode)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean bccSelf; */
NS_IMETHODIMP nsMsgIdentity::GetBccSelf(bool *aBccSelf)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetBccSelf(bool aBccSelf)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean bccOthers; */
NS_IMETHODIMP nsMsgIdentity::GetBccOthers(bool *aBccOthers)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetBccOthers(bool aBccOthers)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString bccList; */
NS_IMETHODIMP nsMsgIdentity::GetBccList(nsACString & aBccList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetBccList(const nsACString & aBccList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean doCc; */
NS_IMETHODIMP nsMsgIdentity::GetDoCc(bool *aDoCc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetDoCc(bool aDoCc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String doCcList; */
NS_IMETHODIMP nsMsgIdentity::GetDoCcList(nsACString & aDoCcList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetDoCcList(const nsACString & aDoCcList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean doBcc; */
NS_IMETHODIMP nsMsgIdentity::GetDoBcc(bool *aDoBcc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetDoBcc(bool aDoBcc)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String doBccList; */
NS_IMETHODIMP nsMsgIdentity::GetDoBccList(nsACString & aDoBccList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetDoBccList(const nsACString & aDoBccList)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString draftFolder; */
NS_IMETHODIMP nsMsgIdentity::GetDraftFolder(nsACString & aDraftFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetDraftFolder(const nsACString & aDraftFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString archiveFolder; */
NS_IMETHODIMP nsMsgIdentity::GetArchiveFolder(nsACString & aArchiveFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetArchiveFolder(const nsACString & aArchiveFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString stationeryFolder; */
NS_IMETHODIMP nsMsgIdentity::GetStationeryFolder(nsACString & aStationeryFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetStationeryFolder(const nsACString & aStationeryFolder)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean archiveEnabled; */
NS_IMETHODIMP nsMsgIdentity::GetArchiveEnabled(bool *aArchiveEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetArchiveEnabled(bool aArchiveEnabled)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long archiveGranularity; */
NS_IMETHODIMP nsMsgIdentity::GetArchiveGranularity(PRInt32 *aArchiveGranularity)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetArchiveGranularity(PRInt32 aArchiveGranularity)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean archiveKeepFolderStructure; */
NS_IMETHODIMP nsMsgIdentity::GetArchiveKeepFolderStructure(bool *aArchiveKeepFolderStructure)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetArchiveKeepFolderStructure(bool aArchiveKeepFolderStructure)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean showSaveMsgDlg; */
NS_IMETHODIMP nsMsgIdentity::GetShowSaveMsgDlg(bool *aShowSaveMsgDlg)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetShowSaveMsgDlg(bool aShowSaveMsgDlg)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString directoryServer; */
NS_IMETHODIMP nsMsgIdentity::GetDirectoryServer(nsACString & aDirectoryServer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetDirectoryServer(const nsACString & aDirectoryServer)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean overrideGlobalPref; */
NS_IMETHODIMP nsMsgIdentity::GetOverrideGlobalPref(bool *aOverrideGlobalPref)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetOverrideGlobalPref(bool aOverrideGlobalPref)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean autocompleteToMyDomain; */
NS_IMETHODIMP nsMsgIdentity::GetAutocompleteToMyDomain(bool *aAutocompleteToMyDomain)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetAutocompleteToMyDomain(bool aAutocompleteToMyDomain)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean valid; */
NS_IMETHODIMP nsMsgIdentity::GetValid(bool *aValid)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetValid(bool aValid)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void clearAllValues (); */
NS_IMETHODIMP nsMsgIdentity::ClearAllValues()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute ACString smtpServerKey; */
NS_IMETHODIMP nsMsgIdentity::GetSmtpServerKey(nsACString & aSmtpServerKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgIdentity::SetSmtpServerKey(const nsACString & aSmtpServerKey)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean requestReturnReceipt; */
NS_IMETHODIMP nsMsgIdentity::GetRequestReturnReceipt(bool *aRequestReturnReceipt)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long receiptHeaderType; */
NS_IMETHODIMP nsMsgIdentity::GetReceiptHeaderType(PRInt32 *aReceiptHeaderType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean requestDSN; */
NS_IMETHODIMP nsMsgIdentity::GetRequestDSN(bool *aRequestDSN)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void copy (in nsIMsgIdentity identity); */
NS_IMETHODIMP nsMsgIdentity::Copy(nsIMsgIdentity *identity)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString getUnicharAttribute (in string name); */
NS_IMETHODIMP nsMsgIdentity::GetUnicharAttribute(const char * name, nsAString & _retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setUnicharAttribute (in string name, in AString value); */
NS_IMETHODIMP nsMsgIdentity::SetUnicharAttribute(const char * name, const nsAString & value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* ACString getCharAttribute (in string name); */
NS_IMETHODIMP nsMsgIdentity::GetCharAttribute(const char * name, nsACString & _retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setCharAttribute (in string name, in ACString value); */
NS_IMETHODIMP nsMsgIdentity::SetCharAttribute(const char * name, const nsACString & value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean getBoolAttribute (in string name); */
NS_IMETHODIMP nsMsgIdentity::GetBoolAttribute(const char * name, bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setBoolAttribute (in string name, in boolean value); */
NS_IMETHODIMP nsMsgIdentity::SetBoolAttribute(const char * name, bool value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long getIntAttribute (in string name); */
NS_IMETHODIMP nsMsgIdentity::GetIntAttribute(const char * name, PRInt32 *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setIntAttribute (in string name, in long value); */
NS_IMETHODIMP nsMsgIdentity::SetIntAttribute(const char * name, PRInt32 value)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString toString (); */
NS_IMETHODIMP nsMsgIdentity::ToString(nsAString & _retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgIdentity_h__ */
|