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

nsIImapUrl

nsImapContentModifiedTypes

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

#ifndef __gen_nsIImapUrl_h__
#define __gen_nsIImapUrl_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 nsIImapMailFolderSink; /* forward declaration */

class nsIImapMessageSink; /* forward declaration */

class nsIImapServerSink; /* forward declaration */

class nsIImapMockChannel; /* forward declaration */

class nsIFile; /* forward declaration */

typedef int32_t  nsImapAction;

typedef int32_t  nsImapState;

typedef uint16_t  imapMessageFlagsType;

typedef int32_t  nsImapContentModifiedType;


/* starting interface:    nsImapContentModifiedTypes */
#define NS_IMAPCONTENTMODIFIEDTYPES_IID_STR "2e91901e-ff6c-11d3-b9fa-00108335942a"

#define NS_IMAPCONTENTMODIFIEDTYPES_IID \
  {0x2e91901e, 0xff6c, 0x11d3, \
    { 0xb9, 0xfa, 0x00, 0x10, 0x83, 0x35, 0x94, 0x2a }}

class NS_NO_VTABLE nsImapContentModifiedTypes {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMAPCONTENTMODIFIEDTYPES_IID)

  enum {
    IMAP_CONTENT_NOT_MODIFIED = 0,
    IMAP_CONTENT_MODIFIED_VIEW_INLINE = 1,
    IMAP_CONTENT_MODIFIED_VIEW_AS_LINKS = 2,
    IMAP_CONTENT_FORCE_CONTENT_NOT_MODIFIED = 3
  };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsImapContentModifiedTypes, NS_IMAPCONTENTMODIFIEDTYPES_IID)

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

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

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMAPCONTENTMODIFIEDTYPES(_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_NSIMAPCONTENTMODIFIEDTYPES(_to) \

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

/* Header file */
class nsmapContentModifiedTypes : public nsImapContentModifiedTypes
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMAPCONTENTMODIFIEDTYPES

  nsmapContentModifiedTypes();

private:
  ~nsmapContentModifiedTypes();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsmapContentModifiedTypes, nsImapContentModifiedTypes)

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

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

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


/* starting interface:    nsIImapUrl */
#define NS_IIMAPURL_IID_STR "fe2a8f9e-2886-4146-9896-27fff660c69f"

#define NS_IIMAPURL_IID \
  {0xfe2a8f9e, 0x2886, 0x4146, \
    { 0x98, 0x96, 0x27, 0xff, 0xf6, 0x60, 0xc6, 0x9f }}

