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

nsIImapIncomingServer

nsMsgImapDeleteModels

Macros

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 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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIImapIncomingServer.idl
 */

#ifndef __gen_nsIImapIncomingServer_h__
#define __gen_nsIImapIncomingServer_h__


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

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */

class nsIImapUrl; /* forward declaration */

class nsIImapProtocol; /* forward declaration */

class nsIMsgFolder; /* forward declaration */

class nsIMsgWindow; /* forward declaration */

typedef int32_t  nsMsgImapDeleteModel;


/* starting interface:    nsMsgImapDeleteModels */
#define NS_MSGIMAPDELETEMODELS_IID_STR "bbfc33de-fe89-11d3-a564-0060b0fc04b7"

#define NS_MSGIMAPDELETEMODELS_IID \
  {0xbbfc33de, 0xfe89, 0x11d3, \
    { 0xa5, 0x64, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}

class NS_NO_VTABLE nsMsgImapDeleteModels {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_MSGIMAPDELETEMODELS_IID)

  enum {
    IMAPDelete = 0,
    MoveToTrash = 1,
    DeleteNoTrash = 2
  };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsMsgImapDeleteModels, NS_MSGIMAPDELETEMODELS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSMSGIMAPDELETEMODELS \

/* 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_NSMSGIMAPDELETEMODELS \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSMSGIMAPDELETEMODELS(_to) \

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSMSGIMAPDELETEMODELS(_to) \

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public nsMsgImapDeleteModels
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSMSGIMAPDELETEMODELS

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, nsMsgImapDeleteModels)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* End of implementation class template. */
#endif


/* starting interface:    nsIImapIncomingServer */
#define NS_IIMAPINCOMINGSERVER_IID_STR "ea6a0765-07b8-40df-924c-9004ed707251"

#define NS_IIMAPINCOMINGSERVER_IID \
  {0xea6a0765, 0x07b8, 0x40df, \
    { 0x92, 0x4c, 0x90, 0x04, 0xed, 0x70, 0x72, 0x51 }}

class NS_NO_VTABLE nsIImapIncomingServer : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMAPINCOMINGSERVER_IID)

  /* attribute long maximumConnectionsNumber; */
  NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) = 0;
  NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) = 0;

  /* attribute long timeOutLimits; */
  NS_IMETHOD GetTimeOutLimits(int32_t *aTimeOutLimits) = 0;
  NS_IMETHOD SetTimeOutLimits(int32_t aTimeOutLimits) = 0;

  /* attribute ACString adminUrl; */
  NS_IMETHOD GetAdminUrl(nsACString & aAdminUrl) = 0;
  NS_IMETHOD SetAdminUrl(const nsACString & aAdminUrl) = 0;

  /* attribute ACString serverDirectory; */
  NS_IMETHOD GetServerDirectory(nsACString & aServerDirectory) = 0;
  NS_IMETHOD SetServerDirectory(const nsACString & aServerDirectory) = 0;

  /* attribute ACString serverIDPref; */
  NS_IMETHOD GetServerIDPref(nsACString & aServerIDPref) = 0;
  NS_IMETHOD SetServerIDPref(const nsACString & aServerIDPref) = 0;

  /* attribute boolean cleanupInboxOnExit; */
  NS_IMETHOD GetCleanupInboxOnExit(bool *aCleanupInboxOnExit) = 0;
  NS_IMETHOD SetCleanupInboxOnExit(bool aCleanupInboxOnExit) = 0;

  /* attribute nsMsgImapDeleteModel deleteModel; */
  NS_IMETHOD GetDeleteModel(nsMsgImapDeleteModel *aDeleteModel) = 0;
  NS_IMETHOD SetDeleteModel(nsMsgImapDeleteModel aDeleteModel) = 0;

  /* attribute boolean dualUseFolders; */
  NS_IMETHOD GetDualUseFolders(bool *aDualUseFolders) = 0;
  NS_IMETHOD SetDualUseFolders(bool aDualUseFolders) = 0;

  /* attribute long emptyTrashThreshhold; */
  NS_IMETHOD GetEmptyTrashThreshhold(int32_t *aEmptyTrashThreshhold) = 0;
  NS_IMETHOD SetEmptyTrashThreshhold(int32_t aEmptyTrashThreshhold) = 0;

  /* attribute ACString personalNamespace; */
  NS_IMETHOD GetPersonalNamespace(nsACString & aPersonalNamespace) = 0;
  NS_IMETHOD SetPersonalNamespace(const nsACString & aPersonalNamespace) = 0;

  /* attribute ACString publicNamespace; */
  NS_IMETHOD GetPublicNamespace(nsACString & aPublicNamespace) = 0;
  NS_IMETHOD SetPublicNamespace(const nsACString & aPublicNamespace) = 0;

  /* attribute ACString otherUsersNamespace; */
  NS_IMETHOD GetOtherUsersNamespace(nsACString & aOtherUsersNamespace) = 0;
  NS_IMETHOD SetOtherUsersNamespace(const nsACString & aOtherUsersNamespace) = 0;

  /* attribute boolean offlineDownload; */
  NS_IMETHOD GetOfflineDownload(bool *aOfflineDownload) = 0;
  NS_IMETHOD SetOfflineDownload(bool aOfflineDownload) = 0;

  /* attribute boolean overrideNamespaces; */
  NS_IMETHOD GetOverrideNamespaces(bool *aOverrideNamespaces) = 0;
  NS_IMETHOD SetOverrideNamespaces(bool aOverrideNamespaces) = 0;

  /* attribute boolean usingSubscription; */
  NS_IMETHOD GetUsingSubscription(bool *aUsingSubscription) = 0;
  NS_IMETHOD SetUsingSubscription(bool aUsingSubscription) = 0;

  /* attribute ACString manageMailAccountUrl; */
  NS_IMETHOD GetManageMailAccountUrl(nsACString & aManageMailAccountUrl) = 0;
  NS_IMETHOD SetManageMailAccountUrl(const nsACString & aManageMailAccountUrl) = 0;

  /* attribute boolean fetchByChunks; */
  NS_IMETHOD GetFetchByChunks(bool *aFetchByChunks) = 0;
  NS_IMETHOD SetFetchByChunks(bool aFetchByChunks) = 0;

  /* attribute boolean mimePartsOnDemand; */
  NS_IMETHOD GetMimePartsOnDemand(bool *aMimePartsOnDemand) = 0;
  NS_IMETHOD SetMimePartsOnDemand(bool aMimePartsOnDemand) = 0;

  /* attribute boolean sendID; */
  NS_IMETHOD GetSendID(bool *aSendID) = 0;
  NS_IMETHOD SetSendID(bool aSendID) = 0;

  /* attribute boolean isAOLServer; */
  NS_IMETHOD GetIsAOLServer(bool *aIsAOLServer) = 0;
  NS_IMETHOD SetIsAOLServer(bool aIsAOLServer) = 0;

  /* attribute boolean capabilityACL; */
  NS_IMETHOD GetCapabilityACL(bool *aCapabilityACL) = 0;
  NS_IMETHOD SetCapabilityACL(bool aCapabilityACL) = 0;

  /* attribute boolean capabilityQuota; */
  NS_IMETHOD GetCapabilityQuota(bool *aCapabilityQuota) = 0;
  NS_IMETHOD SetCapabilityQuota(bool aCapabilityQuota) = 0;

  /* attribute boolean useIdle; */
  NS_IMETHOD GetUseIdle(bool *aUseIdle) = 0;
  NS_IMETHOD SetUseIdle(bool aUseIdle) = 0;

  /* attribute boolean checkAllFoldersForNew; */
  NS_IMETHOD GetCheckAllFoldersForNew(bool *aCheckAllFoldersForNew) = 0;
  NS_IMETHOD SetCheckAllFoldersForNew(bool aCheckAllFoldersForNew) = 0;

  /* attribute boolean isGMailServer; */
  NS_IMETHOD GetIsGMailServer(bool *aIsGMailServer) = 0;
  NS_IMETHOD SetIsGMailServer(bool aIsGMailServer) = 0;

  /* attribute boolean useCondStore; */
  NS_IMETHOD GetUseCondStore(bool *aUseCondStore) = 0;
  NS_IMETHOD SetUseCondStore(bool aUseCondStore) = 0;

  /* attribute boolean useCompressDeflate; */
  NS_IMETHOD GetUseCompressDeflate(bool *aUseCompressDeflate) = 0;
  NS_IMETHOD SetUseCompressDeflate(bool aUseCompressDeflate) = 0;

  /* attribute AString trashFolderName; */
  NS_IMETHOD GetTrashFolderName(nsAString & aTrashFolderName) = 0;
  NS_IMETHOD SetTrashFolderName(const nsAString & aTrashFolderName) = 0;

  /* attribute boolean downloadBodiesOnGetNewMail; */
  NS_IMETHOD GetDownloadBodiesOnGetNewMail(bool *aDownloadBodiesOnGetNewMail) = 0;
  NS_IMETHOD SetDownloadBodiesOnGetNewMail(bool aDownloadBodiesOnGetNewMail) = 0;

  /* attribute boolean autoSyncOfflineStores; */
  NS_IMETHOD GetAutoSyncOfflineStores(bool *aAutoSyncOfflineStores) = 0;
  NS_IMETHOD SetAutoSyncOfflineStores(bool aAutoSyncOfflineStores) = 0;

  /* attribute long autoSyncMaxAgeDays; */
  NS_IMETHOD GetAutoSyncMaxAgeDays(int32_t *aAutoSyncMaxAgeDays) = 0;
  NS_IMETHOD SetAutoSyncMaxAgeDays(int32_t aAutoSyncMaxAgeDays) = 0;

  /* void GetImapConnectionAndLoadUrl (in nsIImapUrl aImapUrl, in nsISupports aConsumer); */
  NS_IMETHOD GetImapConnectionAndLoadUrl(nsIImapUrl *aImapUrl, nsISupports *aConsumer) = 0;

  /* void RemoveConnection (in nsIImapProtocol aImapConnection); */
  NS_IMETHOD RemoveConnection(nsIImapProtocol *aImapConnection) = 0;

  /* void ResetNamespaceReferences (); */
  NS_IMETHOD ResetNamespaceReferences(void) = 0;

  /* void pseudoInterruptMsgLoad (in nsIMsgFolder aImapFolder, in nsIMsgWindow aMsgWindow, out boolean interrupted); */
  NS_IMETHOD PseudoInterruptMsgLoad(nsIMsgFolder *aImapFolder, nsIMsgWindow *aMsgWindow, bool *interrupted) = 0;

  /* void ResetConnection (in ACString folderName); */
  NS_IMETHOD ResetConnection(const nsACString & folderName) = 0;

  /* void CloseConnectionForFolder (in nsIMsgFolder aMsgFolder); */
  NS_IMETHOD CloseConnectionForFolder(nsIMsgFolder *aMsgFolder) = 0;

  /* void reDiscoverAllFolders (); */
  NS_IMETHOD ReDiscoverAllFolders(void) = 0;

  /* nsIURI subscribeToFolder (in AString name, in boolean subscribe); */
  NS_IMETHOD SubscribeToFolder(const nsAString & name, bool subscribe, nsIURI * *_retval) = 0;

  /* void GetNewMessagesForNonInboxFolders (in nsIMsgFolder aRootFolder, in nsIMsgWindow aWindow, in boolean forceAllFolders, in boolean performingBiff); */
  NS_IMETHOD GetNewMessagesForNonInboxFolders(nsIMsgFolder *aRootFolder, nsIMsgWindow *aWindow, bool forceAllFolders, bool performingBiff) = 0;

  /* ACString PromptPassword (in nsIMsgWindow aWindow); */
  NS_IMETHOD PromptPassword(nsIMsgWindow *aWindow, nsACString & _retval) = 0;

  /* attribute boolean doingLsub; */
  NS_IMETHOD GetDoingLsub(bool *aDoingLsub) = 0;
  NS_IMETHOD SetDoingLsub(bool aDoingLsub) = 0;

  /* ACString getUriWithNamespacePrefixIfNecessary (in long namespaceType, in ACString originalUri); */
  NS_IMETHOD GetUriWithNamespacePrefixIfNecessary(int32_t namespaceType, const nsACString & originalUri, nsACString & _retval) = 0;

  /* attribute boolean shuttingDown; */
  NS_IMETHOD GetShuttingDown(bool *aShuttingDown) = 0;
  NS_IMETHOD SetShuttingDown(bool aShuttingDown) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIImapIncomingServer, NS_IIMAPINCOMINGSERVER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIMAPINCOMINGSERVER \
  NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) override; \
  NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) override; \
  NS_IMETHOD GetTimeOutLimits(int32_t *aTimeOutLimits) override; \
  NS_IMETHOD SetTimeOutLimits(int32_t aTimeOutLimits) override; \
  NS_IMETHOD GetAdminUrl(nsACString & aAdminUrl) override; \
  NS_IMETHOD SetAdminUrl(const nsACString & aAdminUrl) override; \
  NS_IMETHOD GetServerDirectory(nsACString & aServerDirectory) override; \
  NS_IMETHOD SetServerDirectory(const nsACString & aServerDirectory) override; \
  NS_IMETHOD GetServerIDPref(nsACString & aServerIDPref) override; \
  NS_IMETHOD SetServerIDPref(const nsACString & aServerIDPref) override; \
  NS_IMETHOD GetCleanupInboxOnExit(bool *aCleanupInboxOnExit) override; \
  NS_IMETHOD SetCleanupInboxOnExit(bool aCleanupInboxOnExit) override; \
  NS_IMETHOD GetDeleteModel(nsMsgImapDeleteModel *aDeleteModel) override; \
  NS_IMETHOD SetDeleteModel(nsMsgImapDeleteModel aDeleteModel) override; \
  NS_IMETHOD GetDualUseFolders(bool *aDualUseFolders) override; \
  NS_IMETHOD SetDualUseFolders(bool aDualUseFolders) override; \
  NS_IMETHOD GetEmptyTrashThreshhold(int32_t *aEmptyTrashThreshhold) override; \
  NS_IMETHOD SetEmptyTrashThreshhold(int32_t aEmptyTrashThreshhold) override; \
  NS_IMETHOD GetPersonalNamespace(nsACString & aPersonalNamespace) override; \
  NS_IMETHOD SetPersonalNamespace(const nsACString & aPersonalNamespace) override; \
  NS_IMETHOD GetPublicNamespace(nsACString & aPublicNamespace) override; \
  NS_IMETHOD SetPublicNamespace(const nsACString & aPublicNamespace) override; \
  NS_IMETHOD GetOtherUsersNamespace(nsACString & aOtherUsersNamespace) override; \
  NS_IMETHOD SetOtherUsersNamespace(const nsACString & aOtherUsersNamespace) override; \
  NS_IMETHOD GetOfflineDownload(bool *aOfflineDownload) override; \
  NS_IMETHOD SetOfflineDownload(bool aOfflineDownload) override; \
  NS_IMETHOD GetOverrideNamespaces(bool *aOverrideNamespaces) override; \
  NS_IMETHOD SetOverrideNamespaces(bool aOverrideNamespaces) override; \
  NS_IMETHOD GetUsingSubscription(bool *aUsingSubscription) override; \
  NS_IMETHOD SetUsingSubscription(bool aUsingSubscription) override; \
  NS_IMETHOD GetManageMailAccountUrl(nsACString & aManageMailAccountUrl) override; \
  NS_IMETHOD SetManageMailAccountUrl(const nsACString & aManageMailAccountUrl) override; \
  NS_IMETHOD GetFetchByChunks(bool *aFetchByChunks) override; \
  NS_IMETHOD SetFetchByChunks(bool aFetchByChunks) override; \
  NS_IMETHOD GetMimePartsOnDemand(bool *aMimePartsOnDemand) override; \
  NS_IMETHOD SetMimePartsOnDemand(bool aMimePartsOnDemand) override; \
  NS_IMETHOD GetSendID(bool *aSendID) override; \
  NS_IMETHOD SetSendID(bool aSendID) override; \
  NS_IMETHOD GetIsAOLServer(bool *aIsAOLServer) override; \
  NS_IMETHOD SetIsAOLServer(bool aIsAOLServer) override; \
  NS_IMETHOD GetCapabilityACL(bool *aCapabilityACL) override; \
  NS_IMETHOD SetCapabilityACL(bool aCapabilityACL) override; \
  NS_IMETHOD GetCapabilityQuota(bool *aCapabilityQuota) override; \
  NS_IMETHOD SetCapabilityQuota(bool aCapabilityQuota) override; \
  NS_IMETHOD GetUseIdle(bool *aUseIdle) override; \
  NS_IMETHOD SetUseIdle(bool aUseIdle) override; \
  NS_IMETHOD GetCheckAllFoldersForNew(bool *aCheckAllFoldersForNew) override; \
  NS_IMETHOD SetCheckAllFoldersForNew(bool aCheckAllFoldersForNew) override; \
  NS_IMETHOD GetIsGMailServer(bool *aIsGMailServer) override; \
  NS_IMETHOD SetIsGMailServer(bool aIsGMailServer) override; \
  NS_IMETHOD GetUseCondStore(bool *aUseCondStore) override; \
  NS_IMETHOD SetUseCondStore(bool aUseCondStore) override; \
  NS_IMETHOD GetUseCompressDeflate(bool *aUseCompressDeflate) override; \
  NS_IMETHOD SetUseCompressDeflate(bool aUseCompressDeflate) override; \
  NS_IMETHOD GetTrashFolderName(nsAString & aTrashFolderName) override; \
  NS_IMETHOD SetTrashFolderName(const nsAString & aTrashFolderName) override; \
  NS_IMETHOD GetDownloadBodiesOnGetNewMail(bool *aDownloadBodiesOnGetNewMail) override; \
  NS_IMETHOD SetDownloadBodiesOnGetNewMail(bool aDownloadBodiesOnGetNewMail) override; \
  NS_IMETHOD GetAutoSyncOfflineStores(bool *aAutoSyncOfflineStores) override; \
  NS_IMETHOD SetAutoSyncOfflineStores(bool aAutoSyncOfflineStores) override; \
  NS_IMETHOD GetAutoSyncMaxAgeDays(int32_t *aAutoSyncMaxAgeDays) override; \
  NS_IMETHOD SetAutoSyncMaxAgeDays(int32_t aAutoSyncMaxAgeDays) override; \
  NS_IMETHOD GetImapConnectionAndLoadUrl(nsIImapUrl *aImapUrl, nsISupports *aConsumer) override; \
  NS_IMETHOD RemoveConnection(nsIImapProtocol *aImapConnection) override; \
  NS_IMETHOD ResetNamespaceReferences(void) override; \
  NS_IMETHOD PseudoInterruptMsgLoad(nsIMsgFolder *aImapFolder, nsIMsgWindow *aMsgWindow, bool *interrupted) override; \
  NS_IMETHOD ResetConnection(const nsACString & folderName) override; \
  NS_IMETHOD CloseConnectionForFolder(nsIMsgFolder *aMsgFolder) override; \
  NS_IMETHOD ReDiscoverAllFolders(void) override; \
  NS_IMETHOD SubscribeToFolder(const nsAString & name, bool subscribe, nsIURI * *_retval) override; \
  NS_IMETHOD GetNewMessagesForNonInboxFolders(nsIMsgFolder *aRootFolder, nsIMsgWindow *aWindow, bool forceAllFolders, bool performingBiff) override; \
  NS_IMETHOD PromptPassword(nsIMsgWindow *aWindow, nsACString & _retval) override; \
  NS_IMETHOD GetDoingLsub(bool *aDoingLsub) override; \
  NS_IMETHOD SetDoingLsub(bool aDoingLsub) override; \
  NS_IMETHOD GetUriWithNamespacePrefixIfNecessary(int32_t namespaceType, const nsACString & originalUri, nsACString & _retval) override; \
  NS_IMETHOD GetShuttingDown(bool *aShuttingDown) override; \
  NS_IMETHOD SetShuttingDown(bool aShuttingDown) 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_NSIIMAPINCOMINGSERVER \
  nsresult GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber); \
  nsresult SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber); \
  nsresult GetTimeOutLimits(int32_t *aTimeOutLimits); \
  nsresult SetTimeOutLimits(int32_t aTimeOutLimits); \
  nsresult GetAdminUrl(nsACString & aAdminUrl); \
  nsresult SetAdminUrl(const nsACString & aAdminUrl); \
  nsresult GetServerDirectory(nsACString & aServerDirectory); \
  nsresult SetServerDirectory(const nsACString & aServerDirectory); \
  nsresult GetServerIDPref(nsACString & aServerIDPref); \
  nsresult SetServerIDPref(const nsACString & aServerIDPref); \
  nsresult GetCleanupInboxOnExit(bool *aCleanupInboxOnExit); \
  nsresult SetCleanupInboxOnExit(bool aCleanupInboxOnExit); \
  nsresult GetDeleteModel(nsMsgImapDeleteModel *aDeleteModel); \
  nsresult SetDeleteModel(nsMsgImapDeleteModel aDeleteModel); \
  nsresult GetDualUseFolders(bool *aDualUseFolders); \
  nsresult SetDualUseFolders(bool aDualUseFolders); \
  nsresult GetEmptyTrashThreshhold(int32_t *aEmptyTrashThreshhold); \
  nsresult SetEmptyTrashThreshhold(int32_t aEmptyTrashThreshhold); \
  nsresult GetPersonalNamespace(nsACString & aPersonalNamespace); \
  nsresult SetPersonalNamespace(const nsACString & aPersonalNamespace); \
  nsresult GetPublicNamespace(nsACString & aPublicNamespace); \
  nsresult SetPublicNamespace(const nsACString & aPublicNamespace); \
  nsresult GetOtherUsersNamespace(nsACString & aOtherUsersNamespace); \
  nsresult SetOtherUsersNamespace(const nsACString & aOtherUsersNamespace); \
  nsresult GetOfflineDownload(bool *aOfflineDownload); \
  nsresult SetOfflineDownload(bool aOfflineDownload); \
  nsresult GetOverrideNamespaces(bool *aOverrideNamespaces); \
  nsresult SetOverrideNamespaces(bool aOverrideNamespaces); \
  nsresult GetUsingSubscription(bool *aUsingSubscription); \
  nsresult SetUsingSubscription(bool aUsingSubscription); \
  nsresult GetManageMailAccountUrl(nsACString & aManageMailAccountUrl); \
  nsresult SetManageMailAccountUrl(const nsACString & aManageMailAccountUrl); \
  nsresult GetFetchByChunks(bool *aFetchByChunks); \
  nsresult SetFetchByChunks(bool aFetchByChunks); \
  nsresult GetMimePartsOnDemand(bool *aMimePartsOnDemand); \
  nsresult SetMimePartsOnDemand(bool aMimePartsOnDemand); \
  nsresult GetSendID(bool *aSendID); \
  nsresult SetSendID(bool aSendID); \
  nsresult GetIsAOLServer(bool *aIsAOLServer); \
  nsresult SetIsAOLServer(bool aIsAOLServer); \
  nsresult GetCapabilityACL(bool *aCapabilityACL); \
  nsresult SetCapabilityACL(bool aCapabilityACL); \
  nsresult GetCapabilityQuota(bool *aCapabilityQuota); \
  nsresult SetCapabilityQuota(bool aCapabilityQuota); \
  nsresult GetUseIdle(bool *aUseIdle); \
  nsresult SetUseIdle(bool aUseIdle); \
  nsresult GetCheckAllFoldersForNew(bool *aCheckAllFoldersForNew); \
  nsresult SetCheckAllFoldersForNew(bool aCheckAllFoldersForNew); \
  nsresult GetIsGMailServer(bool *aIsGMailServer); \
  nsresult SetIsGMailServer(bool aIsGMailServer); \
  nsresult GetUseCondStore(bool *aUseCondStore); \
  nsresult SetUseCondStore(bool aUseCondStore); \
  nsresult GetUseCompressDeflate(bool *aUseCompressDeflate); \
  nsresult SetUseCompressDeflate(bool aUseCompressDeflate); \
  nsresult GetTrashFolderName(nsAString & aTrashFolderName); \
  nsresult SetTrashFolderName(const nsAString & aTrashFolderName); \
  nsresult GetDownloadBodiesOnGetNewMail(bool *aDownloadBodiesOnGetNewMail); \
  nsresult SetDownloadBodiesOnGetNewMail(bool aDownloadBodiesOnGetNewMail); \
  nsresult GetAutoSyncOfflineStores(bool *aAutoSyncOfflineStores); \
  nsresult SetAutoSyncOfflineStores(bool aAutoSyncOfflineStores); \
  nsresult GetAutoSyncMaxAgeDays(int32_t *aAutoSyncMaxAgeDays); \
  nsresult SetAutoSyncMaxAgeDays(int32_t aAutoSyncMaxAgeDays); \
  nsresult GetImapConnectionAndLoadUrl(nsIImapUrl *aImapUrl, nsISupports *aConsumer); \
  nsresult RemoveConnection(nsIImapProtocol *aImapConnection); \
  nsresult ResetNamespaceReferences(void); \
  nsresult PseudoInterruptMsgLoad(nsIMsgFolder *aImapFolder, nsIMsgWindow *aMsgWindow, bool *interrupted); \
  nsresult ResetConnection(const nsACString & folderName); \
  nsresult CloseConnectionForFolder(nsIMsgFolder *aMsgFolder); \
  nsresult ReDiscoverAllFolders(void); \
  nsresult SubscribeToFolder(const nsAString & name, bool subscribe, nsIURI * *_retval); \
  nsresult GetNewMessagesForNonInboxFolders(nsIMsgFolder *aRootFolder, nsIMsgWindow *aWindow, bool forceAllFolders, bool performingBiff); \
  nsresult PromptPassword(nsIMsgWindow *aWindow, nsACString & _retval); \
  nsresult GetDoingLsub(bool *aDoingLsub); \
  nsresult SetDoingLsub(bool aDoingLsub); \
  nsresult GetUriWithNamespacePrefixIfNecessary(int32_t namespaceType, const nsACString & originalUri, nsACString & _retval); \
  nsresult GetShuttingDown(bool *aShuttingDown); \
  nsresult SetShuttingDown(bool aShuttingDown); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIMAPINCOMINGSERVER(_to) \
  NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) override { return _to GetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
  NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) override { return _to SetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
  NS_IMETHOD GetTimeOutLimits(int32_t *aTimeOutLimits) override { return _to GetTimeOutLimits(aTimeOutLimits); } \
  NS_IMETHOD SetTimeOutLimits(int32_t aTimeOutLimits) override { return _to SetTimeOutLimits(aTimeOutLimits); } \
  NS_IMETHOD GetAdminUrl(nsACString & aAdminUrl) override { return _to GetAdminUrl(aAdminUrl); } \
  NS_IMETHOD SetAdminUrl(const nsACString & aAdminUrl) override { return _to SetAdminUrl(aAdminUrl); } \
  NS_IMETHOD GetServerDirectory(nsACString & aServerDirectory) override { return _to GetServerDirectory(aServerDirectory); } \
  NS_IMETHOD SetServerDirectory(const nsACString & aServerDirectory) override { return _to SetServerDirectory(aServerDirectory); } \
  NS_IMETHOD GetServerIDPref(nsACString & aServerIDPref) override { return _to GetServerIDPref(aServerIDPref); } \
  NS_IMETHOD SetServerIDPref(const nsACString & aServerIDPref) override { return _to SetServerIDPref(aServerIDPref); } \
  NS_IMETHOD GetCleanupInboxOnExit(bool *aCleanupInboxOnExit) override { return _to GetCleanupInboxOnExit(aCleanupInboxOnExit); } \
  NS_IMETHOD SetCleanupInboxOnExit(bool aCleanupInboxOnExit) override { return _to SetCleanupInboxOnExit(aCleanupInboxOnExit); } \
  NS_IMETHOD GetDeleteModel(nsMsgImapDeleteModel *aDeleteModel) override { return _to GetDeleteModel(aDeleteModel); } \
  NS_IMETHOD SetDeleteModel(nsMsgImapDeleteModel aDeleteModel) override { return _to SetDeleteModel(aDeleteModel); } \
  NS_IMETHOD GetDualUseFolders(bool *aDualUseFolders) override { return _to GetDualUseFolders(aDualUseFolders); } \
  NS_IMETHOD SetDualUseFolders(bool aDualUseFolders) override { return _to SetDualUseFolders(aDualUseFolders); } \
  NS_IMETHOD GetEmptyTrashThreshhold(int32_t *aEmptyTrashThreshhold) override { return _to GetEmptyTrashThreshhold(aEmptyTrashThreshhold); } \
  NS_IMETHOD SetEmptyTrashThreshhold(int32_t aEmptyTrashThreshhold) override { return _to SetEmptyTrashThreshhold(aEmptyTrashThreshhold); } \
  NS_IMETHOD GetPersonalNamespace(nsACString & aPersonalNamespace) override { return _to GetPersonalNamespace(aPersonalNamespace); } \
  NS_IMETHOD SetPersonalNamespace(const nsACString & aPersonalNamespace) override { return _to SetPersonalNamespace(aPersonalNamespace); } \
  NS_IMETHOD GetPublicNamespace(nsACString & aPublicNamespace) override { return _to GetPublicNamespace(aPublicNamespace); } \
  NS_IMETHOD SetPublicNamespace(const nsACString & aPublicNamespace) override { return _to SetPublicNamespace(aPublicNamespace); } \
  NS_IMETHOD GetOtherUsersNamespace(nsACString & aOtherUsersNamespace) override { return _to GetOtherUsersNamespace(aOtherUsersNamespace); } \
  NS_IMETHOD SetOtherUsersNamespace(const nsACString & aOtherUsersNamespace) override { return _to SetOtherUsersNamespace(aOtherUsersNamespace); } \
  NS_IMETHOD GetOfflineDownload(bool *aOfflineDownload) override { return _to GetOfflineDownload(aOfflineDownload); } \
  NS_IMETHOD SetOfflineDownload(bool aOfflineDownload) override { return _to SetOfflineDownload(aOfflineDownload); } \
  NS_IMETHOD GetOverrideNamespaces(bool *aOverrideNamespaces) override { return _to GetOverrideNamespaces(aOverrideNamespaces); } \
  NS_IMETHOD SetOverrideNamespaces(bool aOverrideNamespaces) override { return _to SetOverrideNamespaces(aOverrideNamespaces); } \
  NS_IMETHOD GetUsingSubscription(bool *aUsingSubscription) override { return _to GetUsingSubscription(aUsingSubscription); } \
  NS_IMETHOD SetUsingSubscription(bool aUsingSubscription) override { return _to SetUsingSubscription(aUsingSubscription); } \
  NS_IMETHOD GetManageMailAccountUrl(nsACString & aManageMailAccountUrl) override { return _to GetManageMailAccountUrl(aManageMailAccountUrl); } \
  NS_IMETHOD SetManageMailAccountUrl(const nsACString & aManageMailAccountUrl) override { return _to SetManageMailAccountUrl(aManageMailAccountUrl); } \
  NS_IMETHOD GetFetchByChunks(bool *aFetchByChunks) override { return _to GetFetchByChunks(aFetchByChunks); } \
  NS_IMETHOD SetFetchByChunks(bool aFetchByChunks) override { return _to SetFetchByChunks(aFetchByChunks); } \
  NS_IMETHOD GetMimePartsOnDemand(bool *aMimePartsOnDemand) override { return _to GetMimePartsOnDemand(aMimePartsOnDemand); } \
  NS_IMETHOD SetMimePartsOnDemand(bool aMimePartsOnDemand) override { return _to SetMimePartsOnDemand(aMimePartsOnDemand); } \
  NS_IMETHOD GetSendID(bool *aSendID) override { return _to GetSendID(aSendID); } \
  NS_IMETHOD SetSendID(bool aSendID) override { return _to SetSendID(aSendID); } \
  NS_IMETHOD GetIsAOLServer(bool *aIsAOLServer) override { return _to GetIsAOLServer(aIsAOLServer); } \
  NS_IMETHOD SetIsAOLServer(bool aIsAOLServer) override { return _to SetIsAOLServer(aIsAOLServer); } \
  NS_IMETHOD GetCapabilityACL(bool *aCapabilityACL) override { return _to GetCapabilityACL(aCapabilityACL); } \
  NS_IMETHOD SetCapabilityACL(bool aCapabilityACL) override { return _to SetCapabilityACL(aCapabilityACL); } \
  NS_IMETHOD GetCapabilityQuota(bool *aCapabilityQuota) override { return _to GetCapabilityQuota(aCapabilityQuota); } \
  NS_IMETHOD SetCapabilityQuota(bool aCapabilityQuota) override { return _to SetCapabilityQuota(aCapabilityQuota); } \
  NS_IMETHOD GetUseIdle(bool *aUseIdle) override { return _to GetUseIdle(aUseIdle); } \
  NS_IMETHOD SetUseIdle(bool aUseIdle) override { return _to SetUseIdle(aUseIdle); } \
  NS_IMETHOD GetCheckAllFoldersForNew(bool *aCheckAllFoldersForNew) override { return _to GetCheckAllFoldersForNew(aCheckAllFoldersForNew); } \
  NS_IMETHOD SetCheckAllFoldersForNew(bool aCheckAllFoldersForNew) override { return _to SetCheckAllFoldersForNew(aCheckAllFoldersForNew); } \
  NS_IMETHOD GetIsGMailServer(bool *aIsGMailServer) override { return _to GetIsGMailServer(aIsGMailServer); } \
  NS_IMETHOD SetIsGMailServer(bool aIsGMailServer) override { return _to SetIsGMailServer(aIsGMailServer); } \
  NS_IMETHOD GetUseCondStore(bool *aUseCondStore) override { return _to GetUseCondStore(aUseCondStore); } \
  NS_IMETHOD SetUseCondStore(bool aUseCondStore) override { return _to SetUseCondStore(aUseCondStore); } \
  NS_IMETHOD GetUseCompressDeflate(bool *aUseCompressDeflate) override { return _to GetUseCompressDeflate(aUseCompressDeflate); } \
  NS_IMETHOD SetUseCompressDeflate(bool aUseCompressDeflate) override { return _to SetUseCompressDeflate(aUseCompressDeflate); } \
  NS_IMETHOD GetTrashFolderName(nsAString & aTrashFolderName) override { return _to GetTrashFolderName(aTrashFolderName); } \
  NS_IMETHOD SetTrashFolderName(const nsAString & aTrashFolderName) override { return _to SetTrashFolderName(aTrashFolderName); } \
  NS_IMETHOD GetDownloadBodiesOnGetNewMail(bool *aDownloadBodiesOnGetNewMail) override { return _to GetDownloadBodiesOnGetNewMail(aDownloadBodiesOnGetNewMail); } \
  NS_IMETHOD SetDownloadBodiesOnGetNewMail(bool aDownloadBodiesOnGetNewMail) override { return _to SetDownloadBodiesOnGetNewMail(aDownloadBodiesOnGetNewMail); } \
  NS_IMETHOD GetAutoSyncOfflineStores(bool *aAutoSyncOfflineStores) override { return _to GetAutoSyncOfflineStores(aAutoSyncOfflineStores); } \
  NS_IMETHOD SetAutoSyncOfflineStores(bool aAutoSyncOfflineStores) override { return _to SetAutoSyncOfflineStores(aAutoSyncOfflineStores); } \
  NS_IMETHOD GetAutoSyncMaxAgeDays(int32_t *aAutoSyncMaxAgeDays) override { return _to GetAutoSyncMaxAgeDays(aAutoSyncMaxAgeDays); } \
  NS_IMETHOD SetAutoSyncMaxAgeDays(int32_t aAutoSyncMaxAgeDays) override { return _to SetAutoSyncMaxAgeDays(aAutoSyncMaxAgeDays); } \
  NS_IMETHOD GetImapConnectionAndLoadUrl(nsIImapUrl *aImapUrl, nsISupports *aConsumer) override { return _to GetImapConnectionAndLoadUrl(aImapUrl, aConsumer); } \
  NS_IMETHOD RemoveConnection(nsIImapProtocol *aImapConnection) override { return _to RemoveConnection(aImapConnection); } \
  NS_IMETHOD ResetNamespaceReferences(void) override { return _to ResetNamespaceReferences(); } \
  NS_IMETHOD PseudoInterruptMsgLoad(nsIMsgFolder *aImapFolder, nsIMsgWindow *aMsgWindow, bool *interrupted) override { return _to PseudoInterruptMsgLoad(aImapFolder, aMsgWindow, interrupted); } \
  NS_IMETHOD ResetConnection(const nsACString & folderName) override { return _to ResetConnection(folderName); } \
  NS_IMETHOD CloseConnectionForFolder(nsIMsgFolder *aMsgFolder) override { return _to CloseConnectionForFolder(aMsgFolder); } \
  NS_IMETHOD ReDiscoverAllFolders(void) override { return _to ReDiscoverAllFolders(); } \
  NS_IMETHOD SubscribeToFolder(const nsAString & name, bool subscribe, nsIURI * *_retval) override { return _to SubscribeToFolder(name, subscribe, _retval); } \
  NS_IMETHOD GetNewMessagesForNonInboxFolders(nsIMsgFolder *aRootFolder, nsIMsgWindow *aWindow, bool forceAllFolders, bool performingBiff) override { return _to GetNewMessagesForNonInboxFolders(aRootFolder, aWindow, forceAllFolders, performingBiff); } \
  NS_IMETHOD PromptPassword(nsIMsgWindow *aWindow, nsACString & _retval) override { return _to PromptPassword(aWindow, _retval); } \
  NS_IMETHOD GetDoingLsub(bool *aDoingLsub) override { return _to GetDoingLsub(aDoingLsub); } \
  NS_IMETHOD SetDoingLsub(bool aDoingLsub) override { return _to SetDoingLsub(aDoingLsub); } \
  NS_IMETHOD GetUriWithNamespacePrefixIfNecessary(int32_t namespaceType, const nsACString & originalUri, nsACString & _retval) override { return _to GetUriWithNamespacePrefixIfNecessary(namespaceType, originalUri, _retval); } \
  NS_IMETHOD GetShuttingDown(bool *aShuttingDown) override { return _to GetShuttingDown(aShuttingDown); } \
  NS_IMETHOD SetShuttingDown(bool aShuttingDown) override { return _to SetShuttingDown(aShuttingDown); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIIMAPINCOMINGSERVER(_to) \
  NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
  NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaximumConnectionsNumber(aMaximumConnectionsNumber); } \
  NS_IMETHOD GetTimeOutLimits(int32_t *aTimeOutLimits) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimeOutLimits(aTimeOutLimits); } \
  NS_IMETHOD SetTimeOutLimits(int32_t aTimeOutLimits) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTimeOutLimits(aTimeOutLimits); } \
  NS_IMETHOD GetAdminUrl(nsACString & aAdminUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdminUrl(aAdminUrl); } \
  NS_IMETHOD SetAdminUrl(const nsACString & aAdminUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAdminUrl(aAdminUrl); } \
  NS_IMETHOD GetServerDirectory(nsACString & aServerDirectory) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerDirectory(aServerDirectory); } \
  NS_IMETHOD SetServerDirectory(const nsACString & aServerDirectory) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetServerDirectory(aServerDirectory); } \
  NS_IMETHOD GetServerIDPref(nsACString & aServerIDPref) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerIDPref(aServerIDPref); } \
  NS_IMETHOD SetServerIDPref(const nsACString & aServerIDPref) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetServerIDPref(aServerIDPref); } \
  NS_IMETHOD GetCleanupInboxOnExit(bool *aCleanupInboxOnExit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCleanupInboxOnExit(aCleanupInboxOnExit); } \
  NS_IMETHOD SetCleanupInboxOnExit(bool aCleanupInboxOnExit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCleanupInboxOnExit(aCleanupInboxOnExit); } \
  NS_IMETHOD GetDeleteModel(nsMsgImapDeleteModel *aDeleteModel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDeleteModel(aDeleteModel); } \
  NS_IMETHOD SetDeleteModel(nsMsgImapDeleteModel aDeleteModel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDeleteModel(aDeleteModel); } \
  NS_IMETHOD GetDualUseFolders(bool *aDualUseFolders) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDualUseFolders(aDualUseFolders); } \
  NS_IMETHOD SetDualUseFolders(bool aDualUseFolders) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDualUseFolders(aDualUseFolders); } \
  NS_IMETHOD GetEmptyTrashThreshhold(int32_t *aEmptyTrashThreshhold) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmptyTrashThreshhold(aEmptyTrashThreshhold); } \
  NS_IMETHOD SetEmptyTrashThreshhold(int32_t aEmptyTrashThreshhold) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEmptyTrashThreshhold(aEmptyTrashThreshhold); } \
  NS_IMETHOD GetPersonalNamespace(nsACString & aPersonalNamespace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPersonalNamespace(aPersonalNamespace); } \
  NS_IMETHOD SetPersonalNamespace(const nsACString & aPersonalNamespace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPersonalNamespace(aPersonalNamespace); } \
  NS_IMETHOD GetPublicNamespace(nsACString & aPublicNamespace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPublicNamespace(aPublicNamespace); } \
  NS_IMETHOD SetPublicNamespace(const nsACString & aPublicNamespace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPublicNamespace(aPublicNamespace); } \
  NS_IMETHOD GetOtherUsersNamespace(nsACString & aOtherUsersNamespace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOtherUsersNamespace(aOtherUsersNamespace); } \
  NS_IMETHOD SetOtherUsersNamespace(const nsACString & aOtherUsersNamespace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOtherUsersNamespace(aOtherUsersNamespace); } \
  NS_IMETHOD GetOfflineDownload(bool *aOfflineDownload) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOfflineDownload(aOfflineDownload); } \
  NS_IMETHOD SetOfflineDownload(bool aOfflineDownload) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOfflineDownload(aOfflineDownload); } \
  NS_IMETHOD GetOverrideNamespaces(bool *aOverrideNamespaces) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOverrideNamespaces(aOverrideNamespaces); } \
  NS_IMETHOD SetOverrideNamespaces(bool aOverrideNamespaces) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOverrideNamespaces(aOverrideNamespaces); } \
  NS_IMETHOD GetUsingSubscription(bool *aUsingSubscription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsingSubscription(aUsingSubscription); } \
  NS_IMETHOD SetUsingSubscription(bool aUsingSubscription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUsingSubscription(aUsingSubscription); } \
  NS_IMETHOD GetManageMailAccountUrl(nsACString & aManageMailAccountUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetManageMailAccountUrl(aManageMailAccountUrl); } \
  NS_IMETHOD SetManageMailAccountUrl(const nsACString & aManageMailAccountUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetManageMailAccountUrl(aManageMailAccountUrl); } \
  NS_IMETHOD GetFetchByChunks(bool *aFetchByChunks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFetchByChunks(aFetchByChunks); } \
  NS_IMETHOD SetFetchByChunks(bool aFetchByChunks) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFetchByChunks(aFetchByChunks); } \
  NS_IMETHOD GetMimePartsOnDemand(bool *aMimePartsOnDemand) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMimePartsOnDemand(aMimePartsOnDemand); } \
  NS_IMETHOD SetMimePartsOnDemand(bool aMimePartsOnDemand) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMimePartsOnDemand(aMimePartsOnDemand); } \
  NS_IMETHOD GetSendID(bool *aSendID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSendID(aSendID); } \
  NS_IMETHOD SetSendID(bool aSendID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSendID(aSendID); } \
  NS_IMETHOD GetIsAOLServer(bool *aIsAOLServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsAOLServer(aIsAOLServer); } \
  NS_IMETHOD SetIsAOLServer(bool aIsAOLServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsAOLServer(aIsAOLServer); } \
  NS_IMETHOD GetCapabilityACL(bool *aCapabilityACL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCapabilityACL(aCapabilityACL); } \
  NS_IMETHOD SetCapabilityACL(bool aCapabilityACL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCapabilityACL(aCapabilityACL); } \
  NS_IMETHOD GetCapabilityQuota(bool *aCapabilityQuota) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCapabilityQuota(aCapabilityQuota); } \
  NS_IMETHOD SetCapabilityQuota(bool aCapabilityQuota) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCapabilityQuota(aCapabilityQuota); } \
  NS_IMETHOD GetUseIdle(bool *aUseIdle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUseIdle(aUseIdle); } \
  NS_IMETHOD SetUseIdle(bool aUseIdle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUseIdle(aUseIdle); } \
  NS_IMETHOD GetCheckAllFoldersForNew(bool *aCheckAllFoldersForNew) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCheckAllFoldersForNew(aCheckAllFoldersForNew); } \
  NS_IMETHOD SetCheckAllFoldersForNew(bool aCheckAllFoldersForNew) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCheckAllFoldersForNew(aCheckAllFoldersForNew); } \
  NS_IMETHOD GetIsGMailServer(bool *aIsGMailServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsGMailServer(aIsGMailServer); } \
  NS_IMETHOD SetIsGMailServer(bool aIsGMailServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsGMailServer(aIsGMailServer); } \
  NS_IMETHOD GetUseCondStore(bool *aUseCondStore) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUseCondStore(aUseCondStore); } \
  NS_IMETHOD SetUseCondStore(bool aUseCondStore) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUseCondStore(aUseCondStore); } \
  NS_IMETHOD GetUseCompressDeflate(bool *aUseCompressDeflate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUseCompressDeflate(aUseCompressDeflate); } \
  NS_IMETHOD SetUseCompressDeflate(bool aUseCompressDeflate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUseCompressDeflate(aUseCompressDeflate); } \
  NS_IMETHOD GetTrashFolderName(nsAString & aTrashFolderName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTrashFolderName(aTrashFolderName); } \
  NS_IMETHOD SetTrashFolderName(const nsAString & aTrashFolderName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTrashFolderName(aTrashFolderName); } \
  NS_IMETHOD GetDownloadBodiesOnGetNewMail(bool *aDownloadBodiesOnGetNewMail) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDownloadBodiesOnGetNewMail(aDownloadBodiesOnGetNewMail); } \
  NS_IMETHOD SetDownloadBodiesOnGetNewMail(bool aDownloadBodiesOnGetNewMail) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDownloadBodiesOnGetNewMail(aDownloadBodiesOnGetNewMail); } \
  NS_IMETHOD GetAutoSyncOfflineStores(bool *aAutoSyncOfflineStores) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoSyncOfflineStores(aAutoSyncOfflineStores); } \
  NS_IMETHOD SetAutoSyncOfflineStores(bool aAutoSyncOfflineStores) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoSyncOfflineStores(aAutoSyncOfflineStores); } \
  NS_IMETHOD GetAutoSyncMaxAgeDays(int32_t *aAutoSyncMaxAgeDays) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoSyncMaxAgeDays(aAutoSyncMaxAgeDays); } \
  NS_IMETHOD SetAutoSyncMaxAgeDays(int32_t aAutoSyncMaxAgeDays) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoSyncMaxAgeDays(aAutoSyncMaxAgeDays); } \
  NS_IMETHOD GetImapConnectionAndLoadUrl(nsIImapUrl *aImapUrl, nsISupports *aConsumer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapConnectionAndLoadUrl(aImapUrl, aConsumer); } \
  NS_IMETHOD RemoveConnection(nsIImapProtocol *aImapConnection) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveConnection(aImapConnection); } \
  NS_IMETHOD ResetNamespaceReferences(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetNamespaceReferences(); } \
  NS_IMETHOD PseudoInterruptMsgLoad(nsIMsgFolder *aImapFolder, nsIMsgWindow *aMsgWindow, bool *interrupted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PseudoInterruptMsgLoad(aImapFolder, aMsgWindow, interrupted); } \
  NS_IMETHOD ResetConnection(const nsACString & folderName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetConnection(folderName); } \
  NS_IMETHOD CloseConnectionForFolder(nsIMsgFolder *aMsgFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloseConnectionForFolder(aMsgFolder); } \
  NS_IMETHOD ReDiscoverAllFolders(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReDiscoverAllFolders(); } \
  NS_IMETHOD SubscribeToFolder(const nsAString & name, bool subscribe, nsIURI * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SubscribeToFolder(name, subscribe, _retval); } \
  NS_IMETHOD GetNewMessagesForNonInboxFolders(nsIMsgFolder *aRootFolder, nsIMsgWindow *aWindow, bool forceAllFolders, bool performingBiff) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNewMessagesForNonInboxFolders(aRootFolder, aWindow, forceAllFolders, performingBiff); } \
  NS_IMETHOD PromptPassword(nsIMsgWindow *aWindow, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PromptPassword(aWindow, _retval); } \
  NS_IMETHOD GetDoingLsub(bool *aDoingLsub) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoingLsub(aDoingLsub); } \
  NS_IMETHOD SetDoingLsub(bool aDoingLsub) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoingLsub(aDoingLsub); } \
  NS_IMETHOD GetUriWithNamespacePrefixIfNecessary(int32_t namespaceType, const nsACString & originalUri, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUriWithNamespacePrefixIfNecessary(namespaceType, originalUri, _retval); } \
  NS_IMETHOD GetShuttingDown(bool *aShuttingDown) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShuttingDown(aShuttingDown); } \
  NS_IMETHOD SetShuttingDown(bool aShuttingDown) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShuttingDown(aShuttingDown); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsImapIncomingServer : public nsIImapIncomingServer
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIIMAPINCOMINGSERVER

  nsImapIncomingServer();

