This file is indexed.

/usr/include/thunderbird/nsIMsgImapMailFolder.h is in thunderbird-dev 1:52.8.0-1~deb8u1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMsgImapMailFolder.idl
 */

#ifndef __gen_nsIMsgImapMailFolder_h__
#define __gen_nsIMsgImapMailFolder_h__


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

#ifndef __gen_nsIMsgFolder_h__
#include "nsIMsgFolder.h"
#endif

#ifndef __gen_nsIStringEnumerator_h__
#include "nsIStringEnumerator.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
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); */
  NS_IMETHOD SetFolderType(const nsAString & folderType) = 0;

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

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

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

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

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

  /* void setQuotaData (in ACString quotaroot, in unsigned long usedKB, in unsigned long maxKB); */
  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 \
  NS_METHOD SetFolderType(const nsAString & folderType); \
  NS_METHOD SetFolderTypeDescription(const nsAString & folderTypeDescription); \
  NS_METHOD SetFolderPermissions(const nsAString & permissions); \
  NS_METHOD ServerDoesntSupportACL(void); \
  NS_METHOD ShowQuotaData(bool showData); \
  NS_METHOD SetQuotaStatus(const nsAString & folderQuotaStatus); \
  NS_METHOD 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); } 

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

/* Header file */
class nsMsgImapFolderProps : public nsIMsgImapFolderProps
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGIMAPFOLDERPROPS

  nsMsgImapFolderProps();

private:
  ~nsMsgImapFolderProps();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgImapFolderProps, nsIMsgImapFolderProps)

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

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

/* void setFolderType (in AString folderType); */
NS_IMETHODIMP nsMsgImapFolderProps::SetFolderType(const nsAString & folderType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFolderTypeDescription (in AString folderTypeDescription); */
NS_IMETHODIMP nsMsgImapFolderProps::SetFolderTypeDescription(const nsAString & folderTypeDescription)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setFolderPermissions (in AString permissions); */
NS_IMETHODIMP nsMsgImapFolderProps::SetFolderPermissions(const nsAString & permissions)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void serverDoesntSupportACL (); */
NS_IMETHODIMP nsMsgImapFolderProps::ServerDoesntSupportACL()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void showQuotaData (in boolean showData); */
NS_IMETHODIMP nsMsgImapFolderProps::ShowQuotaData(bool showData)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setQuotaStatus (in AString folderQuotaStatus); */
NS_IMETHODIMP nsMsgImapFolderProps::SetQuotaStatus(const nsAString & folderQuotaStatus)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setQuotaData (in ACString quotaroot, in unsigned long usedKB, in unsigned long maxKB); */
NS_IMETHODIMP nsMsgImapFolderProps::SetQuotaData(const nsACString & quotaroot, uint32_t usedKB, uint32_t maxKB)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* 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); */
  NS_IMETHOD RemoveSubFolder(nsIMsgFolder *folder) = 0;

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

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

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

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

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

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

  /* void renameClient (in nsIMsgWindow msgWindow, in nsIMsgFolder msgFolder, in ACString oldName, in ACString newName); */
  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); */
  NS_IMETHOD StoreImapFlags(int32_t aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, uint32_t aNumKeys, nsIUrlListener *aUrlListener) = 0;

  /* nsIURI setImapFlags (in string uids, in long flags); */
  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); */
  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); */
  NS_IMETHOD PlaybackOfflineFolderCreate(const nsAString & folderName, nsIMsgWindow *aWindow, nsIURI * *_retval) = 0;

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

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

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

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

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

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

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

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

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

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

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

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

  /* nsIURI issueCommandOnMsgs (in ACString command, in string uids, in nsIMsgWindow aWindow); */
  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); */
  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); */
  NS_IMETHOD StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString & aFlagsToAdd, const nsACString & aFlagsToSubtract, nsMsgKey *aKeysToStore, uint32_t aNumKeys, nsIURI * *_retval) = 0;

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

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

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

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

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

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

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

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

  /* readonly attribute boolean canOpenFolder; */
  NS_IMETHOD GetCanOpenFolder(bool *aCanOpenFolder) = 0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Header file */
class nsMsgImapMailFolder : public nsIMsgImapMailFolder
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGIMAPMAILFOLDER

  nsMsgImapMailFolder();

private:
  ~nsMsgImapMailFolder();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgImapMailFolder, nsIMsgImapMailFolder)

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

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