class NS_NO_VTABLE nsIImapUrl : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMAPURL_IID)

  /* attribute nsIImapMailFolderSink imapMailFolderSink; */
  NS_IMETHOD GetImapMailFolderSink(nsIImapMailFolderSink * *aImapMailFolderSink) = 0;
  NS_IMETHOD SetImapMailFolderSink(nsIImapMailFolderSink *aImapMailFolderSink) = 0;

  /* attribute nsIImapMessageSink imapMessageSink; */
  NS_IMETHOD GetImapMessageSink(nsIImapMessageSink * *aImapMessageSink) = 0;
  NS_IMETHOD SetImapMessageSink(nsIImapMessageSink *aImapMessageSink) = 0;

  /* attribute nsIImapServerSink imapServerSink; */
  NS_IMETHOD GetImapServerSink(nsIImapServerSink * *aImapServerSink) = 0;
  NS_IMETHOD SetImapServerSink(nsIImapServerSink *aImapServerSink) = 0;

  /* attribute nsImapAction imapAction; */
  NS_IMETHOD GetImapAction(nsImapAction *aImapAction) = 0;
  NS_IMETHOD SetImapAction(nsImapAction aImapAction) = 0;

  /* readonly attribute nsImapState requiredImapState; */
  NS_IMETHOD GetRequiredImapState(nsImapState *aRequiredImapState) = 0;

  /* readonly attribute string imapPartToFetch; */
  NS_IMETHOD GetImapPartToFetch(char * *aImapPartToFetch) = 0;

  /* readonly attribute ACString customAttributeToFetch; */
  NS_IMETHOD GetCustomAttributeToFetch(nsACString & aCustomAttributeToFetch) = 0;

  /* attribute ACString customAttributeResult; */
  NS_IMETHOD GetCustomAttributeResult(nsACString & aCustomAttributeResult) = 0;
  NS_IMETHOD SetCustomAttributeResult(const nsACString & aCustomAttributeResult) = 0;

  /* readonly attribute ACString command; */
  NS_IMETHOD GetCommand(nsACString & aCommand) = 0;

  /* attribute ACString customCommandResult; */
  NS_IMETHOD GetCustomCommandResult(nsACString & aCustomCommandResult) = 0;
  NS_IMETHOD SetCustomCommandResult(const nsACString & aCustomCommandResult) = 0;

  /* readonly attribute ACString customAddFlags; */
  NS_IMETHOD GetCustomAddFlags(nsACString & aCustomAddFlags) = 0;

  /* readonly attribute ACString customSubtractFlags; */
  NS_IMETHOD GetCustomSubtractFlags(nsACString & aCustomSubtractFlags) = 0;

  /* void allocateCanonicalPath (in string aServerPath, in char aOnlineDelimiter, out string aAllocatedPath); */
  NS_IMETHOD AllocateCanonicalPath(const char * aServerPath, char aOnlineDelimiter, char * *aAllocatedPath) = 0;

  /* void allocateServerPath (in string aCanonicalPath, in char aOnlineDelimiter, out string aAllocatedPath); */
  NS_IMETHOD AllocateServerPath(const char * aCanonicalPath, char aOnlineDelimiter, char * *aAllocatedPath) = 0;

  /* string createServerSourceFolderPathString (); */
  NS_IMETHOD CreateServerSourceFolderPathString(char * *_retval) = 0;

  /* string createCanonicalSourceFolderPathString (); */
  NS_IMETHOD CreateCanonicalSourceFolderPathString(char * *_retval) = 0;

  /* string createServerDestinationFolderPathString (); */
  NS_IMETHOD CreateServerDestinationFolderPathString(char * *_retval) = 0;

  /* string addOnlineDirectoryIfNecessary (in string onlineMailboxName); */
  NS_IMETHOD AddOnlineDirectoryIfNecessary(const char * onlineMailboxName, char * *_retval) = 0;

  /* void createSearchCriteriaString (out string aResult); */
  NS_IMETHOD CreateSearchCriteriaString(char * *aResult) = 0;

  /* readonly attribute ACString listOfMessageIds; */
  NS_IMETHOD GetListOfMessageIds(nsACString & aListOfMessageIds) = 0;

  /* boolean messageIdsAreUids (); */
  NS_IMETHOD MessageIdsAreUids(bool *_retval) = 0;

  /* readonly attribute imapMessageFlagsType msgFlags; */
  NS_IMETHOD GetMsgFlags(imapMessageFlagsType *aMsgFlags) = 0;

  /* readonly attribute long numBytesToFetch; */
  NS_IMETHOD GetNumBytesToFetch(int32_t *aNumBytesToFetch) = 0;

  /* attribute char onlineSubDirSeparator; */
  NS_IMETHOD GetOnlineSubDirSeparator(char *aOnlineSubDirSeparator) = 0;
  NS_IMETHOD SetOnlineSubDirSeparator(char aOnlineSubDirSeparator) = 0;

  /* attribute boolean allowContentChange; */
  NS_IMETHOD GetAllowContentChange(bool *aAllowContentChange) = 0;
  NS_IMETHOD SetAllowContentChange(bool aAllowContentChange) = 0;

  /* attribute boolean mimePartSelectorDetected; */
  NS_IMETHOD GetMimePartSelectorDetected(bool *aMimePartSelectorDetected) = 0;
  NS_IMETHOD SetMimePartSelectorDetected(bool aMimePartSelectorDetected) = 0;

  /* attribute nsImapContentModifiedType contentModified; */
  NS_IMETHOD GetContentModified(nsImapContentModifiedType *aContentModified) = 0;
  NS_IMETHOD SetContentModified(nsImapContentModifiedType aContentModified) = 0;

  /* attribute boolean fetchPartsOnDemand; */
  NS_IMETHOD GetFetchPartsOnDemand(bool *aFetchPartsOnDemand) = 0;
  NS_IMETHOD SetFetchPartsOnDemand(bool aFetchPartsOnDemand) = 0;

  /* attribute boolean msgLoadingFromCache; */
  NS_IMETHOD GetMsgLoadingFromCache(bool *aMsgLoadingFromCache) = 0;
  NS_IMETHOD SetMsgLoadingFromCache(bool aMsgLoadingFromCache) = 0;

  /* attribute boolean externalLinkUrl; */
  NS_IMETHOD GetExternalLinkUrl(bool *aExternalLinkUrl) = 0;
  NS_IMETHOD SetExternalLinkUrl(bool aExternalLinkUrl) = 0;

  /* attribute boolean validUrl; */
  NS_IMETHOD GetValidUrl(bool *aValidUrl) = 0;
  NS_IMETHOD SetValidUrl(bool aValidUrl) = 0;

  /* attribute nsISupports copyState; */
  NS_IMETHOD GetCopyState(nsISupports * *aCopyState) = 0;
  NS_IMETHOD SetCopyState(nsISupports *aCopyState) = 0;

  /* attribute nsIFile msgFile; */
  NS_IMETHOD GetMsgFile(nsIFile * *aMsgFile) = 0;
  NS_IMETHOD SetMsgFile(nsIFile *aMsgFile) = 0;

  /* attribute nsIImapMockChannel mockChannel; */
  NS_IMETHOD GetMockChannel(nsIImapMockChannel * *aMockChannel) = 0;
  NS_IMETHOD SetMockChannel(nsIImapMockChannel *aMockChannel) = 0;

  /* attribute boolean storeResultsOffline; */
  NS_IMETHOD GetStoreResultsOffline(bool *aStoreResultsOffline) = 0;
  NS_IMETHOD SetStoreResultsOffline(bool aStoreResultsOffline) = 0;

  /* attribute boolean storeOfflineOnFallback; */
  NS_IMETHOD GetStoreOfflineOnFallback(bool *aStoreOfflineOnFallback) = 0;
  NS_IMETHOD SetStoreOfflineOnFallback(bool aStoreOfflineOnFallback) = 0;

  /* attribute boolean localFetchOnly; */
  NS_IMETHOD GetLocalFetchOnly(bool *aLocalFetchOnly) = 0;
  NS_IMETHOD SetLocalFetchOnly(bool aLocalFetchOnly) = 0;

  /* attribute boolean rerunningUrl; */
  NS_IMETHOD GetRerunningUrl(bool *aRerunningUrl) = 0;
  NS_IMETHOD SetRerunningUrl(bool aRerunningUrl) = 0;

  /* attribute boolean moreHeadersToDownload; */
  NS_IMETHOD GetMoreHeadersToDownload(bool *aMoreHeadersToDownload) = 0;
  NS_IMETHOD SetMoreHeadersToDownload(bool aMoreHeadersToDownload) = 0;

  /* attribute long extraStatus; */
  NS_IMETHOD GetExtraStatus(int32_t *aExtraStatus) = 0;
  NS_IMETHOD SetExtraStatus(int32_t aExtraStatus) = 0;

  enum {
    ImapStatusNone = 0,
    ImapStatusFlagChangeFailed = 1,
    ImapStatusFlagsNotSettable = 2,
    nsImapAuthenticatedState = 0,
    nsImapSelectedState = 1,
    nsImapActionSendText = 0,
    nsImapTest = 1,
    nsImapCreateFolder = 5,
    nsImapDeleteFolder = 6,
    nsImapRenameFolder = 7,
    nsImapMoveFolderHierarchy = 8,
    nsImapLsubFolders = 9,
    nsImapGetMailAccountUrl = 10,
    nsImapDiscoverChildrenUrl = 11,
    nsImapDiscoverAllBoxesUrl = 13,
    nsImapDiscoverAllAndSubscribedBoxesUrl = 14,
    nsImapAppendMsgFromFile = 15,
    nsImapSubscribe = 16,
    nsImapUnsubscribe = 17,
    nsImapRefreshACL = 18,
    nsImapRefreshAllACLs = 19,
    nsImapListFolder = 20,
    nsImapUpgradeToSubscription = 21,
    nsImapFolderStatus = 22,
    nsImapRefreshFolderUrls = 23,
    nsImapEnsureExistsFolder = 24,
    nsImapOfflineToOnlineCopy = 25,
    nsImapOfflineToOnlineMove = 26,
    nsImapVerifylogon = 27,
    nsImapSelectFolder = 268435458,
    nsImapLiteSelectFolder = 268435459,
    nsImapExpungeFolder = 268435460,
    nsImapMsgFetch = 268435480,
    nsImapMsgHeader = 268435481,
    nsImapSearch = 268435482,
    nsImapDeleteMsg = 268435483,
    nsImapDeleteAllMsgs = 268435484,
    nsImapAddMsgFlags = 268435485,
    nsImapSubtractMsgFlags = 268435486,
    nsImapSetMsgFlags = 268435487,
    nsImapOnlineCopy = 268435488,
    nsImapOnlineMove = 268435489,
    nsImapOnlineToOfflineCopy = 268435490,
    nsImapOnlineToOfflineMove = 268435491,
    nsImapMsgPreview = 268435492,
    nsImapBiff = 268435494,
    nsImapSelectNoopFolder = 268435495,
    nsImapAppendDraftFromFile = 268435496,
    nsImapUidExpunge = 268435497,
    nsImapSaveMessageToDisk = 268435504,
    nsImapOpenMimePart = 268435505,
    nsImapMsgDownloadForOffline = 268435506,
    nsImapDeleteFolderAndMsgs = 268435507,
    nsImapUserDefinedMsgCommand = 268435508,
    nsImapUserDefinedFetchAttribute = 268435509,
    nsImapMsgFetchPeek = 268435510,
    nsImapMsgStoreCustomKeywords = 268435511,
    DEFAULT_IMAP_PORT = 143,
    DEFAULT_IMAPS_PORT = 993
  };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIImapUrl, NS_IIMAPURL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIMAPURL \
  NS_IMETHOD GetImapMailFolderSink(nsIImapMailFolderSink * *aImapMailFolderSink) override; \
  NS_IMETHOD SetImapMailFolderSink(nsIImapMailFolderSink *aImapMailFolderSink) override; \
  NS_IMETHOD GetImapMessageSink(nsIImapMessageSink * *aImapMessageSink) override; \
  NS_IMETHOD SetImapMessageSink(nsIImapMessageSink *aImapMessageSink) override; \
  NS_IMETHOD GetImapServerSink(nsIImapServerSink * *aImapServerSink) override; \
  NS_IMETHOD SetImapServerSink(nsIImapServerSink *aImapServerSink) override; \
  NS_IMETHOD GetImapAction(nsImapAction *aImapAction) override; \
  NS_IMETHOD SetImapAction(nsImapAction aImapAction) override; \
  NS_IMETHOD GetRequiredImapState(nsImapState *aRequiredImapState) override; \
  NS_IMETHOD GetImapPartToFetch(char * *aImapPartToFetch) override; \
  NS_IMETHOD GetCustomAttributeToFetch(nsACString & aCustomAttributeToFetch) override; \
  NS_IMETHOD GetCustomAttributeResult(nsACString & aCustomAttributeResult) override; \
  NS_IMETHOD SetCustomAttributeResult(const nsACString & aCustomAttributeResult) override; \
  NS_IMETHOD GetCommand(nsACString & aCommand) override; \
  NS_IMETHOD GetCustomCommandResult(nsACString & aCustomCommandResult) override; \
  NS_IMETHOD SetCustomCommandResult(const nsACString & aCustomCommandResult) override; \
  NS_IMETHOD GetCustomAddFlags(nsACString & aCustomAddFlags) override; \
  NS_IMETHOD GetCustomSubtractFlags(nsACString & aCustomSubtractFlags) override; \
  NS_IMETHOD AllocateCanonicalPath(const char * aServerPath, char aOnlineDelimiter, char * *aAllocatedPath) override; \
  NS_IMETHOD AllocateServerPath(const char * aCanonicalPath, char aOnlineDelimiter, char * *aAllocatedPath) override; \
  NS_IMETHOD CreateServerSourceFolderPathString(char * *_retval) override; \
  NS_IMETHOD CreateCanonicalSourceFolderPathString(char * *_retval) override; \
  NS_IMETHOD CreateServerDestinationFolderPathString(char * *_retval) override; \
  NS_IMETHOD AddOnlineDirectoryIfNecessary(const char * onlineMailboxName, char * *_retval) override; \
  NS_IMETHOD CreateSearchCriteriaString(char * *aResult) override; \
  NS_IMETHOD GetListOfMessageIds(nsACString & aListOfMessageIds) override; \
  NS_IMETHOD MessageIdsAreUids(bool *_retval) override; \
  NS_IMETHOD GetMsgFlags(imapMessageFlagsType *aMsgFlags) override; \
  NS_IMETHOD GetNumBytesToFetch(int32_t *aNumBytesToFetch) override; \
  NS_IMETHOD GetOnlineSubDirSeparator(char *aOnlineSubDirSeparator) override; \
  NS_IMETHOD SetOnlineSubDirSeparator(char aOnlineSubDirSeparator) override; \
  NS_IMETHOD GetAllowContentChange(bool *aAllowContentChange) override; \
  NS_IMETHOD SetAllowContentChange(bool aAllowContentChange) override; \
  NS_IMETHOD GetMimePartSelectorDetected(bool *aMimePartSelectorDetected) override; \
  NS_IMETHOD SetMimePartSelectorDetected(bool aMimePartSelectorDetected) override; \
  NS_IMETHOD GetContentModified(nsImapContentModifiedType *aContentModified) override; \
  NS_IMETHOD SetContentModified(nsImapContentModifiedType aContentModified) override; \
  NS_IMETHOD GetFetchPartsOnDemand(bool *aFetchPartsOnDemand) override; \
  NS_IMETHOD SetFetchPartsOnDemand(bool aFetchPartsOnDemand) override; \
  NS_IMETHOD GetMsgLoadingFromCache(bool *aMsgLoadingFromCache) override; \
  NS_IMETHOD SetMsgLoadingFromCache(bool aMsgLoadingFromCache) override; \
  NS_IMETHOD GetExternalLinkUrl(bool *aExternalLinkUrl) override; \
  NS_IMETHOD SetExternalLinkUrl(bool aExternalLinkUrl) override; \
  NS_IMETHOD GetValidUrl(bool *aValidUrl) override; \
  NS_IMETHOD SetValidUrl(bool aValidUrl) override; \
  NS_IMETHOD GetCopyState(nsISupports * *aCopyState) override; \
  NS_IMETHOD SetCopyState(nsISupports *aCopyState) override; \
  NS_IMETHOD GetMsgFile(nsIFile * *aMsgFile) override; \
  NS_IMETHOD SetMsgFile(nsIFile *aMsgFile) override; \
  NS_IMETHOD GetMockChannel(nsIImapMockChannel * *aMockChannel) override; \
  NS_IMETHOD SetMockChannel(nsIImapMockChannel *aMockChannel) override; \
  NS_IMETHOD GetStoreResultsOffline(bool *aStoreResultsOffline) override; \
  NS_IMETHOD SetStoreResultsOffline(bool aStoreResultsOffline) override; \
  NS_IMETHOD GetStoreOfflineOnFallback(bool *aStoreOfflineOnFallback) override; \
  NS_IMETHOD SetStoreOfflineOnFallback(bool aStoreOfflineOnFallback) override; \
  NS_IMETHOD GetLocalFetchOnly(bool *aLocalFetchOnly) override; \
  NS_IMETHOD SetLocalFetchOnly(bool aLocalFetchOnly) override; \
  NS_IMETHOD GetRerunningUrl(bool *aRerunningUrl) override; \
  NS_IMETHOD SetRerunningUrl(bool aRerunningUrl) override; \
  NS_IMETHOD GetMoreHeadersToDownload(bool *aMoreHeadersToDownload) override; \
  NS_IMETHOD SetMoreHeadersToDownload(bool aMoreHeadersToDownload) override; \
  NS_IMETHOD GetExtraStatus(int32_t *aExtraStatus) override; \
  NS_IMETHOD SetExtraStatus(int32_t aExtraStatus) 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_NSIIMAPURL \
  nsresult GetImapMailFolderSink(nsIImapMailFolderSink * *aImapMailFolderSink); \
  nsresult SetImapMailFolderSink(nsIImapMailFolderSink *aImapMailFolderSink); \
  nsresult GetImapMessageSink(nsIImapMessageSink * *aImapMessageSink); \
  nsresult SetImapMessageSink(nsIImapMessageSink *aImapMessageSink); \
  nsresult GetImapServerSink(nsIImapServerSink * *aImapServerSink); \
  nsresult SetImapServerSink(nsIImapServerSink *aImapServerSink); \
  nsresult GetImapAction(nsImapAction *aImapAction); \
  nsresult SetImapAction(nsImapAction aImapAction); \
  nsresult GetRequiredImapState(nsImapState *aRequiredImapState); \
  nsresult GetImapPartToFetch(char * *aImapPartToFetch); \
  nsresult GetCustomAttributeToFetch(nsACString & aCustomAttributeToFetch); \
  nsresult GetCustomAttributeResult(nsACString & aCustomAttributeResult); \
  nsresult SetCustomAttributeResult(const nsACString & aCustomAttributeResult); \
  nsresult GetCommand(nsACString & aCommand); \
  nsresult GetCustomCommandResult(nsACString & aCustomCommandResult); \
  nsresult SetCustomCommandResult(const nsACString & aCustomCommandResult); \
  nsresult GetCustomAddFlags(nsACString & aCustomAddFlags); \
  nsresult GetCustomSubtractFlags(nsACString & aCustomSubtractFlags); \
  nsresult AllocateCanonicalPath(const char * aServerPath, char aOnlineDelimiter, char * *aAllocatedPath); \
  nsresult AllocateServerPath(const char * aCanonicalPath, char aOnlineDelimiter, char * *aAllocatedPath); \
  nsresult CreateServerSourceFolderPathString(char * *_retval); \
  nsresult CreateCanonicalSourceFolderPathString(char * *_retval); \
  nsresult CreateServerDestinationFolderPathString(char * *_retval); \
  nsresult AddOnlineDirectoryIfNecessary(const char * onlineMailboxName, char * *_retval); \
  nsresult CreateSearchCriteriaString(char * *aResult); \
  nsresult GetListOfMessageIds(nsACString & aListOfMessageIds); \
  nsresult MessageIdsAreUids(bool *_retval); \
  nsresult GetMsgFlags(imapMessageFlagsType *aMsgFlags); \
  nsresult GetNumBytesToFetch(int32_t *aNumBytesToFetch); \
  nsresult GetOnlineSubDirSeparator(char *aOnlineSubDirSeparator); \
  nsresult SetOnlineSubDirSeparator(char aOnlineSubDirSeparator); \
  nsresult GetAllowContentChange(bool *aAllowContentChange); \
  nsresult SetAllowContentChange(bool aAllowContentChange); \
  nsresult GetMimePartSelectorDetected(bool *aMimePartSelectorDetected); \
  nsresult SetMimePartSelectorDetected(bool aMimePartSelectorDetected); \
  nsresult GetContentModified(nsImapContentModifiedType *aContentModified); \
  nsresult SetContentModified(nsImapContentModifiedType aContentModified); \
  nsresult GetFetchPartsOnDemand(bool *aFetchPartsOnDemand); \
  nsresult SetFetchPartsOnDemand(bool aFetchPartsOnDemand); \
  nsresult GetMsgLoadingFromCache(bool *aMsgLoadingFromCache); \
  nsresult SetMsgLoadingFromCache(bool aMsgLoadingFromCache); \
  nsresult GetExternalLinkUrl(bool *aExternalLinkUrl); \
  nsresult SetExternalLinkUrl(bool aExternalLinkUrl); \
  nsresult GetValidUrl(bool *aValidUrl); \
  nsresult SetValidUrl(bool aValidUrl); \
  nsresult GetCopyState(nsISupports * *aCopyState); \
  nsresult SetCopyState(nsISupports *aCopyState); \
  nsresult GetMsgFile(nsIFile * *aMsgFile); \
  nsresult SetMsgFile(nsIFile *aMsgFile); \
  nsresult GetMockChannel(nsIImapMockChannel * *aMockChannel); \
  nsresult SetMockChannel(nsIImapMockChannel *aMockChannel); \
  nsresult GetStoreResultsOffline(bool *aStoreResultsOffline); \
  nsresult SetStoreResultsOffline(bool aStoreResultsOffline); \
  nsresult GetStoreOfflineOnFallback(bool *aStoreOfflineOnFallback); \
  nsresult SetStoreOfflineOnFallback(bool aStoreOfflineOnFallback); \
  nsresult GetLocalFetchOnly(bool *aLocalFetchOnly); \
  nsresult SetLocalFetchOnly(bool aLocalFetchOnly); \
  nsresult GetRerunningUrl(bool *aRerunningUrl); \
  nsresult SetRerunningUrl(bool aRerunningUrl); \
  nsresult GetMoreHeadersToDownload(bool *aMoreHeadersToDownload); \
  nsresult SetMoreHeadersToDownload(bool aMoreHeadersToDownload); \
  nsresult GetExtraStatus(int32_t *aExtraStatus); \
  nsresult SetExtraStatus(int32_t aExtraStatus); \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIMAPURL(_to) \
  NS_IMETHOD GetImapMailFolderSink(nsIImapMailFolderSink * *aImapMailFolderSink) override { return _to GetImapMailFolderSink(aImapMailFolderSink); } \
  NS_IMETHOD SetImapMailFolderSink(nsIImapMailFolderSink *aImapMailFolderSink) override { return _to SetImapMailFolderSink(aImapMailFolderSink); } \
  NS_IMETHOD GetImapMessageSink(nsIImapMessageSink * *aImapMessageSink) override { return _to GetImapMessageSink(aImapMessageSink); } \
  NS_IMETHOD SetImapMessageSink(nsIImapMessageSink *aImapMessageSink) override { return _to SetImapMessageSink(aImapMessageSink); } \
  NS_IMETHOD GetImapServerSink(nsIImapServerSink * *aImapServerSink) override { return _to GetImapServerSink(aImapServerSink); } \
  NS_IMETHOD SetImapServerSink(nsIImapServerSink *aImapServerSink) override { return _to SetImapServerSink(aImapServerSink); } \
  NS_IMETHOD GetImapAction(nsImapAction *aImapAction) override { return _to GetImapAction(aImapAction); } \
  NS_IMETHOD SetImapAction(nsImapAction aImapAction) override { return _to SetImapAction(aImapAction); } \
  NS_IMETHOD GetRequiredImapState(nsImapState *aRequiredImapState) override { return _to GetRequiredImapState(aRequiredImapState); } \
  NS_IMETHOD GetImapPartToFetch(char * *aImapPartToFetch) override { return _to GetImapPartToFetch(aImapPartToFetch); } \
  NS_IMETHOD GetCustomAttributeToFetch(nsACString & aCustomAttributeToFetch) override { return _to GetCustomAttributeToFetch(aCustomAttributeToFetch); } \
  NS_IMETHOD GetCustomAttributeResult(nsACString & aCustomAttributeResult) override { return _to GetCustomAttributeResult(aCustomAttributeResult); } \
  NS_IMETHOD SetCustomAttributeResult(const nsACString & aCustomAttributeResult) override { return _to SetCustomAttributeResult(aCustomAttributeResult); } \
  NS_IMETHOD GetCommand(nsACString & aCommand) override { return _to GetCommand(aCommand); } \
  NS_IMETHOD GetCustomCommandResult(nsACString & aCustomCommandResult) override { return _to GetCustomCommandResult(aCustomCommandResult); } \
  NS_IMETHOD SetCustomCommandResult(const nsACString & aCustomCommandResult) override { return _to SetCustomCommandResult(aCustomCommandResult); } \
  NS_IMETHOD GetCustomAddFlags(nsACString & aCustomAddFlags) override { return _to GetCustomAddFlags(aCustomAddFlags); } \
  NS_IMETHOD GetCustomSubtractFlags(nsACString & aCustomSubtractFlags) override { return _to GetCustomSubtractFlags(aCustomSubtractFlags); } \
  NS_IMETHOD AllocateCanonicalPath(const char * aServerPath, char aOnlineDelimiter, char * *aAllocatedPath) override { return _to AllocateCanonicalPath(aServerPath, aOnlineDelimiter, aAllocatedPath); } \
  NS_IMETHOD AllocateServerPath(const char * aCanonicalPath, char aOnlineDelimiter, char * *aAllocatedPath) override { return _to AllocateServerPath(aCanonicalPath, aOnlineDelimiter, aAllocatedPath); } \
  NS_IMETHOD CreateServerSourceFolderPathString(char * *_retval) override { return _to CreateServerSourceFolderPathString(_retval); } \
  NS_IMETHOD CreateCanonicalSourceFolderPathString(char * *_retval) override { return _to CreateCanonicalSourceFolderPathString(_retval); } \
  NS_IMETHOD CreateServerDestinationFolderPathString(char * *_retval) override { return _to CreateServerDestinationFolderPathString(_retval); } \
  NS_IMETHOD AddOnlineDirectoryIfNecessary(const char * onlineMailboxName, char * *_retval) override { return _to AddOnlineDirectoryIfNecessary(onlineMailboxName, _retval); } \
  NS_IMETHOD CreateSearchCriteriaString(char * *aResult) override { return _to CreateSearchCriteriaString(aResult); } \
  NS_IMETHOD GetListOfMessageIds(nsACString & aListOfMessageIds) override { return _to GetListOfMessageIds(aListOfMessageIds); } \
  NS_IMETHOD MessageIdsAreUids(bool *_retval) override { return _to MessageIdsAreUids(_retval); } \
  NS_IMETHOD GetMsgFlags(imapMessageFlagsType *aMsgFlags) override { return _to GetMsgFlags(aMsgFlags); } \
  NS_IMETHOD GetNumBytesToFetch(int32_t *aNumBytesToFetch) override { return _to GetNumBytesToFetch(aNumBytesToFetch); } \
  NS_IMETHOD GetOnlineSubDirSeparator(char *aOnlineSubDirSeparator) override { return _to GetOnlineSubDirSeparator(aOnlineSubDirSeparator); } \
  NS_IMETHOD SetOnlineSubDirSeparator(char aOnlineSubDirSeparator) override { return _to SetOnlineSubDirSeparator(aOnlineSubDirSeparator); } \
  NS_IMETHOD GetAllowContentChange(bool *aAllowContentChange) override { return _to GetAllowContentChange(aAllowContentChange); } \
  NS_IMETHOD SetAllowContentChange(bool aAllowContentChange) override { return _to SetAllowContentChange(aAllowContentChange); } \
  NS_IMETHOD GetMimePartSelectorDetected(bool *aMimePartSelectorDetected) override { return _to GetMimePartSelectorDetected(aMimePartSelectorDetected); } \
  NS_IMETHOD SetMimePartSelectorDetected(bool aMimePartSelectorDetected) override { return _to SetMimePartSelectorDetected(aMimePartSelectorDetected); } \
  NS_IMETHOD GetContentModified(nsImapContentModifiedType *aContentModified) override { return _to GetContentModified(aContentModified); } \
  NS_IMETHOD SetContentModified(nsImapContentModifiedType aContentModified) override { return _to SetContentModified(aContentModified); } \
  NS_IMETHOD GetFetchPartsOnDemand(bool *aFetchPartsOnDemand) override { return _to GetFetchPartsOnDemand(aFetchPartsOnDemand); } \
  NS_IMETHOD SetFetchPartsOnDemand(bool aFetchPartsOnDemand) override { return _to SetFetchPartsOnDemand(aFetchPartsOnDemand); } \
  NS_IMETHOD GetMsgLoadingFromCache(bool *aMsgLoadingFromCache) override { return _to GetMsgLoadingFromCache(aMsgLoadingFromCache); } \
  NS_IMETHOD SetMsgLoadingFromCache(bool aMsgLoadingFromCache) override { return _to SetMsgLoadingFromCache(aMsgLoadingFromCache); } \
  NS_IMETHOD GetExternalLinkUrl(bool *aExternalLinkUrl) override { return _to GetExternalLinkUrl(aExternalLinkUrl); } \
  NS_IMETHOD SetExternalLinkUrl(bool aExternalLinkUrl) override { return _to SetExternalLinkUrl(aExternalLinkUrl); } \
  NS_IMETHOD GetValidUrl(bool *aValidUrl) override { return _to GetValidUrl(aValidUrl); } \
  NS_IMETHOD SetValidUrl(bool aValidUrl) override { return _to SetValidUrl(aValidUrl); } \
  NS_IMETHOD GetCopyState(nsISupports * *aCopyState) override { return _to GetCopyState(aCopyState); } \
  NS_IMETHOD SetCopyState(nsISupports *aCopyState) override { return _to SetCopyState(aCopyState); } \
  NS_IMETHOD GetMsgFile(nsIFile * *aMsgFile) override { return _to GetMsgFile(aMsgFile); } \
  NS_IMETHOD SetMsgFile(nsIFile *aMsgFile) override { return _to SetMsgFile(aMsgFile); } \
  NS_IMETHOD GetMockChannel(nsIImapMockChannel * *aMockChannel) override { return _to GetMockChannel(aMockChannel); } \
  NS_IMETHOD SetMockChannel(nsIImapMockChannel *aMockChannel) override { return _to SetMockChannel(aMockChannel); } \
  NS_IMETHOD GetStoreResultsOffline(bool *aStoreResultsOffline) override { return _to GetStoreResultsOffline(aStoreResultsOffline); } \
  NS_IMETHOD SetStoreResultsOffline(bool aStoreResultsOffline) override { return _to SetStoreResultsOffline(aStoreResultsOffline); } \
  NS_IMETHOD GetStoreOfflineOnFallback(bool *aStoreOfflineOnFallback) override { return _to GetStoreOfflineOnFallback(aStoreOfflineOnFallback); } \
  NS_IMETHOD SetStoreOfflineOnFallback(bool aStoreOfflineOnFallback) override { return _to SetStoreOfflineOnFallback(aStoreOfflineOnFallback); } \
  NS_IMETHOD GetLocalFetchOnly(bool *aLocalFetchOnly) override { return _to GetLocalFetchOnly(aLocalFetchOnly); } \
  NS_IMETHOD SetLocalFetchOnly(bool aLocalFetchOnly) override { return _to SetLocalFetchOnly(aLocalFetchOnly); } \
  NS_IMETHOD GetRerunningUrl(bool *aRerunningUrl) override { return _to GetRerunningUrl(aRerunningUrl); } \
  NS_IMETHOD SetRerunningUrl(bool aRerunningUrl) override { return _to SetRerunningUrl(aRerunningUrl); } \
  NS_IMETHOD GetMoreHeadersToDownload(bool *aMoreHeadersToDownload) override { return _to GetMoreHeadersToDownload(aMoreHeadersToDownload); } \
  NS_IMETHOD SetMoreHeadersToDownload(bool aMoreHeadersToDownload) override { return _to SetMoreHeadersToDownload(aMoreHeadersToDownload); } \
  NS_IMETHOD GetExtraStatus(int32_t *aExtraStatus) override { return _to GetExtraStatus(aExtraStatus); } \
  NS_IMETHOD SetExtraStatus(int32_t aExtraStatus) override { return _to SetExtraStatus(aExtraStatus); } \

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIIMAPURL(_to) \
  NS_IMETHOD GetImapMailFolderSink(nsIImapMailFolderSink * *aImapMailFolderSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapMailFolderSink(aImapMailFolderSink); } \
  NS_IMETHOD SetImapMailFolderSink(nsIImapMailFolderSink *aImapMailFolderSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapMailFolderSink(aImapMailFolderSink); } \
  NS_IMETHOD GetImapMessageSink(nsIImapMessageSink * *aImapMessageSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapMessageSink(aImapMessageSink); } \
  NS_IMETHOD SetImapMessageSink(nsIImapMessageSink *aImapMessageSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapMessageSink(aImapMessageSink); } \
  NS_IMETHOD GetImapServerSink(nsIImapServerSink * *aImapServerSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapServerSink(aImapServerSink); } \
  NS_IMETHOD SetImapServerSink(nsIImapServerSink *aImapServerSink) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapServerSink(aImapServerSink); } \
  NS_IMETHOD GetImapAction(nsImapAction *aImapAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapAction(aImapAction); } \
  NS_IMETHOD SetImapAction(nsImapAction aImapAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapAction(aImapAction); } \
  NS_IMETHOD GetRequiredImapState(nsImapState *aRequiredImapState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRequiredImapState(aRequiredImapState); } \
  NS_IMETHOD GetImapPartToFetch(char * *aImapPartToFetch) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapPartToFetch(aImapPartToFetch); } \
  NS_IMETHOD GetCustomAttributeToFetch(nsACString & aCustomAttributeToFetch) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomAttributeToFetch(aCustomAttributeToFetch); } \
  NS_IMETHOD GetCustomAttributeResult(nsACString & aCustomAttributeResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomAttributeResult(aCustomAttributeResult); } \
  NS_IMETHOD SetCustomAttributeResult(const nsACString & aCustomAttributeResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCustomAttributeResult(aCustomAttributeResult); } \
  NS_IMETHOD GetCommand(nsACString & aCommand) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCommand(aCommand); } \
  NS_IMETHOD GetCustomCommandResult(nsACString & aCustomCommandResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomCommandResult(aCustomCommandResult); } \
  NS_IMETHOD SetCustomCommandResult(const nsACString & aCustomCommandResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCustomCommandResult(aCustomCommandResult); } \
  NS_IMETHOD GetCustomAddFlags(nsACString & aCustomAddFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomAddFlags(aCustomAddFlags); } \
  NS_IMETHOD GetCustomSubtractFlags(nsACString & aCustomSubtractFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomSubtractFlags(aCustomSubtractFlags); } \
  NS_IMETHOD AllocateCanonicalPath(const char * aServerPath, char aOnlineDelimiter, char * *aAllocatedPath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AllocateCanonicalPath(aServerPath, aOnlineDelimiter, aAllocatedPath); } \
  NS_IMETHOD AllocateServerPath(const char * aCanonicalPath, char aOnlineDelimiter, char * *aAllocatedPath) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AllocateServerPath(aCanonicalPath, aOnlineDelimiter, aAllocatedPath); } \
  NS_IMETHOD CreateServerSourceFolderPathString(char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateServerSourceFolderPathString(_retval); } \
  NS_IMETHOD CreateCanonicalSourceFolderPathString(char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateCanonicalSourceFolderPathString(_retval); } \
  NS_IMETHOD CreateServerDestinationFolderPathString(char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateServerDestinationFolderPathString(_retval); } \
  NS_IMETHOD AddOnlineDirectoryIfNecessary(const char * onlineMailboxName, char * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddOnlineDirectoryIfNecessary(onlineMailboxName, _retval); } \
  NS_IMETHOD CreateSearchCriteriaString(char * *aResult) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSearchCriteriaString(aResult); } \
  NS_IMETHOD GetListOfMessageIds(nsACString & aListOfMessageIds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetListOfMessageIds(aListOfMessageIds); } \
  NS_IMETHOD MessageIdsAreUids(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MessageIdsAreUids(_retval); } \
  NS_IMETHOD GetMsgFlags(imapMessageFlagsType *aMsgFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgFlags(aMsgFlags); } \
  NS_IMETHOD GetNumBytesToFetch(int32_t *aNumBytesToFetch) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumBytesToFetch(aNumBytesToFetch); } \
  NS_IMETHOD GetOnlineSubDirSeparator(char *aOnlineSubDirSeparator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnlineSubDirSeparator(aOnlineSubDirSeparator); } \
  NS_IMETHOD SetOnlineSubDirSeparator(char aOnlineSubDirSeparator) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnlineSubDirSeparator(aOnlineSubDirSeparator); } \
  NS_IMETHOD GetAllowContentChange(bool *aAllowContentChange) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllowContentChange(aAllowContentChange); } \
  NS_IMETHOD SetAllowContentChange(bool aAllowContentChange) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAllowContentChange(aAllowContentChange); } \
  NS_IMETHOD GetMimePartSelectorDetected(bool *aMimePartSelectorDetected) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMimePartSelectorDetected(aMimePartSelectorDetected); } \
  NS_IMETHOD SetMimePartSelectorDetected(bool aMimePartSelectorDetected) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMimePartSelectorDetected(aMimePartSelectorDetected); } \
  NS_IMETHOD GetContentModified(nsImapContentModifiedType *aContentModified) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentModified(aContentModified); } \
  NS_IMETHOD SetContentModified(nsImapContentModifiedType aContentModified) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentModified(aContentModified); } \
  NS_IMETHOD GetFetchPartsOnDemand(bool *aFetchPartsOnDemand) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFetchPartsOnDemand(aFetchPartsOnDemand); } \
  NS_IMETHOD SetFetchPartsOnDemand(bool aFetchPartsOnDemand) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFetchPartsOnDemand(aFetchPartsOnDemand); } \
  NS_IMETHOD GetMsgLoadingFromCache(bool *aMsgLoadingFromCache) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgLoadingFromCache(aMsgLoadingFromCache); } \
  NS_IMETHOD SetMsgLoadingFromCache(bool aMsgLoadingFromCache) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMsgLoadingFromCache(aMsgLoadingFromCache); } \
  NS_IMETHOD GetExternalLinkUrl(bool *aExternalLinkUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExternalLinkUrl(aExternalLinkUrl); } \
  NS_IMETHOD SetExternalLinkUrl(bool aExternalLinkUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExternalLinkUrl(aExternalLinkUrl); } \
  NS_IMETHOD GetValidUrl(bool *aValidUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValidUrl(aValidUrl); } \
  NS_IMETHOD SetValidUrl(bool aValidUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValidUrl(aValidUrl); } \
  NS_IMETHOD GetCopyState(nsISupports * *aCopyState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCopyState(aCopyState); } \
  NS_IMETHOD SetCopyState(nsISupports *aCopyState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCopyState(aCopyState); } \
  NS_IMETHOD GetMsgFile(nsIFile * *aMsgFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMsgFile(aMsgFile); } \
  NS_IMETHOD SetMsgFile(nsIFile *aMsgFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMsgFile(aMsgFile); } \
  NS_IMETHOD GetMockChannel(nsIImapMockChannel * *aMockChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMockChannel(aMockChannel); } \
  NS_IMETHOD SetMockChannel(nsIImapMockChannel *aMockChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMockChannel(aMockChannel); } \
  NS_IMETHOD GetStoreResultsOffline(bool *aStoreResultsOffline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStoreResultsOffline(aStoreResultsOffline); } \
  NS_IMETHOD SetStoreResultsOffline(bool aStoreResultsOffline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStoreResultsOffline(aStoreResultsOffline); } \
  NS_IMETHOD GetStoreOfflineOnFallback(bool *aStoreOfflineOnFallback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStoreOfflineOnFallback(aStoreOfflineOnFallback); } \
  NS_IMETHOD SetStoreOfflineOnFallback(bool aStoreOfflineOnFallback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStoreOfflineOnFallback(aStoreOfflineOnFallback); } \
  NS_IMETHOD GetLocalFetchOnly(bool *aLocalFetchOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalFetchOnly(aLocalFetchOnly); } \
  NS_IMETHOD SetLocalFetchOnly(bool aLocalFetchOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocalFetchOnly(aLocalFetchOnly); } \
  NS_IMETHOD GetRerunningUrl(bool *aRerunningUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRerunningUrl(aRerunningUrl); } \
  NS_IMETHOD SetRerunningUrl(bool aRerunningUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRerunningUrl(aRerunningUrl); } \
  NS_IMETHOD GetMoreHeadersToDownload(bool *aMoreHeadersToDownload) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMoreHeadersToDownload(aMoreHeadersToDownload); } \
  NS_IMETHOD SetMoreHeadersToDownload(bool aMoreHeadersToDownload) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMoreHeadersToDownload(aMoreHeadersToDownload); } \
  NS_IMETHOD GetExtraStatus(int32_t *aExtraStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExtraStatus(aExtraStatus); } \
  NS_IMETHOD SetExtraStatus(int32_t aExtraStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExtraStatus(aExtraStatus); } \

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

