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

#ifndef __gen_nsIMsgImapMailFolder_h__
#define __gen_nsIMsgImapMailFolder_h__


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

#ifndef __gen_MailNewsTypes2_h__
#include "MailNewsTypes2.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 nsIMsgFolder; /* forward declaration */

class nsIUTF8StringEnumerator; /* forward declaration */

class nsIUrlListener; /* forward declaration */

class nsIURI; /* forward declaration */

class nsIMsgDBHdr; /* forward declaration */

class nsIMsgWindow; /* forward declaration */

class nsIImapIncomingServer; /* forward declaration */

class nsIMsgParseMailMsgState; /* forward declaration */

class nsIAutoSyncState; /* forward declaration */


/* starting interface:    nsIMsgImapFolderProps */
#define NS_IMSGIMAPFOLDERPROPS_IID_STR "09d99f2c-3e23-4f8c-a536-5c277baa9585"

#define NS_IMSGIMAPFOLDERPROPS_IID \
  {0x09d99f2c, 0x3e23, 0x4f8c, \
    { 0xa5, 0x36, 0x5c, 0x27, 0x7b, 0xaa, 0x95, 0x85 }}

class NS_NO_VTABLE nsIMsgImapFolderProps : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGIMAPFOLDERPROPS_IID)

  /* void setFolderType (in AString folderType); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFolderType(const nsAString& folderType) = 0;

  /* void setFolderTypeDescription (in AString folderTypeDescription); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFolderTypeDescription(const nsAString& folderTypeDescription) = 0;

  /* void setFolderPermissions (in AString permissions); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetFolderPermissions(const nsAString& permissions) = 0;

  /* void serverDoesntSupportACL (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ServerDoesntSupportACL(void) = 0;

  /* void showQuotaData (in boolean showData); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ShowQuotaData(bool showData) = 0;

  /* void setQuotaStatus (in AString folderQuotaStatus); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetQuotaStatus(const nsAString& folderQuotaStatus) = 0;

  /* void setQuotaData (in ACString quotaroot, in unsigned long usedKB, in unsigned long maxKB); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetQuotaData(const nsACString& quotaroot, uint32_t usedKB, uint32_t maxKB) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgImapFolderProps, NS_IMSGIMAPFOLDERPROPS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGIMAPFOLDERPROPS \
  NS_IMETHOD SetFolderType(const nsAString& folderType) override; \
  NS_IMETHOD SetFolderTypeDescription(const nsAString& folderTypeDescription) override; \
  NS_IMETHOD SetFolderPermissions(const nsAString& permissions) override; \
  NS_IMETHOD ServerDoesntSupportACL(void) override; \
  NS_IMETHOD ShowQuotaData(bool showData) override; \
  NS_IMETHOD SetQuotaStatus(const nsAString& folderQuotaStatus) override; \
  NS_IMETHOD SetQuotaData(const nsACString& quotaroot, uint32_t usedKB, uint32_t maxKB) 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_NSIMSGIMAPFOLDERPROPS \
  nsresult SetFolderType(const nsAString& folderType); \
  nsresult SetFolderTypeDescription(const nsAString& folderTypeDescription); \
  nsresult SetFolderPermissions(const nsAString& permissions); \
  nsresult ServerDoesntSupportACL(void); \
  nsresult ShowQuotaData(bool showData); \
  nsresult SetQuotaStatus(const nsAString& folderQuotaStatus); \
  nsresult SetQuotaData(const nsACString& quotaroot, uint32_t usedKB, uint32_t maxKB); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGIMAPFOLDERPROPS(_to) \
  NS_IMETHOD SetFolderType(const nsAString& folderType) override { return _to SetFolderType(folderType); } \
  NS_IMETHOD SetFolderTypeDescription(const nsAString& folderTypeDescription) override { return _to SetFolderTypeDescription(folderTypeDescription); } \
  NS_IMETHOD SetFolderPermissions(const nsAString& permissions) override { return _to SetFolderPermissions(permissions); } \
  NS_IMETHOD ServerDoesntSupportACL(void) override { return _to ServerDoesntSupportACL(); } \
  NS_IMETHOD ShowQuotaData(bool showData) override { return _to ShowQuotaData(showData); } \
  NS_IMETHOD SetQuotaStatus(const nsAString& folderQuotaStatus) override { return _to SetQuotaStatus(folderQuotaStatus); } \
  NS_IMETHOD SetQuotaData(const nsACString& quotaroot, uint32_t usedKB, uint32_t maxKB) override { return _to SetQuotaData(quotaroot, usedKB, maxKB); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGIMAPFOLDERPROPS(_to) \
  NS_IMETHOD SetFolderType(const nsAString& folderType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderType(folderType); } \
  NS_IMETHOD SetFolderTypeDescription(const nsAString& folderTypeDescription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderTypeDescription(folderTypeDescription); } \
  NS_IMETHOD SetFolderPermissions(const nsAString& permissions) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderPermissions(permissions); } \
  NS_IMETHOD ServerDoesntSupportACL(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ServerDoesntSupportACL(); } \
  NS_IMETHOD ShowQuotaData(bool showData) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowQuotaData(showData); } \
  NS_IMETHOD SetQuotaStatus(const nsAString& folderQuotaStatus) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetQuotaStatus(folderQuotaStatus); } \
  NS_IMETHOD SetQuotaData(const nsACString& quotaroot, uint32_t usedKB, uint32_t maxKB) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetQuotaData(quotaroot, usedKB, maxKB); } 


/* starting interface:    nsIMsgImapMailFolder */
#define NS_IMSGIMAPMAILFOLDER_IID_STR "fea0f455-7adf-4683-bf2f-c95c3fff03df"