/* void removeSubFolder (in nsIMsgFolder folder); */
NS_IMETHODIMP nsMsgImapMailFolder::RemoveSubFolder(nsIMsgFolder *folder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void createClientSubfolderInfo (in ACString folderName, in char hierarchyDelimiter, in long flags, in boolean suppressNotification); */
NS_IMETHODIMP nsMsgImapMailFolder::CreateClientSubfolderInfo(const nsACString & folderName, char hierarchyDelimiter, int32_t flags, bool suppressNotification)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void list (); */
NS_IMETHODIMP nsMsgImapMailFolder::List()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void renameLocal (in ACString newname, in nsIMsgFolder parent); */
NS_IMETHODIMP nsMsgImapMailFolder::RenameLocal(const nsACString & newname, nsIMsgFolder *parent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void prepareToRename (); */
NS_IMETHODIMP nsMsgImapMailFolder::PrepareToRename()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void performExpand (in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::PerformExpand(nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void recursiveCloseActiveConnections (in nsIImapIncomingServer aImapServer); */
NS_IMETHODIMP nsMsgImapMailFolder::RecursiveCloseActiveConnections(nsIImapIncomingServer *aImapServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void renameClient (in nsIMsgWindow msgWindow, in nsIMsgFolder msgFolder, in ACString oldName, in ACString newName); */
NS_IMETHODIMP nsMsgImapMailFolder::RenameClient(nsIMsgWindow *msgWindow, nsIMsgFolder *msgFolder, const nsACString & oldName, const nsACString & newName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void storeImapFlags (in long aFlags, in boolean aAddFlags, [array, size_is (aNumKeys)] in nsMsgKey aKeysToFlag, in unsigned long aNumKeys, in nsIUrlListener aUrlListener); */
NS_IMETHODIMP nsMsgImapMailFolder::StoreImapFlags(int32_t aFlags, bool aAddFlags, nsMsgKey *aKeysToFlag, uint32_t aNumKeys, nsIUrlListener *aUrlListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI setImapFlags (in string uids, in long flags); */
NS_IMETHODIMP nsMsgImapMailFolder::SetImapFlags(const char * uids, int32_t flags, nsIURI * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* 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); */
NS_IMETHODIMP nsMsgImapMailFolder::ReplayOfflineMoveCopy(nsMsgKey *keys, uint32_t numKeys, bool isMove, nsIMsgFolder *aDstFolder, nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI playbackOfflineFolderCreate (in AString folderName, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::PlaybackOfflineFolderCreate(const nsAString & folderName, nsIMsgWindow *aWindow, nsIURI * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addMoveResultPseudoKey (in nsMsgKey aMsgKey); */
NS_IMETHODIMP nsMsgImapMailFolder::AddMoveResultPseudoKey(nsMsgKey aMsgKey)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void liteSelect (in nsIUrlListener aUrlListener, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::LiteSelect(nsIUrlListener *aUrlListener, nsIMsgWindow *aWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void fillInFolderProps (in nsIMsgImapFolderProps aFolderProps); */
NS_IMETHODIMP nsMsgImapMailFolder::FillInFolderProps(nsIMsgImapFolderProps *aFolderProps)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* void folderPrivileges (in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::FolderPrivileges(nsIMsgWindow *aWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIMsgImapMailFolder findOnlineSubFolder (in ACString onlineName); */
NS_IMETHODIMP nsMsgImapMailFolder::FindOnlineSubFolder(const nsACString & onlineName, nsIMsgImapMailFolder * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addFolderRights (in ACString userName, in ACString rights); */
NS_IMETHODIMP nsMsgImapMailFolder::AddFolderRights(const nsACString & userName, const nsACString & rights)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void refreshFolderRights (); */
NS_IMETHODIMP nsMsgImapMailFolder::RefreshFolderRights()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void markPendingRemoval (in nsIMsgDBHdr aHdr, in boolean aMark); */
NS_IMETHODIMP nsMsgImapMailFolder::MarkPendingRemoval(nsIMsgDBHdr *aHdr, bool aMark)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void expunge (in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::Expunge(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void updateStatus (in nsIUrlListener aListener, in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::UpdateStatus(nsIUrlListener *aListener, nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void updateFolderWithListener (in nsIMsgWindow aMsgWindow, in nsIUrlListener aListener); */
NS_IMETHODIMP nsMsgImapMailFolder::UpdateFolderWithListener(nsIMsgWindow *aMsgWindow, nsIUrlListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI issueCommandOnMsgs (in ACString command, in string uids, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::IssueCommandOnMsgs(const nsACString & command, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI fetchCustomMsgAttribute (in ACString msgAttribute, in string uids, in nsIMsgWindow aWindow); */
NS_IMETHODIMP nsMsgImapMailFolder::FetchCustomMsgAttribute(const nsACString & msgAttribute, const char * uids, nsIMsgWindow *aWindow, nsIURI * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIURI storeCustomKeywords (in nsIMsgWindow aMsgWindow, in ACString aFlagsToAdd, in ACString aFlagsToSubtract, [array, size_is (aNumKeys)] in nsMsgKey aKeysToStore, in unsigned long aNumKeys); */
NS_IMETHODIMP nsMsgImapMailFolder::StoreCustomKeywords(nsIMsgWindow *aMsgWindow, const nsACString & aFlagsToAdd, const nsACString & aFlagsToSubtract, nsMsgKey *aKeysToStore, uint32_t aNumKeys, nsIURI * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void notifyIfNewMail (); */
NS_IMETHODIMP nsMsgImapMailFolder::NotifyIfNewMail()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void initiateAutoSync (in nsIUrlListener aUrlListener); */
NS_IMETHODIMP nsMsgImapMailFolder::InitiateAutoSync(nsIUrlListener *aUrlListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean verifiedAsOnlineFolder; */
NS_IMETHODIMP nsMsgImapMailFolder::GetVerifiedAsOnlineFolder(bool *aVerifiedAsOnlineFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetVerifiedAsOnlineFolder(bool aVerifiedAsOnlineFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean explicitlyVerify; */
NS_IMETHODIMP nsMsgImapMailFolder::GetExplicitlyVerify(bool *aExplicitlyVerify)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetExplicitlyVerify(bool aExplicitlyVerify)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute char hierarchyDelimiter; */
NS_IMETHODIMP nsMsgImapMailFolder::GetHierarchyDelimiter(char *aHierarchyDelimiter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetHierarchyDelimiter(char aHierarchyDelimiter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long boxFlags; */
NS_IMETHODIMP nsMsgImapMailFolder::GetBoxFlags(int32_t *aBoxFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetBoxFlags(int32_t aBoxFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString onlineName; */
NS_IMETHODIMP nsMsgImapMailFolder::GetOnlineName(nsACString & aOnlineName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetOnlineName(const nsACString & aOnlineName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isNamespace; */
NS_IMETHODIMP nsMsgImapMailFolder::GetIsNamespace(bool *aIsNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetIsNamespace(bool aIsNamespace)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean canOpenFolder; */
NS_IMETHODIMP nsMsgImapMailFolder::GetCanOpenFolder(bool *aCanOpenFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* readonly attribute boolean hasAdminUrl; */
NS_IMETHODIMP nsMsgImapMailFolder::GetHasAdminUrl(bool *aHasAdminUrl)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean performingBiff; */
NS_IMETHODIMP nsMsgImapMailFolder::GetPerformingBiff(bool *aPerformingBiff)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgImapMailFolder::SetPerformingBiff(bool aPerformingBiff)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIMsgParseMailMsgState hdrParser; */
NS_IMETHODIMP nsMsgImapMailFolder::GetHdrParser(nsIMsgParseMailMsgState * *aHdrParser)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIImapIncomingServer imapIncomingServer; */
NS_IMETHODIMP nsMsgImapMailFolder::GetImapIncomingServer(nsIImapIncomingServer * *aImapIncomingServer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIAutoSyncState autoSyncStateObj; */
NS_IMETHODIMP nsMsgImapMailFolder::GetAutoSyncStateObj(nsIAutoSyncState * *aAutoSyncStateObj)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long serverTotal; */
NS_IMETHODIMP nsMsgImapMailFolder::GetServerTotal(int32_t *aServerTotal)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long serverUnseen; */
NS_IMETHODIMP nsMsgImapMailFolder::GetServerUnseen(int32_t *aServerUnseen)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long serverRecent; */
NS_IMETHODIMP nsMsgImapMailFolder::GetServerRecent(int32_t *aServerRecent)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long serverNextUID; */
NS_IMETHODIMP nsMsgImapMailFolder::GetServerNextUID(int32_t *aServerNextUID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getQuota (out boolean valid, out unsigned long usedKB, out unsigned long maxKB); */
NS_IMETHODIMP nsMsgImapMailFolder::GetQuota(bool *valid, uint32_t *usedKB, uint32_t *maxKB)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIUTF8StringEnumerator getOtherUsersWithAccess (); */
NS_IMETHODIMP nsMsgImapMailFolder::GetOtherUsersWithAccess(nsIUTF8StringEnumerator * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* ACString getPermissionsForUser (in ACString username); */
NS_IMETHODIMP nsMsgImapMailFolder::GetPermissionsForUser(const nsACString & username, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void changePendingTotal (in long aDelta); */
NS_IMETHODIMP nsMsgImapMailFolder::ChangePendingTotal(int32_t aDelta)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void changePendingUnread (in long aDelta); */
NS_IMETHODIMP nsMsgImapMailFolder::ChangePendingUnread(int32_t aDelta)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgImapMailFolder_h__ */