/* Header file */
class nsImapUrl : public nsIImapUrl
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIIMAPURL

  nsImapUrl();

private:
  ~nsImapUrl();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsImapUrl, nsIImapUrl)

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

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

/* attribute nsIImapMailFolderSink imapMailFolderSink; */
NS_IMETHODIMP nsImapUrl::GetImapMailFolderSink(nsIImapMailFolderSink * *aImapMailFolderSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetImapMailFolderSink(nsIImapMailFolderSink *aImapMailFolderSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIImapMessageSink imapMessageSink; */
NS_IMETHODIMP nsImapUrl::GetImapMessageSink(nsIImapMessageSink * *aImapMessageSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetImapMessageSink(nsIImapMessageSink *aImapMessageSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIImapServerSink imapServerSink; */
NS_IMETHODIMP nsImapUrl::GetImapServerSink(nsIImapServerSink * *aImapServerSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetImapServerSink(nsIImapServerSink *aImapServerSink)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsImapAction imapAction; */
NS_IMETHODIMP nsImapUrl::GetImapAction(nsImapAction *aImapAction)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetImapAction(nsImapAction aImapAction)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsImapState requiredImapState; */
NS_IMETHODIMP nsImapUrl::GetRequiredImapState(nsImapState *aRequiredImapState)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string imapPartToFetch; */
NS_IMETHODIMP nsImapUrl::GetImapPartToFetch(char * *aImapPartToFetch)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString customAttributeToFetch; */
NS_IMETHODIMP nsImapUrl::GetCustomAttributeToFetch(nsACString & aCustomAttributeToFetch)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString customAttributeResult; */
NS_IMETHODIMP nsImapUrl::GetCustomAttributeResult(nsACString & aCustomAttributeResult)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetCustomAttributeResult(const nsACString & aCustomAttributeResult)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString command; */
NS_IMETHODIMP nsImapUrl::GetCommand(nsACString & aCommand)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString customCommandResult; */
NS_IMETHODIMP nsImapUrl::GetCustomCommandResult(nsACString & aCustomCommandResult)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetCustomCommandResult(const nsACString & aCustomCommandResult)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString customAddFlags; */
NS_IMETHODIMP nsImapUrl::GetCustomAddFlags(nsACString & aCustomAddFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString customSubtractFlags; */
NS_IMETHODIMP nsImapUrl::GetCustomSubtractFlags(nsACString & aCustomSubtractFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void allocateCanonicalPath (in string aServerPath, in char aOnlineDelimiter, out string aAllocatedPath); */
NS_IMETHODIMP nsImapUrl::AllocateCanonicalPath(const char * aServerPath, char aOnlineDelimiter, char * *aAllocatedPath)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void allocateServerPath (in string aCanonicalPath, in char aOnlineDelimiter, out string aAllocatedPath); */
NS_IMETHODIMP nsImapUrl::AllocateServerPath(const char * aCanonicalPath, char aOnlineDelimiter, char * *aAllocatedPath)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string createServerSourceFolderPathString (); */
NS_IMETHODIMP nsImapUrl::CreateServerSourceFolderPathString(char * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string createCanonicalSourceFolderPathString (); */
NS_IMETHODIMP nsImapUrl::CreateCanonicalSourceFolderPathString(char * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string createServerDestinationFolderPathString (); */
NS_IMETHODIMP nsImapUrl::CreateServerDestinationFolderPathString(char * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string addOnlineDirectoryIfNecessary (in string onlineMailboxName); */
NS_IMETHODIMP nsImapUrl::AddOnlineDirectoryIfNecessary(const char * onlineMailboxName, char * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void createSearchCriteriaString (out string aResult); */
NS_IMETHODIMP nsImapUrl::CreateSearchCriteriaString(char * *aResult)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString listOfMessageIds; */
NS_IMETHODIMP nsImapUrl::GetListOfMessageIds(nsACString & aListOfMessageIds)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean messageIdsAreUids (); */
NS_IMETHODIMP nsImapUrl::MessageIdsAreUids(bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute imapMessageFlagsType msgFlags; */
NS_IMETHODIMP nsImapUrl::GetMsgFlags(imapMessageFlagsType *aMsgFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long numBytesToFetch; */
NS_IMETHODIMP nsImapUrl::GetNumBytesToFetch(int32_t *aNumBytesToFetch)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute char onlineSubDirSeparator; */
NS_IMETHODIMP nsImapUrl::GetOnlineSubDirSeparator(char *aOnlineSubDirSeparator)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetOnlineSubDirSeparator(char aOnlineSubDirSeparator)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean allowContentChange; */
NS_IMETHODIMP nsImapUrl::GetAllowContentChange(bool *aAllowContentChange)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetAllowContentChange(bool aAllowContentChange)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean mimePartSelectorDetected; */
NS_IMETHODIMP nsImapUrl::GetMimePartSelectorDetected(bool *aMimePartSelectorDetected)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetMimePartSelectorDetected(bool aMimePartSelectorDetected)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsImapContentModifiedType contentModified; */
NS_IMETHODIMP nsImapUrl::GetContentModified(nsImapContentModifiedType *aContentModified)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetContentModified(nsImapContentModifiedType aContentModified)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean fetchPartsOnDemand; */
NS_IMETHODIMP nsImapUrl::GetFetchPartsOnDemand(bool *aFetchPartsOnDemand)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetFetchPartsOnDemand(bool aFetchPartsOnDemand)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean msgLoadingFromCache; */
NS_IMETHODIMP nsImapUrl::GetMsgLoadingFromCache(bool *aMsgLoadingFromCache)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetMsgLoadingFromCache(bool aMsgLoadingFromCache)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean externalLinkUrl; */
NS_IMETHODIMP nsImapUrl::GetExternalLinkUrl(bool *aExternalLinkUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetExternalLinkUrl(bool aExternalLinkUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean validUrl; */
NS_IMETHODIMP nsImapUrl::GetValidUrl(bool *aValidUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetValidUrl(bool aValidUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsISupports copyState; */
NS_IMETHODIMP nsImapUrl::GetCopyState(nsISupports * *aCopyState)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetCopyState(nsISupports *aCopyState)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIFile msgFile; */
NS_IMETHODIMP nsImapUrl::GetMsgFile(nsIFile * *aMsgFile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetMsgFile(nsIFile *aMsgFile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIImapMockChannel mockChannel; */
NS_IMETHODIMP nsImapUrl::GetMockChannel(nsIImapMockChannel * *aMockChannel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetMockChannel(nsIImapMockChannel *aMockChannel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean storeResultsOffline; */
NS_IMETHODIMP nsImapUrl::GetStoreResultsOffline(bool *aStoreResultsOffline)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetStoreResultsOffline(bool aStoreResultsOffline)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean storeOfflineOnFallback; */
NS_IMETHODIMP nsImapUrl::GetStoreOfflineOnFallback(bool *aStoreOfflineOnFallback)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetStoreOfflineOnFallback(bool aStoreOfflineOnFallback)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean localFetchOnly; */
NS_IMETHODIMP nsImapUrl::GetLocalFetchOnly(bool *aLocalFetchOnly)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetLocalFetchOnly(bool aLocalFetchOnly)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean rerunningUrl; */
NS_IMETHODIMP nsImapUrl::GetRerunningUrl(bool *aRerunningUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetRerunningUrl(bool aRerunningUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean moreHeadersToDownload; */
NS_IMETHODIMP nsImapUrl::GetMoreHeadersToDownload(bool *aMoreHeadersToDownload)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetMoreHeadersToDownload(bool aMoreHeadersToDownload)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long extraStatus; */
NS_IMETHODIMP nsImapUrl::GetExtraStatus(int32_t *aExtraStatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImapUrl::SetExtraStatus(int32_t aExtraStatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIImapUrl_h__ */