#define NS_IMSGIMAPMAILFOLDER_IID \
  {0xfea0f455, 0x7adf, 0x4683, \
    { 0xbf, 0x2f, 0xc9, 0x5c, 0x3f, 0xff, 0x03, 0xdf }}

class NS_NO_VTABLE nsIMsgImapMailFolder : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGIMAPMAILFOLDER_IID)

  /* void removeSubFolder (in nsIMsgFolder folder); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder) = 0;

  /* void createClientSubfolderInfo (in ACString folderName, in char hierarchyDelimiter, in long flags, in boolean suppressNotification); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CreateClientSubfolderInfo(const nsACString& folderName, char hierarchyDelimiter, int32_t flags, bool suppressNotification) = 0;

  /* void list (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD List(void) = 0;

  /* void renameLocal (in ACString newname, in nsIMsgFolder parent); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RenameLocal(const nsACString& newname, nsIMsgFolder *parent) = 0;

  /* void prepareToRename (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD PrepareToRename(void) = 0;

  /* void performExpand (in nsIMsgWindow aMsgWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD PerformExpand(nsIMsgWindow *aMsgWindow) = 0;

  /* void recursiveCloseActiveConnections (in nsIImapIncomingServer aImapServer); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer) = 0;

  /* void renameClient (in nsIMsgWindow msgWindow, in nsIMsgFolder msgFolder, in ACString oldName, in ACString newName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString& oldName, const nsACString& newName) = 0;

  /* void storeImapFlags (in long aFlags, in boolean aAddFlags, [array, size_is (aNumKeys)] in nsMsgKey aKeysToFlag, in unsigned long aNumKeys, in nsIUrlListener aUrlListener); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD StoreImapFlags(int32_t aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, uint32_t aNumKeys, nsIUrlListener *aUrlListener) = 0;

  /* nsIURI setImapFlags (in string uids, in long flags); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetImapFlags(const char * uids, int32_t flags, nsIURI **_retval) = 0;

  /* void replayOfflineMoveCopy ([array, size_is (numKeys)] in nsMsgKey keys, in unsigned long numKeys, in boolean isMove, in nsIMsgFolder aDstFolder, in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ReplayOfflineMoveCopy(nsMsgKey *keys, uint32_t numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) = 0;

  /* nsIURI playbackOfflineFolderCreate (in AString folderName, in nsIMsgWindow aWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString& folderName, nsIMsgWindow *aWindow, nsIURI **_retval) = 0;

  /* void addMoveResultPseudoKey (in nsMsgKey aMsgKey); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddMoveResultPseudoKey(nsMsgKey aMsgKey) = 0;

  /* void liteSelect (in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) = 0;

  /* void fillInFolderProps (in nsIMsgImapFolderProps aFolderProps); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD FillInFolderProps(nsIMsgImapFolderProps *aFolderProps) = 0;

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

  /* void folderPrivileges (in nsIMsgWindow aWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD FolderPrivileges(nsIMsgWindow *aWindow) = 0;

  /* nsIMsgImapMailFolder findOnlineSubFolder (in ACString onlineName); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD FindOnlineSubFolder(const nsACString& onlineName, nsIMsgImapMailFolder **_retval) = 0;

  /* void addFolderRights (in ACString userName, in ACString rights); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD AddFolderRights(const nsACString& userName, const nsACString& rights) = 0;

  /* void refreshFolderRights (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD RefreshFolderRights(void) = 0;

  /* void markPendingRemoval (in nsIMsgDBHdr aHdr, in boolean aMark); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark) = 0;

  /* void expunge (in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) = 0;

  /* void updateStatus (in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) = 0;

  /* void updateFolderWithListener (in nsIMsgWindow aMsgWindow, in nsIUrlListener aListener); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener) = 0;

  /* nsIURI issueCommandOnMsgs (in ACString command, in string uids, in nsIMsgWindow aWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD IssueCommandOnMsgs(const nsACString& command, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval) = 0;

  /* nsIURI fetchCustomMsgAttribute (in ACString msgAttribute, in string uids, in nsIMsgWindow aWindow); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD FetchCustomMsgAttribute(const nsACString& msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval) = 0;

  /* nsIURI storeCustomKeywords (in nsIMsgWindow aMsgWindow, in ACString aFlagsToAdd, in ACString aFlagsToSubtract, [array, size_is (aNumKeys)] in nsMsgKey aKeysToStore, in unsigned long aNumKeys); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString& aFlagsToAdd, const nsACString& aFlagsToSubtract, nsMsgKey *aKeysToStore, uint32_t aNumKeys, nsIURI **_retval) = 0;

  /* void notifyIfNewMail (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD NotifyIfNewMail(void) = 0;

  /* void initiateAutoSync (in nsIUrlListener aUrlListener); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD InitiateAutoSync(nsIUrlListener *aUrlListener) = 0;

  /* attribute boolean verifiedAsOnlineFolder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder) = 0;

  /* attribute boolean explicitlyVerify; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetExplicitlyVerify(bool *aExplicitlyVerify) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetExplicitlyVerify(bool aExplicitlyVerify) = 0;

  /* attribute char hierarchyDelimiter; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) = 0;

  /* attribute long boxFlags; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBoxFlags(int32_t *aBoxFlags) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBoxFlags(int32_t aBoxFlags) = 0;

  /* attribute ACString onlineName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOnlineName(nsACString& aOnlineName) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOnlineName(const nsACString& aOnlineName) = 0;

  /* attribute boolean isNamespace; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsNamespace(bool *aIsNamespace) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetIsNamespace(bool aIsNamespace) = 0;

  /* readonly attribute boolean canOpenFolder; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder) = 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;

  /* readonly attribute boolean hasAdminUrl; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHasAdminUrl(bool *aHasAdminUrl) = 0;

  /* attribute boolean performingBiff; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPerformingBiff(bool *aPerformingBiff) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPerformingBiff(bool aPerformingBiff) = 0;

  /* readonly attribute nsIMsgParseMailMsgState hdrParser; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHdrParser(nsIMsgParseMailMsgState **aHdrParser) = 0;

  /* readonly attribute nsIImapIncomingServer imapIncomingServer; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetImapIncomingServer(nsIImapIncomingServer **aImapIncomingServer) = 0;

  /* readonly attribute nsIAutoSyncState autoSyncStateObj; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAutoSyncStateObj(nsIAutoSyncState **aAutoSyncStateObj) = 0;

  /* readonly attribute long serverTotal; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetServerTotal(int32_t *aServerTotal) = 0;

  /* readonly attribute long serverUnseen; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetServerUnseen(int32_t *aServerUnseen) = 0;

  /* readonly attribute long serverRecent; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetServerRecent(int32_t *aServerRecent) = 0;

  /* readonly attribute long serverNextUID; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetServerNextUID(int32_t *aServerNextUID) = 0;

  /* void getQuota (out boolean valid, out unsigned long usedKB, out unsigned long maxKB); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetQuota(bool *valid, uint32_t *usedKB, uint32_t *maxKB) = 0;

  /* nsIUTF8StringEnumerator getOtherUsersWithAccess (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOtherUsersWithAccess(nsIUTF8StringEnumerator **_retval) = 0;

  /* ACString getPermissionsForUser (in ACString username); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPermissionsForUser(const nsACString& username, nsACString& _retval) = 0;

  /* void changePendingTotal (in long aDelta); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ChangePendingTotal(int32_t aDelta) = 0;

  /* void changePendingUnread (in long aDelta); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ChangePendingUnread(int32_t aDelta) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgImapMailFolder, NS_IMSGIMAPMAILFOLDER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGIMAPMAILFOLDER \
  NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder) override; \
  NS_IMETHOD CreateClientSubfolderInfo(const nsACString& folderName, char hierarchyDelimiter, int32_t flags, bool suppressNotification) override; \
  NS_IMETHOD List(void) override; \
  NS_IMETHOD RenameLocal(const nsACString& newname, nsIMsgFolder *parent) override; \
  NS_IMETHOD PrepareToRename(void) override; \
  NS_IMETHOD PerformExpand(nsIMsgWindow *aMsgWindow) override; \
  NS_IMETHOD RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer) override; \
  NS_IMETHOD RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString& oldName, const nsACString& newName) override; \
  NS_IMETHOD StoreImapFlags(int32_t aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, uint32_t aNumKeys, nsIUrlListener *aUrlListener) override; \
  NS_IMETHOD SetImapFlags(const char * uids, int32_t flags, nsIURI **_retval) override; \
  NS_IMETHOD ReplayOfflineMoveCopy(nsMsgKey *keys, uint32_t numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) override; \
  NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString& folderName, nsIMsgWindow *aWindow, nsIURI **_retval) override; \
  NS_IMETHOD AddMoveResultPseudoKey(nsMsgKey aMsgKey) override; \
  NS_IMETHOD LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) override; \
  NS_IMETHOD FillInFolderProps(nsIMsgImapFolderProps *aFolderProps) override; \
  NS_IMETHOD ResetNamespaceReferences(void) override; \
  NS_IMETHOD FolderPrivileges(nsIMsgWindow *aWindow) override; \
  NS_IMETHOD FindOnlineSubFolder(const nsACString& onlineName, nsIMsgImapMailFolder **_retval) override; \
  NS_IMETHOD AddFolderRights(const nsACString& userName, const nsACString& rights) override; \
  NS_IMETHOD RefreshFolderRights(void) override; \
  NS_IMETHOD MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark) override; \
  NS_IMETHOD Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) override; \
  NS_IMETHOD UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) override; \
  NS_IMETHOD UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener) override; \
  NS_IMETHOD IssueCommandOnMsgs(const nsACString& command, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval) override; \
  NS_IMETHOD FetchCustomMsgAttribute(const nsACString& msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval) override; \
  NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString& aFlagsToAdd, const nsACString& aFlagsToSubtract, nsMsgKey *aKeysToStore, uint32_t aNumKeys, nsIURI **_retval) override; \
  NS_IMETHOD NotifyIfNewMail(void) override; \
  NS_IMETHOD InitiateAutoSync(nsIUrlListener *aUrlListener) override; \
  NS_IMETHOD GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder) override; \
  NS_IMETHOD SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder) override; \
  NS_IMETHOD GetExplicitlyVerify(bool *aExplicitlyVerify) override; \
  NS_IMETHOD SetExplicitlyVerify(bool aExplicitlyVerify) override; \
  NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) override; \
  NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) override; \
  NS_IMETHOD GetBoxFlags(int32_t *aBoxFlags) override; \
  NS_IMETHOD SetBoxFlags(int32_t aBoxFlags) override; \
  NS_IMETHOD GetOnlineName(nsACString& aOnlineName) override; \
  NS_IMETHOD SetOnlineName(const nsACString& aOnlineName) override; \
  NS_IMETHOD GetIsNamespace(bool *aIsNamespace) override; \
  NS_IMETHOD SetIsNamespace(bool aIsNamespace) override; \
  NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder) override; \
  NS_IMETHOD GetAdminUrl(nsACString& aAdminUrl) override; \
  NS_IMETHOD SetAdminUrl(const nsACString& aAdminUrl) override; \
  NS_IMETHOD GetHasAdminUrl(bool *aHasAdminUrl) override; \
  NS_IMETHOD GetPerformingBiff(bool *aPerformingBiff) override; \
  NS_IMETHOD SetPerformingBiff(bool aPerformingBiff) override; \
  NS_IMETHOD GetHdrParser(nsIMsgParseMailMsgState **aHdrParser) override; \
  NS_IMETHOD GetImapIncomingServer(nsIImapIncomingServer **aImapIncomingServer) override; \
  NS_IMETHOD GetAutoSyncStateObj(nsIAutoSyncState **aAutoSyncStateObj) override; \
  NS_IMETHOD GetServerTotal(int32_t *aServerTotal) override; \
  NS_IMETHOD GetServerUnseen(int32_t *aServerUnseen) override; \
  NS_IMETHOD GetServerRecent(int32_t *aServerRecent) override; \
  NS_IMETHOD GetServerNextUID(int32_t *aServerNextUID) override; \
  NS_IMETHOD GetQuota(bool *valid, uint32_t *usedKB, uint32_t *maxKB) override; \
  NS_IMETHOD GetOtherUsersWithAccess(nsIUTF8StringEnumerator **_retval) override; \
  NS_IMETHOD GetPermissionsForUser(const nsACString& username, nsACString& _retval) override; \
  NS_IMETHOD ChangePendingTotal(int32_t aDelta) override; \
  NS_IMETHOD ChangePendingUnread(int32_t aDelta) 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_NSIMSGIMAPMAILFOLDER \
  nsresult RemoveSubFolder(nsIMsgFolder *folder); \
  nsresult CreateClientSubfolderInfo(const nsACString& folderName, char hierarchyDelimiter, int32_t flags, bool suppressNotification); \
  nsresult List(void); \
  nsresult RenameLocal(const nsACString& newname, nsIMsgFolder *parent); \
  nsresult PrepareToRename(void); \
  nsresult PerformExpand(nsIMsgWindow *aMsgWindow); \
  nsresult RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer); \
  nsresult RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString& oldName, const nsACString& newName); \
  nsresult StoreImapFlags(int32_t aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, uint32_t aNumKeys, nsIUrlListener *aUrlListener); \
  nsresult SetImapFlags(const char * uids, int32_t flags, nsIURI **_retval); \
  nsresult ReplayOfflineMoveCopy(nsMsgKey *keys, uint32_t numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow); \
  nsresult PlaybackOfflineFolderCreate(const nsAString& folderName, nsIMsgWindow *aWindow, nsIURI **_retval); \
  nsresult AddMoveResultPseudoKey(nsMsgKey aMsgKey); \
  nsresult LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow); \
  nsresult FillInFolderProps(nsIMsgImapFolderProps *aFolderProps); \
  nsresult ResetNamespaceReferences(void); \
  nsresult FolderPrivileges(nsIMsgWindow *aWindow); \
  nsresult FindOnlineSubFolder(const nsACString& onlineName, nsIMsgImapMailFolder **_retval); \
  nsresult AddFolderRights(const nsACString& userName, const nsACString& rights); \
  nsresult RefreshFolderRights(void); \
  nsresult MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark); \
  nsresult Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow); \
  nsresult UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow); \
  nsresult UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener); \
  nsresult IssueCommandOnMsgs(const nsACString& command, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval); \
  nsresult FetchCustomMsgAttribute(const nsACString& msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval); \
  nsresult StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString& aFlagsToAdd, const nsACString& aFlagsToSubtract, nsMsgKey *aKeysToStore, uint32_t aNumKeys, nsIURI **_retval); \
  nsresult NotifyIfNewMail(void); \
  nsresult InitiateAutoSync(nsIUrlListener *aUrlListener); \
  nsresult GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder); \
  nsresult SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder); \
  nsresult GetExplicitlyVerify(bool *aExplicitlyVerify); \
  nsresult SetExplicitlyVerify(bool aExplicitlyVerify); \
  nsresult GetHierarchyDelimiter(char *aHierarchyDelimiter); \
  nsresult SetHierarchyDelimiter(char aHierarchyDelimiter); \
  nsresult GetBoxFlags(int32_t *aBoxFlags); \
  nsresult SetBoxFlags(int32_t aBoxFlags); \
  nsresult GetOnlineName(nsACString& aOnlineName); \
  nsresult SetOnlineName(const nsACString& aOnlineName); \
  nsresult GetIsNamespace(bool *aIsNamespace); \
  nsresult SetIsNamespace(bool aIsNamespace); \
  nsresult GetCanOpenFolder(bool *aCanOpenFolder); \
  nsresult GetAdminUrl(nsACString& aAdminUrl); \
  nsresult SetAdminUrl(const nsACString& aAdminUrl); \
  nsresult GetHasAdminUrl(bool *aHasAdminUrl); \
  nsresult GetPerformingBiff(bool *aPerformingBiff); \
  nsresult SetPerformingBiff(bool aPerformingBiff); \
  nsresult GetHdrParser(nsIMsgParseMailMsgState **aHdrParser); \
  nsresult GetImapIncomingServer(nsIImapIncomingServer **aImapIncomingServer); \
  nsresult GetAutoSyncStateObj(nsIAutoSyncState **aAutoSyncStateObj); \
  nsresult GetServerTotal(int32_t *aServerTotal); \
  nsresult GetServerUnseen(int32_t *aServerUnseen); \
  nsresult GetServerRecent(int32_t *aServerRecent); \
  nsresult GetServerNextUID(int32_t *aServerNextUID); \
  nsresult GetQuota(bool *valid, uint32_t *usedKB, uint32_t *maxKB); \
  nsresult GetOtherUsersWithAccess(nsIUTF8StringEnumerator **_retval); \
  nsresult GetPermissionsForUser(const nsACString& username, nsACString& _retval); \
  nsresult ChangePendingTotal(int32_t aDelta); \
  nsresult ChangePendingUnread(int32_t aDelta); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGIMAPMAILFOLDER(_to) \
  NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder) override { return _to RemoveSubFolder(folder); } \
  NS_IMETHOD CreateClientSubfolderInfo(const nsACString& folderName, char hierarchyDelimiter, int32_t flags, bool suppressNotification) override { return _to CreateClientSubfolderInfo(folderName, hierarchyDelimiter, flags, suppressNotification); } \
  NS_IMETHOD List(void) override { return _to List(); } \
  NS_IMETHOD RenameLocal(const nsACString& newname, nsIMsgFolder *parent) override { return _to RenameLocal(newname, parent); } \
  NS_IMETHOD PrepareToRename(void) override { return _to PrepareToRename(); } \
  NS_IMETHOD PerformExpand(nsIMsgWindow *aMsgWindow) override { return _to PerformExpand(aMsgWindow); } \
  NS_IMETHOD RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer) override { return _to RecursiveCloseActiveConnections(aImapServer); } \
  NS_IMETHOD RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString& oldName, const nsACString& newName) override { return _to RenameClient(msgWindow, msgFolder, oldName, newName); } \
  NS_IMETHOD StoreImapFlags(int32_t aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, uint32_t aNumKeys, nsIUrlListener *aUrlListener) override { return _to StoreImapFlags(aFlags, aAddFlags, aKeysToFlag, aNumKeys, aUrlListener); } \
  NS_IMETHOD SetImapFlags(const char * uids, int32_t flags, nsIURI **_retval) override { return _to SetImapFlags(uids, flags, _retval); } \
  NS_IMETHOD ReplayOfflineMoveCopy(nsMsgKey *keys, uint32_t numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) override { return _to ReplayOfflineMoveCopy(keys, numKeys, isMove, aDstFolder, aUrlListener, aWindow); } \
  NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString& folderName, nsIMsgWindow *aWindow, nsIURI **_retval) override { return _to PlaybackOfflineFolderCreate(folderName, aWindow, _retval); } \
  NS_IMETHOD AddMoveResultPseudoKey(nsMsgKey aMsgKey) override { return _to AddMoveResultPseudoKey(aMsgKey); } \
  NS_IMETHOD LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) override { return _to LiteSelect(aUrlListener, aWindow); } \
  NS_IMETHOD FillInFolderProps(nsIMsgImapFolderProps *aFolderProps) override { return _to FillInFolderProps(aFolderProps); } \
  NS_IMETHOD ResetNamespaceReferences(void) override { return _to ResetNamespaceReferences(); } \
  NS_IMETHOD FolderPrivileges(nsIMsgWindow *aWindow) override { return _to FolderPrivileges(aWindow); } \
  NS_IMETHOD FindOnlineSubFolder(const nsACString& onlineName, nsIMsgImapMailFolder **_retval) override { return _to FindOnlineSubFolder(onlineName, _retval); } \
  NS_IMETHOD AddFolderRights(const nsACString& userName, const nsACString& rights) override { return _to AddFolderRights(userName, rights); } \
  NS_IMETHOD RefreshFolderRights(void) override { return _to RefreshFolderRights(); } \
  NS_IMETHOD MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark) override { return _to MarkPendingRemoval(aHdr, aMark); } \
  NS_IMETHOD Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) override { return _to Expunge(aListener, aMsgWindow); } \
  NS_IMETHOD UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) override { return _to UpdateStatus(aListener, aMsgWindow); } \
  NS_IMETHOD UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener) override { return _to UpdateFolderWithListener(aMsgWindow, aListener); } \
  NS_IMETHOD IssueCommandOnMsgs(const nsACString& command, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval) override { return _to IssueCommandOnMsgs(command, uids, aWindow, _retval); } \
  NS_IMETHOD FetchCustomMsgAttribute(const nsACString& msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval) override { return _to FetchCustomMsgAttribute(msgAttribute, uids, aWindow, _retval); } \
  NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString& aFlagsToAdd, const nsACString& aFlagsToSubtract, nsMsgKey *aKeysToStore, uint32_t aNumKeys, nsIURI **_retval) override { return _to StoreCustomKeywords(aMsgWindow, aFlagsToAdd, aFlagsToSubtract, aKeysToStore, aNumKeys, _retval); } \
  NS_IMETHOD NotifyIfNewMail(void) override { return _to NotifyIfNewMail(); } \
  NS_IMETHOD InitiateAutoSync(nsIUrlListener *aUrlListener) override { return _to InitiateAutoSync(aUrlListener); } \
  NS_IMETHOD GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder) override { return _to GetVerifiedAsOnlineFolder(aVerifiedAsOnlineFolder); } \
  NS_IMETHOD SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder) override { return _to SetVerifiedAsOnlineFolder(aVerifiedAsOnlineFolder); } \
  NS_IMETHOD GetExplicitlyVerify(bool *aExplicitlyVerify) override { return _to GetExplicitlyVerify(aExplicitlyVerify); } \
  NS_IMETHOD SetExplicitlyVerify(bool aExplicitlyVerify) override { return _to SetExplicitlyVerify(aExplicitlyVerify); } \
  NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) override { return _to GetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) override { return _to SetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_IMETHOD GetBoxFlags(int32_t *aBoxFlags) override { return _to GetBoxFlags(aBoxFlags); } \
  NS_IMETHOD SetBoxFlags(int32_t aBoxFlags) override { return _to SetBoxFlags(aBoxFlags); } \
  NS_IMETHOD GetOnlineName(nsACString& aOnlineName) override { return _to GetOnlineName(aOnlineName); } \
  NS_IMETHOD SetOnlineName(const nsACString& aOnlineName) override { return _to SetOnlineName(aOnlineName); } \
  NS_IMETHOD GetIsNamespace(bool *aIsNamespace) override { return _to GetIsNamespace(aIsNamespace); } \
  NS_IMETHOD SetIsNamespace(bool aIsNamespace) override { return _to SetIsNamespace(aIsNamespace); } \
  NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder) override { return _to GetCanOpenFolder(aCanOpenFolder); } \
  NS_IMETHOD GetAdminUrl(nsACString& aAdminUrl) override { return _to GetAdminUrl(aAdminUrl); } \
  NS_IMETHOD SetAdminUrl(const nsACString& aAdminUrl) override { return _to SetAdminUrl(aAdminUrl); } \
  NS_IMETHOD GetHasAdminUrl(bool *aHasAdminUrl) override { return _to GetHasAdminUrl(aHasAdminUrl); } \
  NS_IMETHOD GetPerformingBiff(bool *aPerformingBiff) override { return _to GetPerformingBiff(aPerformingBiff); } \
  NS_IMETHOD SetPerformingBiff(bool aPerformingBiff) override { return _to SetPerformingBiff(aPerformingBiff); } \
  NS_IMETHOD GetHdrParser(nsIMsgParseMailMsgState **aHdrParser) override { return _to GetHdrParser(aHdrParser); } \
  NS_IMETHOD GetImapIncomingServer(nsIImapIncomingServer **aImapIncomingServer) override { return _to GetImapIncomingServer(aImapIncomingServer); } \
  NS_IMETHOD GetAutoSyncStateObj(nsIAutoSyncState **aAutoSyncStateObj) override { return _to GetAutoSyncStateObj(aAutoSyncStateObj); } \
  NS_IMETHOD GetServerTotal(int32_t *aServerTotal) override { return _to GetServerTotal(aServerTotal); } \
  NS_IMETHOD GetServerUnseen(int32_t *aServerUnseen) override { return _to GetServerUnseen(aServerUnseen); } \
  NS_IMETHOD GetServerRecent(int32_t *aServerRecent) override { return _to GetServerRecent(aServerRecent); } \
  NS_IMETHOD GetServerNextUID(int32_t *aServerNextUID) override { return _to GetServerNextUID(aServerNextUID); } \
  NS_IMETHOD GetQuota(bool *valid, uint32_t *usedKB, uint32_t *maxKB) override { return _to GetQuota(valid, usedKB, maxKB); } \
  NS_IMETHOD GetOtherUsersWithAccess(nsIUTF8StringEnumerator **_retval) override { return _to GetOtherUsersWithAccess(_retval); } \
  NS_IMETHOD GetPermissionsForUser(const nsACString& username, nsACString& _retval) override { return _to GetPermissionsForUser(username, _retval); } \
  NS_IMETHOD ChangePendingTotal(int32_t aDelta) override { return _to ChangePendingTotal(aDelta); } \
  NS_IMETHOD ChangePendingUnread(int32_t aDelta) override { return _to ChangePendingUnread(aDelta); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGIMAPMAILFOLDER(_to) \
  NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveSubFolder(folder); } \
  NS_IMETHOD CreateClientSubfolderInfo(const nsACString& folderName, char hierarchyDelimiter, int32_t flags, bool suppressNotification) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateClientSubfolderInfo(folderName, hierarchyDelimiter, flags, suppressNotification); } \
  NS_IMETHOD List(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->List(); } \
  NS_IMETHOD RenameLocal(const nsACString& newname, nsIMsgFolder *parent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RenameLocal(newname, parent); } \
  NS_IMETHOD PrepareToRename(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PrepareToRename(); } \
  NS_IMETHOD PerformExpand(nsIMsgWindow *aMsgWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PerformExpand(aMsgWindow); } \
  NS_IMETHOD RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RecursiveCloseActiveConnections(aImapServer); } \
  NS_IMETHOD RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString& oldName, const nsACString& newName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RenameClient(msgWindow, msgFolder, oldName, newName); } \
  NS_IMETHOD StoreImapFlags(int32_t aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, uint32_t aNumKeys, nsIUrlListener *aUrlListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StoreImapFlags(aFlags, aAddFlags, aKeysToFlag, aNumKeys, aUrlListener); } \
  NS_IMETHOD SetImapFlags(const char * uids, int32_t flags, nsIURI **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapFlags(uids, flags, _retval); } \
  NS_IMETHOD ReplayOfflineMoveCopy(nsMsgKey *keys, uint32_t numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReplayOfflineMoveCopy(keys, numKeys, isMove, aDstFolder, aUrlListener, aWindow); } \
  NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString& folderName, nsIMsgWindow *aWindow, nsIURI **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->PlaybackOfflineFolderCreate(folderName, aWindow, _retval); } \
  NS_IMETHOD AddMoveResultPseudoKey(nsMsgKey aMsgKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddMoveResultPseudoKey(aMsgKey); } \
  NS_IMETHOD LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LiteSelect(aUrlListener, aWindow); } \
  NS_IMETHOD FillInFolderProps(nsIMsgImapFolderProps *aFolderProps) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FillInFolderProps(aFolderProps); } \
  NS_IMETHOD ResetNamespaceReferences(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetNamespaceReferences(); } \
  NS_IMETHOD FolderPrivileges(nsIMsgWindow *aWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FolderPrivileges(aWindow); } \
  NS_IMETHOD FindOnlineSubFolder(const nsACString& onlineName, nsIMsgImapMailFolder **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindOnlineSubFolder(onlineName, _retval); } \
  NS_IMETHOD AddFolderRights(const nsACString& userName, const nsACString& rights) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddFolderRights(userName, rights); } \
  NS_IMETHOD RefreshFolderRights(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshFolderRights(); } \
  NS_IMETHOD MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MarkPendingRemoval(aHdr, aMark); } \
  NS_IMETHOD Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Expunge(aListener, aMsgWindow); } \
  NS_IMETHOD UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateStatus(aListener, aMsgWindow); } \
  NS_IMETHOD UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->UpdateFolderWithListener(aMsgWindow, aListener); } \
  NS_IMETHOD IssueCommandOnMsgs(const nsACString& command, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IssueCommandOnMsgs(command, uids, aWindow, _retval); } \
  NS_IMETHOD FetchCustomMsgAttribute(const nsACString& msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FetchCustomMsgAttribute(msgAttribute, uids, aWindow, _retval); } \
  NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString& aFlagsToAdd, const nsACString& aFlagsToSubtract, nsMsgKey *aKeysToStore, uint32_t aNumKeys, nsIURI **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StoreCustomKeywords(aMsgWindow, aFlagsToAdd, aFlagsToSubtract, aKeysToStore, aNumKeys, _retval); } \
  NS_IMETHOD NotifyIfNewMail(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NotifyIfNewMail(); } \
  NS_IMETHOD InitiateAutoSync(nsIUrlListener *aUrlListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->InitiateAutoSync(aUrlListener); } \
  NS_IMETHOD GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVerifiedAsOnlineFolder(aVerifiedAsOnlineFolder); } \
  NS_IMETHOD SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVerifiedAsOnlineFolder(aVerifiedAsOnlineFolder); } \
  NS_IMETHOD GetExplicitlyVerify(bool *aExplicitlyVerify) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExplicitlyVerify(aExplicitlyVerify); } \
  NS_IMETHOD SetExplicitlyVerify(bool aExplicitlyVerify) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExplicitlyVerify(aExplicitlyVerify); } \
  NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_IMETHOD GetBoxFlags(int32_t *aBoxFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBoxFlags(aBoxFlags); } \
  NS_IMETHOD SetBoxFlags(int32_t aBoxFlags) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBoxFlags(aBoxFlags); } \
  NS_IMETHOD GetOnlineName(nsACString& aOnlineName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnlineName(aOnlineName); } \
  NS_IMETHOD SetOnlineName(const nsACString& aOnlineName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnlineName(aOnlineName); } \
  NS_IMETHOD GetIsNamespace(bool *aIsNamespace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsNamespace(aIsNamespace); } \
  NS_IMETHOD SetIsNamespace(bool aIsNamespace) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsNamespace(aIsNamespace); } \
  NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanOpenFolder(aCanOpenFolder); } \
  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 GetHasAdminUrl(bool *aHasAdminUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHasAdminUrl(aHasAdminUrl); } \
  NS_IMETHOD GetPerformingBiff(bool *aPerformingBiff) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPerformingBiff(aPerformingBiff); } \
  NS_IMETHOD SetPerformingBiff(bool aPerformingBiff) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPerformingBiff(aPerformingBiff); } \
  NS_IMETHOD GetHdrParser(nsIMsgParseMailMsgState **aHdrParser) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHdrParser(aHdrParser); } \
  NS_IMETHOD GetImapIncomingServer(nsIImapIncomingServer **aImapIncomingServer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapIncomingServer(aImapIncomingServer); } \
  NS_IMETHOD GetAutoSyncStateObj(nsIAutoSyncState **aAutoSyncStateObj) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoSyncStateObj(aAutoSyncStateObj); } \
  NS_IMETHOD GetServerTotal(int32_t *aServerTotal) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerTotal(aServerTotal); } \
  NS_IMETHOD GetServerUnseen(int32_t *aServerUnseen) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerUnseen(aServerUnseen); } \
  NS_IMETHOD GetServerRecent(int32_t *aServerRecent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerRecent(aServerRecent); } \
  NS_IMETHOD GetServerNextUID(int32_t *aServerNextUID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetServerNextUID(aServerNextUID); } \
  NS_IMETHOD GetQuota(bool *valid, uint32_t *usedKB, uint32_t *maxKB) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetQuota(valid, usedKB, maxKB); } \
  NS_IMETHOD GetOtherUsersWithAccess(nsIUTF8StringEnumerator **_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOtherUsersWithAccess(_retval); } \
  NS_IMETHOD GetPermissionsForUser(const nsACString& username, nsACString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPermissionsForUser(username, _retval); } \
  NS_IMETHOD ChangePendingTotal(int32_t aDelta) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangePendingTotal(aDelta); } \
  NS_IMETHOD ChangePendingUnread(int32_t aDelta) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangePendingUnread(aDelta); } 


#endif /* __gen_nsIMsgImapMailFolder_h__ */