DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/imap/public/nsIImapIncomingServer.idl
 */

#ifndef __gen_nsIImapIncomingServer_h__
#define __gen_nsIImapIncomingServer_h__


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

#include "js/GCAnnotations.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
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) \


/* 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; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMaximumConnectionsNumber(int32_t *aMaximumConnectionsNumber) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMaximumConnectionsNumber(int32_t aMaximumConnectionsNumber) = 0;

  /* attribute ACString forceSelect; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetForceSelect(nsACString& aForceSelect) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetForceSelect(const nsACString& aForceSelect) = 0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  /* nsIURI subscribeToFolder (in AString name, in boolean subscribe); */
  JS_HAZ_CAN_RUN_SCRIPT 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); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetNewMessagesForNonInboxFolders(nsIMsgFolder *aRootFolder, nsIMsgWindow *aWindow, bool forceAllFolders, bool performingBiff) = 0;

  /* AString PromptPassword (in nsIMsgWindow aWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD PromptPassword(nsIMsgWindow *aWindow, nsAString& _retval) = 0;

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

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

  /* attribute boolean shuttingDown; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetShuttingDown(bool *aShuttingDown) = 0;
  JS_HAZ_CAN_RUN_SCRIPT 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 GetForceSelect(nsACString& aForceSelect) override; \
  NS_IMETHOD SetForceSelect(const nsACString& aForceSelect) 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, nsAString& _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 GetForceSelect(nsACString& aForceSelect); \
  nsresult SetForceSelect(const nsACString& aForceSelect); \
  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, nsAString& _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 GetForceSelect(nsACString& aForceSelect) override { return _to GetForceSelect(aForceSelect); } \
  NS_IMETHOD SetForceSelect(const nsACString& aForceSelect) override { return _to SetForceSelect(aForceSelect); } \
  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, nsAString& _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 GetForceSelect(nsACString& aForceSelect) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetForceSelect(aForceSelect); } \
  NS_IMETHOD SetForceSelect(const nsACString& aForceSelect) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetForceSelect(aForceSelect); } \
  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, nsAString& _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); } 


#endif /* __gen_nsIImapIncomingServer_h__ */