private:
  ~nsImapIncomingServer();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsImapIncomingServer, nsIImapIncomingServer)

nsImapIncomingServer::nsImapIncomingServer()
{
  /* member initializers and constructor code */
}

nsImapIncomingServer::~nsImapIncomingServer()
{
  /* destructor code */
}

/* attribute long maximumConnectionsNumber; */
NS_IMETHODIMP nsImapIncomingServer::GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long timeOutLimits; */
NS_IMETHODIMP nsImapIncomingServer::GetTimeOutLimits(int32_t *aTimeOutLimits)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetTimeOutLimits(int32_t aTimeOutLimits)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString adminUrl; */
NS_IMETHODIMP nsImapIncomingServer::GetAdminUrl(nsACString & aAdminUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetAdminUrl(const nsACString & aAdminUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString serverDirectory; */
NS_IMETHODIMP nsImapIncomingServer::GetServerDirectory(nsACString & aServerDirectory)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetServerDirectory(const nsACString & aServerDirectory)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString serverIDPref; */
NS_IMETHODIMP nsImapIncomingServer::GetServerIDPref(nsACString & aServerIDPref)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetServerIDPref(const nsACString & aServerIDPref)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean cleanupInboxOnExit; */
NS_IMETHODIMP nsImapIncomingServer::GetCleanupInboxOnExit(bool *aCleanupInboxOnExit)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetCleanupInboxOnExit(bool aCleanupInboxOnExit)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgImapDeleteModel deleteModel; */
NS_IMETHODIMP nsImapIncomingServer::GetDeleteModel(nsMsgImapDeleteModel *aDeleteModel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetDeleteModel(nsMsgImapDeleteModel aDeleteModel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean dualUseFolders; */
NS_IMETHODIMP nsImapIncomingServer::GetDualUseFolders(bool *aDualUseFolders)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetDualUseFolders(bool aDualUseFolders)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long emptyTrashThreshhold; */
NS_IMETHODIMP nsImapIncomingServer::GetEmptyTrashThreshhold(int32_t *aEmptyTrashThreshhold)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetEmptyTrashThreshhold(int32_t aEmptyTrashThreshhold)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString personalNamespace; */
NS_IMETHODIMP nsImapIncomingServer::GetPersonalNamespace(nsACString & aPersonalNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetPersonalNamespace(const nsACString & aPersonalNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString publicNamespace; */
NS_IMETHODIMP nsImapIncomingServer::GetPublicNamespace(nsACString & aPublicNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetPublicNamespace(const nsACString & aPublicNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString otherUsersNamespace; */
NS_IMETHODIMP nsImapIncomingServer::GetOtherUsersNamespace(nsACString & aOtherUsersNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetOtherUsersNamespace(const nsACString & aOtherUsersNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean offlineDownload; */
NS_IMETHODIMP nsImapIncomingServer::GetOfflineDownload(bool *aOfflineDownload)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetOfflineDownload(bool aOfflineDownload)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean overrideNamespaces; */
NS_IMETHODIMP nsImapIncomingServer::GetOverrideNamespaces(bool *aOverrideNamespaces)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetOverrideNamespaces(bool aOverrideNamespaces)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean usingSubscription; */
NS_IMETHODIMP nsImapIncomingServer::GetUsingSubscription(bool *aUsingSubscription)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetUsingSubscription(bool aUsingSubscription)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString manageMailAccountUrl; */
NS_IMETHODIMP nsImapIncomingServer::GetManageMailAccountUrl(nsACString & aManageMailAccountUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetManageMailAccountUrl(const nsACString & aManageMailAccountUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean fetchByChunks; */
NS_IMETHODIMP nsImapIncomingServer::GetFetchByChunks(bool *aFetchByChunks)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetFetchByChunks(bool aFetchByChunks)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean mimePartsOnDemand; */
NS_IMETHODIMP nsImapIncomingServer::GetMimePartsOnDemand(bool *aMimePartsOnDemand)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetMimePartsOnDemand(bool aMimePartsOnDemand)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean sendID; */
NS_IMETHODIMP nsImapIncomingServer::GetSendID(bool *aSendID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetSendID(bool aSendID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isAOLServer; */
NS_IMETHODIMP nsImapIncomingServer::GetIsAOLServer(bool *aIsAOLServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetIsAOLServer(bool aIsAOLServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean capabilityACL; */
NS_IMETHODIMP nsImapIncomingServer::GetCapabilityACL(bool *aCapabilityACL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetCapabilityACL(bool aCapabilityACL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean capabilityQuota; */
NS_IMETHODIMP nsImapIncomingServer::GetCapabilityQuota(bool *aCapabilityQuota)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetCapabilityQuota(bool aCapabilityQuota)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean useIdle; */
NS_IMETHODIMP nsImapIncomingServer::GetUseIdle(bool *aUseIdle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetUseIdle(bool aUseIdle)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean checkAllFoldersForNew; */
NS_IMETHODIMP nsImapIncomingServer::GetCheckAllFoldersForNew(bool *aCheckAllFoldersForNew)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetCheckAllFoldersForNew(bool aCheckAllFoldersForNew)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isGMailServer; */
NS_IMETHODIMP nsImapIncomingServer::GetIsGMailServer(bool *aIsGMailServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetIsGMailServer(bool aIsGMailServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean useCondStore; */
NS_IMETHODIMP nsImapIncomingServer::GetUseCondStore(bool *aUseCondStore)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetUseCondStore(bool aUseCondStore)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean useCompressDeflate; */
NS_IMETHODIMP nsImapIncomingServer::GetUseCompressDeflate(bool *aUseCompressDeflate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetUseCompressDeflate(bool aUseCompressDeflate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString trashFolderName; */
NS_IMETHODIMP nsImapIncomingServer::GetTrashFolderName(nsAString & aTrashFolderName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetTrashFolderName(const nsAString & aTrashFolderName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean downloadBodiesOnGetNewMail; */
NS_IMETHODIMP nsImapIncomingServer::GetDownloadBodiesOnGetNewMail(bool *aDownloadBodiesOnGetNewMail)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetDownloadBodiesOnGetNewMail(bool aDownloadBodiesOnGetNewMail)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean autoSyncOfflineStores; */
NS_IMETHODIMP nsImapIncomingServer::GetAutoSyncOfflineStores(bool *aAutoSyncOfflineStores)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetAutoSyncOfflineStores(bool aAutoSyncOfflineStores)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long autoSyncMaxAgeDays; */
NS_IMETHODIMP nsImapIncomingServer::GetAutoSyncMaxAgeDays(int32_t *aAutoSyncMaxAgeDays)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetAutoSyncMaxAgeDays(int32_t aAutoSyncMaxAgeDays)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void GetImapConnectionAndLoadUrl (in nsIImapUrl aImapUrl, in nsISupports aConsumer); */
NS_IMETHODIMP nsImapIncomingServer::GetImapConnectionAndLoadUrl(nsIImapUrl *aImapUrl, nsISupports *aConsumer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void RemoveConnection (in nsIImapProtocol aImapConnection); */
NS_IMETHODIMP nsImapIncomingServer::RemoveConnection(nsIImapProtocol *aImapConnection)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void ResetNamespaceReferences (); */
NS_IMETHODIMP nsImapIncomingServer::ResetNamespaceReferences()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void pseudoInterruptMsgLoad (in nsIMsgFolder aImapFolder, in nsIMsgWindow aMsgWindow, out boolean interrupted); */
NS_IMETHODIMP nsImapIncomingServer::PseudoInterruptMsgLoad(nsIMsgFolder *aImapFolder, nsIMsgWindow *aMsgWindow, bool *interrupted)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void ResetConnection (in ACString folderName); */
NS_IMETHODIMP nsImapIncomingServer::ResetConnection(const nsACString & folderName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void CloseConnectionForFolder (in nsIMsgFolder aMsgFolder); */
NS_IMETHODIMP nsImapIncomingServer::CloseConnectionForFolder(nsIMsgFolder *aMsgFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void reDiscoverAllFolders (); */
NS_IMETHODIMP nsImapIncomingServer::ReDiscoverAllFolders()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI subscribeToFolder (in AString name, in boolean subscribe); */
NS_IMETHODIMP nsImapIncomingServer::SubscribeToFolder(const nsAString & name, bool subscribe, nsIURI * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void GetNewMessagesForNonInboxFolders (in nsIMsgFolder aRootFolder, in nsIMsgWindow aWindow, in boolean forceAllFolders, in boolean performingBiff); */
NS_IMETHODIMP nsImapIncomingServer::GetNewMessagesForNonInboxFolders(nsIMsgFolder *aRootFolder, nsIMsgWindow *aWindow, bool forceAllFolders, bool performingBiff)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* ACString PromptPassword (in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsImapIncomingServer::PromptPassword(nsIMsgWindow *aWindow, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean doingLsub; */
NS_IMETHODIMP nsImapIncomingServer::GetDoingLsub(bool *aDoingLsub)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetDoingLsub(bool aDoingLsub)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* ACString getUriWithNamespacePrefixIfNecessary (in long namespaceType, in ACString originalUri); */
NS_IMETHODIMP nsImapIncomingServer::GetUriWithNamespacePrefixIfNecessary(int32_t namespaceType, const nsACString & originalUri, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean shuttingDown; */
NS_IMETHODIMP nsImapIncomingServer::GetShuttingDown(bool *aShuttingDown)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapIncomingServer::SetShuttingDown(bool aShuttingDown)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIImapIncomingServer_h__ */